:root {
    --bg: #edf3ff;
    --bg-soft: #f7faff;
    --text: #ffffff;
    --text-dark: #111827;
    --text-muted: #667085;
    --line: rgba(255,255,255,0.22);
    --line-dark: rgba(15, 23, 42, 0.08);
    --primary: #3b82f6;
    --primary-2: #2563eb;
    --primary-3: #60a5fa;
    --card-bg: rgba(255,255,255,0.10);
    --shadow-xl: 0 30px 80px rgba(37, 99, 235, 0.22);
    --shadow-md: 0 20px 45px rgba(15, 23, 42, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Jua', sans-serif;
    background:
            radial-gradient(circle at 15% 20%, rgba(59,130,246,0.20), transparent 22%),
            radial-gradient(circle at 85% 10%, rgba(96,165,250,0.24), transparent 20%),
            linear-gradient(180deg, #edf3ff 0%, #f8fbff 45%, #ffffff 100%);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

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

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

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.float-shape {
    position: absolute;
    border-radius: 34px;
    background: linear-gradient(145deg, #5cbcff, #2463ff);
    box-shadow:
            inset 0 2px 10px rgba(255,255,255,0.3),
            0 30px 60px rgba(37,99,235,0.20);
    opacity: 0.95;
    filter: saturate(1.08);
}

.shape-1 {
    width: 420px;
    height: 420px;
    top: 110px;
    left: -120px;
    transform: rotate(-24deg);
}

.shape-2 {
    width: 600px;
    height: 300px;
    top: -40px;
    right: -80px;
    transform: rotate(-16deg);
}

.shape-3 {
    width: 520px;
    height: 320px;
    top: 180px;
    right: 260px;
    transform: rotate(-22deg);
}

.shape-4 {
    width: 260px;
    height: 260px;
    bottom: 100px;
    right: -50px;
    transform: rotate(-28deg);
}

.shape-shadow {
    position: absolute;
    border-radius: 40px;
    background: rgba(37,99,235,0.08);
    filter: blur(30px);
}

.shadow-1 {
    width: 360px;
    height: 180px;
    left: 10px;
    top: 350px;
}

.shadow-2 {
    width: 440px;
    height: 180px;
    right: 180px;
    top: 410px;
}

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.25s ease;
}

.landing-nav.scrolled {
    background: rgba(11, 18, 32, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nav-inner {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.70));
    color: var(--primary-2);
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(255,255,255,0.18);
}

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

.nav-menu a {
    color: rgba(255,255,255,0.90);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
}

.nav-menu a:hover {
    opacity: 0.7;
}

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

.btn {
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.btn-outline-light {
    min-width: 126px;
    height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}

.btn-primary-light {
    min-width: 138px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(96,165,250,0.95), rgba(37,99,235,0.96));
    box-shadow: 0 14px 30px rgba(37,99,235,0.24);
}

.btn-primary-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37,99,235,0.30);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(13, 20, 36, 0.30) 0%,
            rgba(13, 20, 36, 0.18) 40%,
            rgba(255,255,255,0.00) 100%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 86px);
    line-height: 1.15;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.hero-desc {
    margin: 28px auto 0;
    max-width: 760px;
    color: rgba(255,255,255,0.85);
    font-size: clamp(17px, 2.1vw, 22px);
    line-height: 1.8;
    letter-spacing: -0.03em;
    font-weight: 500;
}

.hero-cta-group {
    margin-top: 42px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-main-btn {
    min-width: 220px;
    height: 64px;
    padding: 0 30px;
    border-radius: 20px;
    color: #fff;
    font-size: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(37,99,235,0.18);
}

.hero-main-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.14);
}

.hero-sub-btn {
    min-width: 180px;
    height: 64px;
    padding: 0 26px;
    border-radius: 20px;
    color: #fff;
    font-size: 19px;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    box-shadow: 0 18px 35px rgba(37,99,235,0.28);
}

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

.scroll-cue {
    margin-top: 48px;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section {
    position: relative;
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 14px;
    color: #2563eb;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.24;
    letter-spacing: -0.045em;
    color: #0f172a;
    font-weight: 900;
}

.section-desc {
    margin: 18px auto 0;
    max-width: 760px;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: -0.02em;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.glass-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.72));
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: var(--shadow-md);
    padding: 42px;
}

.glass-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96,165,250,0.16), transparent 45%);
    pointer-events: none;
}

.intro-copy h3 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.28;
    letter-spacing: -0.05em;
    color: #0f172a;
}

.intro-copy p {
    margin: 0 0 16px;
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.9;
}

.intro-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.mini-point {
    border-radius: 18px;
    background: rgba(255,255,255,0.70);
    border: 1px solid rgba(15,23,42,0.06);
    padding: 18px;
}

.mini-point strong {
    display: block;
    font-size: 16px;
    color: #111827;
    margin-bottom: 8px;
}

.mini-point span {
    font-size: 14px;
    line-height: 1.7;
    color: #667085;
}

.intro-visual {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mock-stack {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.mock-card {
    position: absolute;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
    border: 1px solid rgba(255,255,255,0.70);
    box-shadow: 0 24px 60px rgba(37,99,235,0.12);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.mock-card.large {
    width: 82%;
    height: 78%;
    top: 8%;
    left: 9%;
    padding: 24px;
}

.mock-card.small {
    width: 48%;
    height: 34%;
    right: -2%;
    bottom: 6%;
    padding: 20px;
}

.mock-topbar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
}

.mock-hero-box {
    height: 180px;
    border-radius: 24px;
    background: linear-gradient(135deg, #dbeafe, #60a5fa 45%, #2563eb);
    margin-bottom: 18px;
    box-shadow: inset 0 1px 18px rgba(255,255,255,0.30);
}

.mock-lines {
    display: grid;
    gap: 10px;
}

.mock-line {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe, #e2e8f0);
}

.mock-line.w-90 { width: 90%; }
.mock-line.w-70 { width: 70%; }
.mock-line.w-55 { width: 55%; }
.mock-line.w-100 { width: 100%; }

.mock-letter-preview {
    margin-top: 18px;
    background: linear-gradient(135deg, #FFF8F0, #F5E6D3);
    border-radius: 12px;
    padding: 16px 18px;
    border-left: 3px solid #D4956A;
}

.mock-letter-tag {
    font-size: 11px;
    color: #9d8f82;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.mock-letter-line {
    height: 7px;
    background: rgba(180,140,100,0.22);
    border-radius: 4px;
    margin-bottom: 7px;
}

.mock-letter-line.w-90 { width: 90%; }
.mock-letter-line.w-75 { width: 75%; }
.mock-letter-line.w-85 { width: 85%; }
.mock-letter-line.w-60 { width: 60%; }

.mock-letter-footer {
    font-size: 11px;
    color: #D4956A;
    font-weight: 700;
    margin-top: 12px;
    text-align: right;
}

.metric-box span {
    font-size: 13px;
    color: #64748b;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    position: relative;
    padding: 30px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.80));
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 18px 42px rgba(15,23,42,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(37,99,235,0.12);
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 18px;
}

.step-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #111827;
    letter-spacing: -0.03em;
}

.step-card p {
    margin: 0;
    color: #667085;
    line-height: 1.8;
    font-size: 15px;
}

.stats-wrap {
    border-radius: 36px;
    background: linear-gradient(135deg, #0f172a, #14213d 45%, #1d4ed8 100%);
    padding: 32px;
    box-shadow: 0 30px 60px rgba(15,23,42,0.18);
}

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

.stat-card {
    border-radius: 26px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 28px 24px;
    backdrop-filter: blur(10px);
}

.stat-value {
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.6;
}

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

.feature-card {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,250,252,0.92));
    border: 1px solid rgba(15,23,42,0.06);
    padding: 34px 30px;
    box-shadow: 0 20px 48px rgba(15,23,42,0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 58px rgba(37,99,235,0.12);
}

.feature-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: #111827;
}

.feature-card p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.85;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
}

.story-card {
    border-radius: 30px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.90));
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}

.story-quote {
    font-size: 28px;
    line-height: 1.7;
    letter-spacing: -0.04em;
    color: #0f172a;
    font-weight: 800;
    margin: 0 0 20px;
}

.story-text {
    margin: 0;
    color: #667085;
    line-height: 1.9;
    font-size: 16px;
}

.story-mini-list {
    display: grid;
    gap: 14px;
}

.story-mini {
    border-radius: 22px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 14px 32px rgba(15,23,42,0.06);
}

.story-mini strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    color: #111827;
}

.story-mini span {
    color: #667085;
    font-size: 14px;
    line-height: 1.75;
}

.final-cta {
    padding-top: 40px;
    padding-bottom: 140px;
}

.final-box {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    padding: 60px 32px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 60%, #60a5fa 100%);
    box-shadow: 0 32px 70px rgba(37,99,235,0.26);
}

.final-box::before,
.final-box::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    filter: blur(8px);
}

.final-box::before {
    width: 240px;
    height: 240px;
    top: -70px;
    right: -40px;
}

.final-box::after {
    width: 180px;
    height: 180px;
    bottom: -50px;
    left: -30px;
}

.final-box h2 {
    position: relative;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.3;
    letter-spacing: -0.05em;
}

.final-box p {
    position: relative;
    margin: 18px auto 0;
    max-width: 720px;
    color: rgba(255,255,255,0.80);
    font-size: 18px;
    line-height: 1.8;
}

.final-btn-group {
    position: relative;
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.final-main-btn {
    min-width: 220px;
    height: 60px;
    border-radius: 18px;
    background: #fff;
    color: #1d4ed8;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

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

.final-sub-btn {
    min-width: 180px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    font-size: 18px;
    font-weight: 700;
}

.final-sub-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.16);
}

.landing-footer {
    padding: 28px 0 40px;
    border-top: 1px solid rgba(15,23,42,0.06);
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
}

.footer-inner {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #111827;
    font-size: 22px;
}

.footer-text {
    color: #667085;
    font-size: 14px;
}

.fade-up {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 1200px) {
    .nav-menu {
        gap: 22px;
    }

    .intro-grid,
    .story-grid {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 860px) {
    .landing-nav {
        padding: 14px 0;
    }

    .nav-inner {
        width: min(var(--container), calc(100% - 28px));
    }

    .nav-left {
        gap: 18px;
    }

    .nav-menu {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .btn-outline-light,
    .btn-primary-light {
        min-width: auto;
        padding: 0 16px;
        height: 42px;
        font-size: 14px;
    }

    .hero-section {
        padding-top: 120px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-main-btn,
    .hero-sub-btn {
        width: min(340px, 100%);
        height: 58px;
        font-size: 18px;
    }

    .glass-panel {
        padding: 28px;
    }

    .intro-points,
    .steps-grid,
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mock-card.large,
    .mock-card.small {
        position: relative;
        width: 100%;
        height: auto;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin-bottom: 18px;
    }

    .mock-stack {
        min-height: auto;
    }

    .story-card {
        padding: 28px;
    }

    .section {
        padding: 90px 0;
    }

    .final-box {
        padding: 46px 22px;
    }

    .footer-inner {
        width: min(var(--container), calc(100% - 28px));
    }

    .shape-1,
    .shape-2,
    .shape-3,
    .shape-4,
    .shadow-1,
    .shadow-2 {
        opacity: 0.55;
    }
}