:root {
    --base:    #061428;
    --near:    #0a1e38;
    --mid:     #0f2a4f;
    --border:  #1a3d6b;
    --muted:   #5a7a9e;
    --soft:    #7da3c9;
    --text:    #e8f2fc;
    --dim:     rgba(200, 220, 255, 0.55);
    --accent:  #3b9eff;
    --accent-dim: rgba(59, 158, 255, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background: var(--base);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* ── Nav ── */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 3.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 20, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
}

.logo-pill {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(59, 158, 255, 0.35);
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
}

.logo-name {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dim);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--soft);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

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

.nav-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--base);
    background: var(--accent);
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 20px rgba(59, 158, 255, 0.35);
    color: var(--base);
}

/* ── Hero ── */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 88vh;
    border-bottom: 1px solid var(--border);
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 3.5rem;
    border-right: 1px solid var(--border);
}

.hero-tag {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero-headline {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 4.5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 1.75rem;
}

.hero-headline em {
    font-style: italic;
    color: rgba(200, 220, 255, 0.4);
}

.hero-body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--dim);
    max-width: 400px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--base);
    background: var(--accent);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 20px rgba(59, 158, 255, 0.35);
    color: var(--base);
}

.btn-ghost {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--soft);
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-ghost:hover { color: var(--text); }

.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.65;
    filter: saturate(1.2) hue-rotate(-10deg);
}

.hero-right-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, var(--base) 0%, transparent 30%, transparent 60%, rgba(6, 20, 40, 0.85) 100%),
        linear-gradient(to bottom, transparent 50%, rgba(6, 20, 40, 0.6) 100%);
}

.hero-right-tag {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(6, 20, 40, 0.8);
    border: 1px solid rgba(59, 158, 255, 0.25);
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
}

/* ── Stats ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
}

.stat-cell {
    padding: 2.5rem;
    border-right: 1px solid var(--border);
}

.stat-cell:last-child { border-right: none; }

.stat-num {
    font-family: 'Instrument Serif', serif;
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-num span { color: var(--accent); }

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Features ── */
.section {
    padding: 5rem 3.5rem;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.section-num {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}

.feat {
    padding: 2rem;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}

.feat:last-child { border-right: none; }
.feat:hover { background: var(--mid); }

.feat-idx {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.feat-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.feat-desc {
    font-size: 0.825rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--soft);
}

/* ── Marquee ── */
.marquee-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    padding: 1rem 0;
}

.marquee-inner {
    display: inline-flex;
    gap: 3rem;
    animation: scroll 22s linear infinite;
}

.marquee-item {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.marquee-item span { color: var(--accent); margin-right: 1rem; }

@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Split ── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
}

.split-img-col {
    position: relative;
    min-height: 480px;
    border-right: 1px solid var(--border);
    overflow: hidden;
}

.split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.55;
    filter: saturate(1.15) hue-rotate(-15deg);
}

.split-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--base) 0%, transparent 50%);
}

.split-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3.5rem;
}

.split-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.split-h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.split-p {
    font-size: 0.925rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dim);
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dim);
}

.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1px solid rgba(59, 158, 255, 0.5);
    border-radius: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-6' stroke='%233b9eff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── CTA ── */
.cta-section {
    border-top: 1px solid var(--border);
    padding: 6rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-left { max-width: 560px; }

.cta-h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.cta-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--dim);
    line-height: 1.7;
}

.cta-right { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ── */
.landing-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.foot-copy {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.foot-links {
    display: flex;
    gap: 2rem;
}

.foot-links a {
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.foot-links a:hover { color: var(--text); }

/* ── Modal overrides for landing page ── */
.landing-modal .modal-content {
    background: var(--near);
    border: 1px solid var(--border);
    color: var(--text);
}

.landing-modal .modal-header {
    background: var(--mid);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.landing-modal .modal-header .btn-close {
    filter: invert(1);
}

.landing-modal .form-label {
    color: var(--soft);
    font-size: 0.85rem;
}

.landing-modal .form-control,
.landing-modal .form-select {
    background: var(--base);
    border-color: var(--border);
    color: var(--text);
}

.landing-modal .form-control:focus,
.landing-modal .form-select:focus {
    background: var(--base);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 0.15rem rgba(59, 158, 255, 0.2);
}

.landing-modal .modal-footer {
    border-top: 1px solid var(--border);
}

.landing-modal .btn-outline-secondary {
    border-color: var(--border);
    color: var(--soft);
}

.landing-modal .btn-outline-secondary:hover {
    background: var(--mid);
    color: var(--text);
}

.landing-modal .uss-btn-primary,
.landing-modal .btn-primary {
    background: var(--accent);
    border: none;
    color: var(--base);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .landing-nav {
        padding: 1rem 1.25rem;
        flex-wrap: nowrap;
    }
    .logo-name { display: none; }
    .nav-links {
        gap: 0.75rem;
        flex-shrink: 0;
    }
    .nav-links .nav-link-hide-mobile { display: none; }
    .hero { grid-template-columns: 1fr; min-height: unset; }
    .hero-right { height: 240px; min-height: 240px; }
    .hero-left {
        padding: 2.5rem 1.25rem 2rem;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .hero-headline { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero-body { max-width: none; }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        text-align: center;
        width: 100%;
    }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-cell { padding: 1.75rem 1.25rem; }
    .stat-cell:nth-child(2) { border-right: none; }
    .stat-cell:nth-child(3) { border-top: 1px solid var(--border); }
    .stat-num { font-size: 2.25rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feat { padding: 1.5rem 1.25rem; }
    .feat:nth-child(2) { border-right: none; }
    .feat:nth-child(3) { border-top: 1px solid var(--border); }
    .feat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .split { grid-template-columns: 1fr; }
    .split-img-col {
        min-height: 220px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .split-text-col { padding: 2.5rem 1.25rem; }
    .section { padding: 3rem 1.25rem; }
    .cta-section {
        padding: 3rem 1.25rem;
        flex-direction: column;
        align-items: stretch;
    }
    .cta-right {
        flex-direction: column;
        width: 100%;
    }
    .cta-right .btn-primary,
    .cta-right .btn-ghost {
        text-align: center;
        width: 100%;
    }
    .landing-footer {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .foot-links { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 520px) {
    .landing-nav { padding: 0.875rem 1rem; }
    .logo-pill { font-size: 0.6rem; padding: 0.25rem 0.55rem; }
    .nav-btn { padding: 0.5rem 1rem; font-size: 0.72rem; }
    .hero-right { height: 200px; min-height: 200px; }
    .hero-left { padding: 2rem 1rem 1.75rem; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-cell { border-right: none !important; }
    .stat-cell + .stat-cell { border-top: 1px solid var(--border); }
    .features-grid { grid-template-columns: 1fr; }
    .feat {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
    .feat:last-child { border-bottom: none; }
    .marquee-item { font-size: 0.65rem; }
}
