/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary: #1e2a5a;
    --primary-dark: #151e42;
    --primary-light: #eceef5;
    --accent: #f0467e;
    --accent-light: #fde8ef;
    --dark: #1e2a5a;
    --dark-soft: #283468;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.95);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}


.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 8px;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav__link--cta {
    background: var(--primary);
    color: white !important;
    font-weight: 600;
}

.nav__link--cta:hover {
    background: var(--primary-dark) !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--gray-300);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero__subtitle strong {
    color: var(--dark);
    font-weight: 600;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
}

.hero__trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.hero__trust-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Hero visual - photo */
.hero__visual {
    display: flex;
    justify-content: center;
}

.hero__photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero__photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.hero__photo-badge {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 10px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--accent-light);
    animation: badgeFloat 3s ease-in-out infinite;
}

.hero__photo-badge--top {
    top: 10%;
    left: -15%;
    animation-delay: 0s;
}

.hero__photo-badge--bottom {
    bottom: 15%;
    right: -12%;
    animation-delay: 1.5s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

.hero__photo-badge-number {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__photo-badge-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Logo image */
.logo__img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.logo__img--small {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card.visible:hover {
    transform: translateY(-4px);
}

.service-card--featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 40%);
}

.service-card__badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card__list {
    list-style: none;
}

.service-card__list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============================================
   WHY SECTION
   ============================================ */
.why {
    padding: 100px 0;
    background: var(--gray-50);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.why__card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why__card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why__card.visible:hover {
    transform: translateY(-4px);
}

.why__card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
}

.why__card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.why__card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   METHOD SECTION
   ============================================ */
.method {
    padding: 100px 0;
}

.method__timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.method__timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.method__step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.method__step.visible {
    opacity: 1;
    transform: translateX(0);
}

.method__step:last-child {
    margin-bottom: 0;
}

.method__step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.method__step-content {
    padding-top: 12px;
}

.method__step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.method__step-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   PROOF / TESTIMONIALS
   ============================================ */
.proof {
    padding: 100px 0;
    background: var(--gray-50);
}

.proof__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.proof__card-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.proof__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.proof__card.visible {
    opacity: 1;
    transform: translateY(0);
}

.proof__card:hover {
    box-shadow: var(--shadow-lg);
}

.proof__card-quote {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.proof__card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proof__card-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.proof__card-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.proof__card-role {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 100px 0;
}

.faq__list {
    max-width: 750px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--gray-100);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq__item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq__question {
    padding: 24px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq__question h3 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__question:hover {
    color: var(--primary);
}

.faq__answer {
    padding: 0 0 24px;
}

.faq__answer p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 100px 0;
    background: var(--dark);
}

.cta__inner {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta__desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta .btn--primary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.cta .btn--primary:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
}

.cta .btn--outline {
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.cta .btn--outline:hover {
    border-color: white;
}

.cta__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--gray-100);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__tagline {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--gray-500);
    transition: var(--transition);
    font-weight: 500;
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--gray-500);
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.service-card,
.why__card,
.proof__card {
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.method__step {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }
.service-card:nth-child(6) { transition-delay: 0.5s; }

.why__card:nth-child(2) { transition-delay: 0.1s; }
.why__card:nth-child(3) { transition-delay: 0.2s; }
.why__card:nth-child(4) { transition-delay: 0.3s; }

.method__step:nth-child(2) { transition-delay: 0.15s; }
.method__step:nth-child(3) { transition-delay: 0.3s; }
.method__step:nth-child(4) { transition-delay: 0.45s; }
.method__step:nth-child(5) { transition-delay: 0.6s; }

.proof__card:nth-child(2) { transition-delay: 0.1s; }
.proof__card:nth-child(3) { transition-delay: 0.2s; }
.proof__card:nth-child(4) { transition-delay: 0.3s; }
.proof__card:nth-child(5) { transition-delay: 0.4s; }
.proof__card:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero__cta-group {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__photo-wrapper {
        max-width: 340px;
        margin: 0 auto;
    }

    .hero__photo-badge--top {
        left: -5%;
    }

    .hero__photo-badge--bottom {
        right: -5%;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav__link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .burger {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__photo-wrapper {
        max-width: 280px;
    }

    .hero__photo-badge {
        padding: 8px 12px;
        border-radius: 10px;
    }

    .hero__photo-badge-number {
        font-size: 1rem;
    }

    .hero__photo-badge-label {
        font-size: 0.6rem;
    }

    .hero__photo-badge--top {
        left: 0;
    }

    .hero__photo-badge--bottom {
        right: 0;
    }

    .hero__trust {
        flex-direction: column;
        gap: 16px;
    }

    .hero__trust-divider {
        width: 40px;
        height: 1px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .why__grid {
        grid-template-columns: 1fr;
    }

    .proof__grid {
        grid-template-columns: 1fr;
    }

    .method__timeline::before {
        left: 24px;
    }

    .method__step-number {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__left {
        flex-direction: column;
    }

    .footer__copy {
        margin-top: 0;
    }

    .btn--large {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .services,
    .why,
    .method,
    .proof,
    .faq,
    .cta {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .hero__cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero__card {
        max-width: 100%;
    }

    .hero__code {
        font-size: 0.8rem;
    }
}
