:root {
    --navy: #0a1e3f;
    --navy-deep: #061533;
    --navy-soft: #142a55;
    --blue: #1e90ff;
    --blue-bright: #2da6ff;
    --blue-deep: #0f6dd1;
    --ink: #0c1a36;
    --muted: #5b6b86;
    --muted-2: #8a98b3;
    --bg: #ffffff;
    --bg-soft: #f5f8ff;
    --bg-tint: #eef3fc;
    --border: #e3eaf6;
    --border-strong: #cfd9ec;
    --shadow-sm: 0 2px 8px rgba(10, 30, 63, 0.06);
    --shadow-md: 0 12px 32px rgba(10, 30, 63, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 30, 63, 0.14);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --gradient: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    --gradient-soft: linear-gradient(135deg, #eaf2ff 0%, #f7fbff 100%);
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ==================== HEADER ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 38px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    position: relative;
}

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

.header-cta {
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 14px 4px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
    margin-top: 12px;
    justify-content: center;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 26px rgba(30, 144, 255, 0.32);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(30, 144, 255, 0.42);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
    border-color: var(--navy);
    background: var(--bg-soft);
}

.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(30,144,255,0.45), transparent 70%);
}

.blob-2 {
    width: 420px;
    height: 420px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(10,30,63,0.30), transparent 70%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 30, 63, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 30, 63, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 144, 255, 0.10);
    border: 1px solid rgba(30, 144, 255, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-deep);
    margin-bottom: 28px;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.20); }
    50% { box-shadow: 0 0 0 8px rgba(30, 144, 255, 0.05); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 22px;
}

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

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 20px 36px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.stat span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-tint);
    color: var(--blue-deep);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
}

/* ==================== APPS ==================== */
.apps-section {
    background: var(--bg-soft);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.app-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 144, 255, 0.25);
}

.app-card:hover::before {
    opacity: 1;
}

.app-card-soon {
    background: linear-gradient(180deg, #fff, #f9fbff);
}

.app-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.app-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(30, 144, 255, 0.30);
}

.app-icon svg {
    width: 28px;
    height: 28px;
}

.app-card-soon .app-icon {
    background: linear-gradient(135deg, #c8d3e9, #9caac7);
    box-shadow: 0 8px 20px rgba(156, 170, 199, 0.4);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.badge-live {
    background: rgba(34, 197, 94, 0.10);
    color: #047857;
}

.badge-live .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: pulse 1.8s ease-in-out infinite;
}

.badge-soon {
    background: rgba(138, 152, 179, 0.12);
    color: #475876;
}

.app-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.app-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.app-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14.5px;
    color: var(--ink);
}

.app-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    background: var(--bg-tint);
    border-radius: 50%;
}

.app-features li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
}

.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.app-url {
    font-size: 13px;
    color: var(--muted-2);
    font-family: 'SFMono-Regular', Consolas, monospace;
}

/* ==================== FEATURES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 144, 255, 0.30);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bg-tint);
    color: var(--blue-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==================== ROADMAP ==================== */
.roadmap-section {
    background: var(--bg-soft);
}

.timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--border-strong) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border-strong);
    z-index: 1;
}

.timeline-item.done .timeline-dot {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.15);
}

.timeline-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-content:hover {
    border-color: rgba(30, 144, 255, 0.30);
    box-shadow: var(--shadow-sm);
}

.timeline-stage {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-deep);
    background: var(--bg-tint);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timeline-content h3 {
    font-size: 19px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ==================== CTA ==================== */
.cta-section {
    padding: 80px 0 120px;
}

.cta-card {
    background: var(--gradient);
    border-radius: var(--radius-xl);
    padding: 56px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10, 30, 63, 0.25);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
    border-radius: 50%;
}

.cta-text {
    position: relative;
    z-index: 1;
    flex: 1 1 360px;
}

.cta-text h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 17px;
    opacity: 0.85;
    line-height: 1.6;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.cta-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.cta-actions .btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-actions .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: #fff;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--navy-deep);
    color: #c4d0e4;
    padding-top: 64px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 56px;
    padding-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
    filter: brightness(1.15);
}

.footer-brand p {
    font-size: 14.5px;
    color: #8a9bbf;
    line-height: 1.6;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14.5px;
    color: #8a9bbf;
    transition: color 0.2s ease;
}

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

.soon {
    display: inline-block;
    font-size: 10px;
    background: rgba(30, 144, 255, 0.2);
    color: var(--blue-bright);
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 13.5px;
    color: #6f7fa1;
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .nav { display: none; }
    .header-cta { display: none; }
    .menu-toggle { display: flex; }

    .section { padding: 72px 0; }
    .hero { padding: 72px 0 88px; }

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

@media (max-width: 640px) {
    .container { padding: 0 20px; }

    .hero-stats {
        gap: 16px;
        padding: 16px 22px;
    }

    .stat strong { font-size: 22px; }
    .stat span { font-size: 12px; }
    .divider { height: 26px; }

    .cta-card {
        padding: 36px 28px;
        gap: 28px;
        text-align: center;
        justify-content: center;
    }

    .cta-actions {
        justify-content: center;
        width: 100%;
    }

    .cta-actions .btn { flex: 1 1 auto; }

    .app-card { padding: 26px; }

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

@media (max-width: 420px) {
    .hero-cta .btn { width: 100%; }
    .footer-cols { grid-template-columns: 1fr; }
}
