/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #072C2C;
    --primary-2: #0D3B3B;
    --primary-soft: #DDE7E3;
    --secondary: #FF5F03;
    --secondary-dark: #D94F00;
    --success: #16A34A;
    --surface: #F4F2E8;
    --surface-2: #EDEADE;
    --surface-card: rgba(255, 255, 255, 0.82);
    --white: #FFFFFF;
    --text: #111827;
    --text-muted: #4B5563;
    --text-soft: #6B7280;
    --border: rgba(7, 44, 44, 0.12);
    --border-strong: rgba(7, 44, 44, 0.22);
    --focus: #FF5F03;
    --shadow: 0 16px 45px rgba(7, 44, 44, 0.10);
    --shadow-lg: 0 28px 80px rgba(7, 44, 44, 0.16);
    --radius: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --font-primary: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.65;
    background:
        radial-gradient(circle at top left, rgba(255,95,3,0.10), transparent 30vw),
        linear-gradient(180deg, #fbfaf5 0%, #ffffff 42%, #f7f6ef 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(7,44,44,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7,44,44,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 72%);
    z-index: -1;
}

.container {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inline-icon {
    width: 18px;
    height: 18px;
}

a, button { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 0;
    transition: transform .25s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 18px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(7,44,44,0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header.scrolled .header-inner {
    background: rgba(255,255,255,0.94);
    box-shadow: 0 18px 60px rgba(7,44,44,0.14);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0f5656);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 12px 24px rgba(7,44,44,.22);
}

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

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 13px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(7,44,44,0.07);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    margin-left: 8px;
    box-shadow: 0 12px 26px rgba(7,44,44,.18);
}

.nav-cta:hover {
    background: var(--secondary) !important;
    transform: translateY(-1px);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 11px;
    background: var(--primary);
    border: 0;
    border-radius: 50%;
    padding-top: 13px;
    padding-left: 12px;
    min-width: 44px;
    min-height: 44px;
}

.burger span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .25s ease;
}

/* ===== HERO ===== */
.hero {
    padding: 166px 0 96px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 110px 24px 36px;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(7,44,44,.94), rgba(10,72,72,.90)),
        radial-gradient(circle at 80% 10%, rgba(255,95,3,.32), transparent 42%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    right: 7%;
    top: 150px;
    width: 360px;
    height: 360px;
    border-radius: 48px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
    transform: rotate(10deg);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-badge,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 999px;
}

.hero-badge {
    padding: 9px 18px;
    margin-bottom: 28px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -0.06em;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #FFE5D4;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    font-size: clamp(17px, 2vw, 21px);
    color: rgba(255,255,255,.82);
    max-width: 720px;
    margin: 0 auto 38px;
}

.hero-actions,
.hero-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions { gap: 14px; }
.hero-platforms { gap: 14px; margin-top: 34px; }

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
    font-weight: 700;
}

/* ===== COMMON ===== */
section { padding: 94px 0; }

.section-label {
    color: var(--secondary);
    margin-bottom: 18px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 999px;
}

.section-title {
    max-width: 760px;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--primary);
    margin-bottom: 18px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.75;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 15px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 16px 34px rgba(255,95,3,.26);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    box-shadow: 0 20px 42px rgba(255,95,3,.32);
}

.btn-outline {
    background: rgba(255,255,255,.9);
    color: var(--primary);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 32px rgba(7,44,44,.12);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
}

.btn-white:hover {
    background: #FFF3EC;
    color: var(--secondary-dark);
}

/* ===== ABOUT ===== */
.about { background: transparent; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 42px;
    align-items: stretch;
    margin-top: 46px;
}

.about-text {
    padding: 34px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.about-text p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.about-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border-left: 0;
    padding: 24px 26px;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 46px rgba(7,44,44,.18);
}

.about-highlight p {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.stat-card,
.feature-card,
.pricing-card,
.processing-visual,
.faq-item {
    background: var(--surface-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.stat-card {
    padding: 26px;
    border-radius: var(--radius-md);
    text-align: left;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.stat-card:hover,
.feature-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.stat-icon,
.feature-icon,
.modal-icon {
    color: var(--primary);
}

.stat-icon {
    font-size: 35px;
    margin-bottom: 18px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 31px;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.04em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 700;
    line-height: 1.45;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 46px;
}

.feature-card {
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;

    transition:
        transform .45s cubic-bezier(.22, 1, .36, 1),
        box-shadow .45s cubic-bezier(.22, 1, .36, 1),
        border-color .45s cubic-bezier(.22, 1, .36, 1),
        background .45s cubic-bezier(.22, 1, .36, 1);

    will-change: transform;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--secondary);

    opacity: 0;
    transform: scaleX(.7);
    transform-origin: left;

    transition:
        opacity .45s ease,
        transform .45s cubic-bezier(.22, 1, .36, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow:
        0 18px 40px rgba(7,44,44,.10),
        0 30px 80px rgba(7,44,44,.12);
}

.feature-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--primary-soft);
    font-size: 27px;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ===== PROCESSING ===== */
.processing,
.calculation { background: rgba(237,234,222,.45); }

.processing-content {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
}

.processing-text p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.65);
}

.step-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.step-content h4 {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 3px;
    letter-spacing: -0.02em;
}

.step-content p {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
}

.processing-visual {
    border-radius: var(--radius);
    padding: 22px;
}

.mock-interface {
    background: #F8FAF7;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.mock-topbar {
    background: var(--primary);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
}

.mock-dot:nth-child(1) { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #28ca42; }

.mock-body { padding: 22px; }

.mock-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.mock-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.mock-lines { flex: 1; }

.mock-line {
    height: 9px;
    background: #DDE5DF;
    border-radius: 999px;
    margin-bottom: 7px;
}

.mock-line:last-child {
    width: 60%;
    margin-bottom: 0;
}

.mock-line.short { width: 42%; }

.mock-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.mock-photo {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #EEF2EA, #DDE7E3);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 46px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;

    align-items: stretch;
}

.pricing-card {
    border-radius: var(--radius);
    padding: 34px;
    position: relative;

    display: flex;
    flex-direction: column;

    transition:
        transform .35s cubic-bezier(.22,1,.36,1),
        box-shadow .35s cubic-bezier(.22,1,.36,1),
        border-color .35s cubic-bezier(.22,1,.36,1);
}

.pricing-card.featured { border-color: rgba(255,95,3,.38); }

.pricing-card.featured::before {
    content: 'Популярный';
    position: absolute;
    top: 18px;
    right: 18px;
    background: #FFF0E7;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 900;
    padding: 7px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -0.05em;
}

.pricing-price span {
    font-size: 16px;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-soft);
}

.pricing-period {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 26px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;

    flex: 1;
}



.pricing-features li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: 0; }

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 900;
    min-width: 18px;
}

.pricing-btn {
    width: 100%;
    margin-top: auto;
}

/* ===== CALCULATION ===== */
.calc-card {
    margin-top: 46px;
    background:
        radial-gradient(circle at 80% 0%, rgba(255,95,3,.24), transparent 35%),
        linear-gradient(135deg, var(--primary), #0E4646);
    border-radius: 34px;
    padding: 48px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.calc-card::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 26px;
    pointer-events: none;
}

.calc-content,
.calc-features {
    position: relative;
    z-index: 1;
}

.calc-content h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
}

.calc-content p {
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 26px;
}

.calc-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    padding: 15px 17px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.calc-feature-icon {
    display: flex;
    color: #fff;
    font-size: 23px;
}

.calc-feature span {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.86);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 860px;
    margin: 46px auto 0;
}

.faq-item {
    border-radius: 20px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease;
}

.faq-item:hover,
.faq-item.active { border-color: var(--border-strong); }

.faq-item.active { box-shadow: var(--shadow-lg); }

.faq-question {
    width: 100%;
    min-height: 64px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.35;
}

.faq-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    font-size: 20px;
    color: var(--primary);
}

.faq-item.active .faq-toggle {
    background: var(--secondary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer-inner {
    padding: 0 22px 22px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

.faq-item.active .faq-answer { max-height: 420px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 54px 0 34px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
}

.footer-logo .logo-icon {
    background: rgba(255,255,255,.13);
    box-shadow: none;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,.68);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.52);
}

/* ===== CONTACT MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.open { display: flex; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 20, 20, .68);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    width: min(100%, 520px);
    background: #fff;
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 34px 110px rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.5);
    transform: translateY(12px) scale(.98);
    animation: modalIn .22s ease forwards;
}

@keyframes modalIn {
    to { transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF0E7;
    color: var(--secondary);
    font-size: 29px;
    margin-bottom: 22px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-text {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.modal-email {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .01em;
    box-shadow: 0 18px 42px rgba(7,44,44,.20);
    transition: background .2s ease, transform .2s ease;
}

.modal-email:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.modal-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-soft);
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .header { top: 10px; }
    .header-inner { border-radius: 28px; }

    .nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 24px;
        right: 24px;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: rgba(255,255,255,.96);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--shadow-lg);
    }

    .nav.open { display: flex; }

    .nav a {
        width: 100%;
        padding: 13px 16px;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
    }

    .burger { display: flex; }

    .burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .about-grid,
    .processing-content,
    .calc-card { grid-template-columns: 1fr; }

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

@media (max-width: 680px) {
    .container { width: min(100% - 32px, 1180px); }

    section { padding: 72px 0; }

    .hero { padding: 136px 0 68px; }

    .hero::before {
        inset: 92px 12px 24px;
        border-radius: 30px;
    }

    .hero::after { display: none; }

    .hero h1 { font-size: clamp(36px, 12vw, 50px); }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { width: 100%; }

    .about-stats,
    .features-grid,
    .pricing-grid { grid-template-columns: 1fr; }

    .about-text,
    .pricing-card,
    .calc-card,
    .modal-card { padding: 26px; }

    .footer-top { align-items: flex-start; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== EXTRA MOBILE ADAPTIVE TUNING ===== */
@media (max-width: 680px) {
    html {
        scroll-padding-top: 82px;
    }

    body {
        line-height: 1.55;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .header {
        top: 8px;
    }

    .header-inner {
        height: 60px;
        padding: 0 12px;
        border-radius: 22px;
    }

    .logo {
        gap: 9px;
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .burger {
        min-width: 40px;
        min-height: 40px;
        padding: 11px 10px 9px;
    }

    .burger span {
        width: 18px;
    }

    .nav {
        top: 70px;
        left: 12px;
        right: 12px;
        padding: 10px;
        border-radius: 20px;
    }

    .nav a {
        padding: 11px 14px;
        font-size: 14px;
    }

    section {
        padding: 24px 0;
    }

    .hero {
        padding: 112px 0 52px;
    }
 .hero-actions {
        align-items: center;
    } .hero-actions .btn {
        width: auto;
        min-width: 260px;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
    .hero::before {
        inset: 78px 8px 18px;
        border-radius: 24px;
    }

    .hero-badge,
    .section-label {
        font-size: 11px;
        letter-spacing: .055em;
    }

     .hero-badge {
        padding: 10px 14px;
        font-size: 11px;
        gap: 0px;
        line-height: 1.3;
        max-width: 260px;
    }
  .hero-badge .inline-icon {
        width: 30px;
        height: 30px;
        min-width: 18px;
        min-height: 18px;
        flex-shrink: 0;
    }
  .hero h1 {
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.02;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 26px;
    }

    .hero-platforms {
        gap: 8px;
        margin-top: 22px;
    }

    .platform-badge {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .section-title {
        font-size: clamp(25px, 7vw, 34px);
        line-height: 1.12;
        letter-spacing: -0.04em;
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .btn {
        min-height: 46px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .about-grid,
    .features-grid,
    .processing-content,
    .pricing-grid,
    .calc-card,
    .faq-list {
        margin-top: 30px;
    }

    .about-text,
    .feature-card,
    .pricing-card,
    .processing-visual,
    .calc-card,
    .modal-card {
        padding: 20px;
        border-radius: 20px;
    }

    .about-text p,
    .processing-text p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .about-highlight {
        padding: 18px;
        border-radius: 16px;
    }

    .about-stats,
    .features-grid,
    .pricing-grid {
        gap: 12px;
    }

    .stat-card {
        padding: 20px;
        border-radius: 18px;
    }

    .stat-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .stat-number {
        font-size: 25px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
        border-radius: 15px;
        font-size: 23px;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .step {
        gap: 11px;
        padding: 13px;
        border-radius: 16px;
    }

    .step-number {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 11px;
        font-size: 14px;
    }

    .step-content h4 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 13px;
        line-height: 1.55;
    }

    .mock-body {
        padding: 16px;
    }

    .pricing-name {
        font-size: 21px;
    }

    .pricing-price {
        font-size: 32px;
    }

    .pricing-card.featured::before {
        position: static;
        display: inline-flex;
        align-self: flex-start;
        margin-bottom: 14px;
        font-size: 10px;
    }

    .pricing-features li {
        padding: 10px 0;
        font-size: 14px;
        line-height: 1.55;
    }

    .calc-card {
        gap: 22px;
        border-radius: 24px;
    }

    .calc-card::before {
        inset: 10px;
        border-radius: 18px;
    }

    .calc-content h3 {
        font-size: clamp(24px, 7vw, 31px);
        line-height: 1.12;
    }

    .calc-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .calc-feature {
        padding: 13px;
        border-radius: 15px;
    }

    .faq-question {
        min-height: 56px;
        padding: 15px 16px;
        font-size: 16px;
        line-height: 1.3;
    }

    .faq-toggle {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 18px;
    }

    .faq-answer-inner {
        padding: 0 16px 16px;
        font-size: 14px;
        line-height: 1.6;
    }

    .modal-title {
        font-size: 25px;
        line-height: 1.12;
    }

    .modal-text {
        font-size: 15px;
    }

    .footer {
        padding: 42px 0 28px;
    }

    .footer-logo {
        font-size: 16px;
    }
}

@media (max-width: 390px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .logo span:last-child {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero h1 {
        font-size: clamp(26px, 9vw, 34px);
    }

    .section-title {
        font-size: clamp(23px, 7vw, 30px);
    }

    .hero-subtitle,
    .section-desc,
    .about-text p,
    .processing-text p,
    .calc-content p {
        font-size: 14px;
    }

    .pricing-price {
        font-size: 29px;
    }
}
