:root {
    /* Brand Palette - VIBRANT UPDATE */
    --primary-green: #28a745;
    --online-green: #4CD964;
    --primary-action: #4CD964;
    --dark-bg: #0E1114;
    --text-primary: #3f3f42;
    --bg-white: #FFFFFF;
    --bg-secondary: #F5F7A6;
    --color-error: #E44545;
    --color-info: #3B82F6;

    --text-muted: #6b7280;

    /* Spacing & Layout */
    --nav-height: 64px;
    --section-padding: 64px;
    --container-width: 1100px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.5;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.logo-text {
    font-weight: 800;
    font-size: 30px; /* FIXED: Larger */
    letter-spacing: -1.2px;
    color: var(--text-primary);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.btn-nav-trial {
    background: var(--primary-green);
    color: white !important;
    padding: 8px 16px;
    border-radius: 980px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
    z-index: 10000;
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* Sections */
section {
    padding: var(--section-padding) 0;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: 80px;
    text-align: center;
}

.badge {
    color: #9ca3af;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 60px;
    margin-bottom: 0px;
    /* Убрали отступ снизу, чтобы притянуть заголовок */
    display: inline-block;
}

.hero-headline-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 380px;
    /* Уменьшили высоту, чтобы поднять заголовок и лого выше */
}

.hero-logo {
    position: absolute;
    height: 680px;
    width: auto;
    left: 49%;
    top: 50%;
    transform: translate(-92%, -48%);
    z-index: -1;
    filter: drop-shadow(0 40px 100px rgba(0, 0, 0, 0.1));
    opacity: 0.88;
}

.headline {
    font-size: 82px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: left;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    margin-left: 150px;
}

.line-1 {
    margin-left: 20px;
    /* Сдвигаем вторую строку правее */
}

.line-2 {
    display: inline-block;
    opacity: 0;
}

.line-2 {
    margin-left: 40px;
    /* Сдвигаем вторую строку правее */
}

.line-1 {
    animation: slideInRight 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line-2 {
    animation: slideInRight 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.26s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.subhead {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 24px;
    /* Уменьшили отступ снизу до кнопок */
}

.btn-subtext {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    display: block;
}

/* Social Proof */
.social-proof {
    padding: 24px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.proof-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    opacity: 0.5;
    filter: grayscale(1);
    flex-wrap: wrap;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-action);
    color: var(--dark-bg);
    /* Darker text for high-contrast on bright green */
    padding: 16px 36px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
    box-shadow: 0 8px 20px rgba(76, 217, 100, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(76, 217, 100, 0.4);
    filter: brightness(1.05);
    /* Glow effect */
}

.btn-secondary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 14px 34px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(34, 167, 69, 0.05);
    transform: translateY(-1px);
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.feature-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.2s ease;
    height: 100%;
}

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

.feature-icon-box {
    width: 64px;
    height: 64px;
    background: #f0fdf4;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.feature-icon-box svg {
    width: 32px;
    height: 32px;
    stroke: #227D44;
}

.icon-dot {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 10px;
    height: 10px;
    background: #4CD964;
    border-radius: 50%;
    border: 2px solid #f0fdf4;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 32px;
    flex-grow: 1;
}

.feature-badge-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 10px 16px;
    border-radius: 12px;
    width: 100%;
}



.feature-badge-wrap svg {
    width: 18px;
    height: 18px;
    fill: #227D44;
}

.feature-badge-wrap span {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}



/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.step {
    text-align: left;
}

.step-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 12px;
    background: rgba(34, 125, 68, 0.1);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
}

/* Pricing Card */
.pricing-wrap {
    display: flex;
    justify-content: center;
    gap: 32px;
    /* Расстояние между карточками */
    margin-top: 40px;
}

.price-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 32px;
    padding: 56px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.price-card .price {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.price-card .period {
    color: var(--text-muted);
    font-size: 20px;
    margin-bottom: 32px;
}

.price-features {
    text-align: left;
    margin: 32px 0;
    list-style: none;
}

.price-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.price-features li::before {
    content: '✓';
    color: var(--online-green);
    font-weight: 900;
}

/* Gallery Stack (Subtle adjustment) */
.gallery-stack {
    position: relative;
    max-width: 1100px;
    width: 100%;
    height: 520px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-img {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    padding: 48px 0;
    border-top: 1px solid #f0f0f0;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.copy {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}



/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Image reveal animation */
.reveal-img {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Contact Form */
.contact-section {
    background-color: #ffffff;
    padding: 100px 0;
}

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

.contact-info h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form {
    background: #fafafa;
    padding: 48px;
    border-radius: 32px;
    border: 1px solid #f0f0f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 16px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(76, 217, 100, 0.1);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-green);
    color: white;
    padding: 16px;
    border-radius: 980px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    :root {
        --section-padding: 40px;
    }

    .container {
        padding: 0 20px;
    }

    /* Nav Mobile */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        height: calc(100vh - var(--nav-height));
        padding: 24px;
    }

    .nav-links a {
        width: 100%;
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }

    .btn-nav-trial {
        margin-top: 24px;
        text-align: center;
        border-radius: 12px;
    }

    /* Hero Mobile */
    .hero {
        padding-top: calc(var(--nav-height) + 10px);
        padding-bottom: 40px;
    }

    .badge {
        margin-top: 10px;
        margin-bottom: 90px;
    }

    .hero-headline-wrap {
        min-height: auto;
        margin-bottom: 32px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        text-align: left;
        transform: translateX(-10%);
    }

    .hero-logo {
        height: 120px;
        width: auto;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0;
        opacity: 1;
        flex-shrink: 0;
    }

    .headline {
        font-size: 32px;
        text-align: left;
        margin-left: -40px;
        width: auto;
        line-height: 1.2;
    }

    .line-1,
    .line-2 {
        margin-left: 0;
        display: inline;
    }

    .subhead {
        font-size: 18px;
        padding: 0 10px;
        text-align: center;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    /* Pricing Card */
    .pricing-wrap {
        flex-direction: column-reverse;
        align-items: center;
    }

    .price-card {
        padding: 32px 24px;
        max-width: 100%;
    }

    .price-card .price {
        font-size: 56px;
    }

    /* Gallery - Scrollable on mobile */
    .gallery-stack {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
        overflow-x: auto;
        gap: 16px;
        padding: 20px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        height: auto;
        margin-top: 24px;
    }

    .stack-img {
        position: relative;
        width: 85vw !important;
        flex-shrink: 0;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-bottom: 0;
        scroll-snap-align: center;
        object-fit: contain;
    }

    .gallery-section-title {
        font-size: 36px !important;
    }

    /* Contact Section */
    .contact-section {
        padding: 64px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .contact-form {
        padding: 32px 20px;
    }

    /* General Typography Fixes */
    .section-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    #pricing {
        margin: 0 !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .logo-grid {
        gap: 20px;
    }

    .logo-grid span {
        font-size: 12px;
    }
}