:root {
    --blue: #2540c4;
    --blue-2: #1b32a8;
    --blue-deep: #16215e;
    --blue-soft: #eef1fc;
    --lav: #f3f5ff;
    --ink: #16215e;
    --ink-2: #1f2937;
    --muted: #6b7592;
    --line: rgba(20, 33, 94, 0.10);
    --card: #ffffff;
    --bg: #ffffff;
    --bg-tint: #f6f8ff;
    --radius: 20px;
    --shadow: 0 24px 60px -28px rgba(20, 33, 94, 0.28);
    --shadow-sm: 0 10px 30px -16px rgba(20, 33, 94, 0.22);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink-2);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }

a { color: inherit; text-decoration: none; }

.grad {
    background: linear-gradient(100deg, var(--blue), var(--blue-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background glows (subtle, light) */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}
.bg-glow--one { width: 520px; height: 520px; background: #c7d2ff; top: -180px; right: -120px; }
.bg-glow--two { width: 480px; height: 480px; background: #dbe2ff; bottom: -200px; left: -160px; opacity: 0.4; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
    will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--primary {
    color: #ffffff;
    background: linear-gradient(120deg, var(--blue), var(--blue-2));
    box-shadow: 0 14px 30px -10px rgba(37, 64, 196, 0.55);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -10px rgba(37, 64, 196, 0.65); }
.btn--soft {
    color: var(--blue);
    background: var(--blue-soft);
    border-color: var(--line);
}
.btn--soft:hover { background: #e3e9ff; transform: translateY(-3px); }
.btn--ghost {
    color: var(--blue);
    background: #ffffff;
    border: 1.5px solid #c9d2f7;
    border-radius: 999px;
    padding: 9px 20px;
    font-weight: 600;
}
.btn--ghost:hover { background: var(--blue-soft); }

/* Navbar */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: padding 0.4s var(--ease), background 0.4s ease, box-shadow 0.4s ease;
    padding: 16px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}
.nav.is-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}
.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: transparent;
    overflow: hidden;
}
.brand__mark img { width: 40px; height: 40px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: 'Sora', sans-serif; font-size: 1.15rem; color: var(--blue); }
.brand__text small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; transition: color 0.25s; }
.nav__links a:hover { color: var(--blue); }

/* Hero — centered, light gradient like the screenshot */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    background: linear-gradient(180deg, #eef1fd 0%, #f7f9ff 60%, #ffffff 100%);
    padding: 64px 26px 80px;
}
.hero__content {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero__visual { display: grid; place-items: center; margin: 0 auto 18px; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #c9d2f7;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 600;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(37, 64, 196, 0.18); }
.hero__title { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; margin: 24px 0 16px; color: var(--blue); }
.hero__sub { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 46px; justify-content: center; }

.stats { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 760px; }
.stat {
    flex: 1;
    min-width: 150px;
    padding: 10px 18px;
    text-align: center;
}
.stat__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--blue); }
.stat p { color: var(--muted); font-size: 0.95rem; margin-top: 2px; }

/* App icon mark in hero */
.app-mark {
    width: 130px; height: 130px;
    border-radius: 50%;
    display: grid; place-items: center;
    overflow: hidden;
    box-shadow: 0 20px 45px -16px rgba(20, 33, 94, 0.35);
    animation: floaty 6s ease-in-out infinite;
}
.app-mark img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats band (separate white strip under hero) */
.stats-band {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 40px 26px;
}
.stats-band .stats { margin: 0 auto; }

/* Sections */
.section { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 80px 26px; }
.section__head { margin-bottom: 50px; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; }
.section__head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 12px; color: var(--ink); }

.grid { display: grid; gap: 22px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.grid--steps { grid-template-columns: repeat(4, 1fr); }

.feature {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.feature:hover { transform: translateY(-6px); border-color: #c9d2f7; box-shadow: var(--shadow); }
.feature__ic {
    display: inline-grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    font-size: 1.5rem;
    background: var(--blue-soft);
    margin-bottom: 18px;
}
.feature h3, .step h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.feature p, .step p { color: var(--muted); font-size: 0.92rem; }

.step {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.step:hover { transform: translateY(-6px); border-color: #c9d2f7; box-shadow: var(--shadow); }
.step__n {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(120deg, var(--blue), var(--blue-2));
    margin-bottom: 18px;
}

.cta-band {
    margin-top: 52px;
    padding: 38px 42px;
    border-radius: 24px;
    background: linear-gradient(120deg, var(--blue), var(--blue-2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 24px 50px -20px rgba(37, 64, 196, 0.55);
}
.cta-band h3 { font-size: 1.6rem; color: #ffffff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-top: 4px; }
.cta-band .btn--primary { background: #ffffff; color: var(--blue); box-shadow: none; }
.cta-band .btn--primary:hover { background: #f0f3ff; }

/* Footer */
.footer { position: relative; z-index: 1; background: var(--blue-deep); color: #c7cffb; margin-top: 0; }
.footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 26px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer .brand__text strong { color: #ffffff; }
.footer .brand__text small { color: #9aa6e0; }
.footer__brand p { color: #9aa6e0; font-size: 0.9rem; margin-top: 14px; max-width: 280px; }
.footer__col h4 { font-size: 0.95rem; margin-bottom: 14px; color: #ffffff; }
.footer__col a { display: block; color: #9aa6e0; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.25s, transform 0.25s; }
.footer__col a:hover { color: #ffffff; transform: translateX(3px); }
.footer__bar { text-align: center; padding: 22px; color: #8a96d4; font-size: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
    .grid--features { grid-template-columns: repeat(2, 1fr); }
    .grid--steps { grid-template-columns: repeat(2, 1fr); }
    .nav__links { display: none; }
}
@media (max-width: 560px) {
    .grid--features, .grid--steps { grid-template-columns: 1fr; }
    .hero__sub { font-size: 1rem; }
    .nav__cta { display: none; }
    .cta-band { padding: 28px 24px; }
    .stat { min-width: calc(50% - 14px); }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .app-mark { animation: none; }
    html { scroll-behavior: auto; }
}