@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=DM+Serif+Display&display=swap');

:root {
    --navy: #002366;
    --navy-light: #1e4fd8;
    --navy-dark: #001540;
    --navy-pale: #dbeafe;
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --cream: #f9fafb;
    --white: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --font-sans: 'DM Sans', sans-serif;
    --font-serif: 'DM Serif Display', serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed; top:0; left:0; right:0;
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 5%;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    z-index: 1000;
    transition: all .35s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    padding: 14px 5%;
}
.nav-brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--navy);
    font-weight: 700; font-size: 24px; font-family: var(--font-serif);
}
.nav-logo {
    width: 42px; height: 42px; background: var(--navy);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--white); box-shadow: 0 4px 12px rgba(0,35,102,0.25);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 15px;
    transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; }
.btn-login {
    background: var(--navy); color: var(--white) !important; text-decoration: none;
    padding: 11px 26px; border-radius: 30px; font-weight: 600; font-size: 14px;
    transition: all .3s ease; box-shadow: 0 4px 14px rgba(0,35,102,0.2);
}
.btn-login:hover {
    background: var(--navy-light); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30,79,216,0.3);
}

/* ── HERO ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; padding: 140px 5% 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; top:0; left:0; width:100%; height:100%; z-index:-1;
    background: linear-gradient(160deg, #f9fafb 0%, #e4ecf7 50%, #f0f0f8 100%);
}
.blob {
    position: absolute; filter: blur(90px); opacity: .45; z-index:-1; border-radius: 50%;
}
.blob-1 { top:-10%; right:-5%; width:550px; height:550px; background: var(--navy-light); }
.blob-2 { bottom:-15%; left:-8%; width:500px; height:500px; background: var(--amber); }
.blob-3 { top:40%; left:50%; width:300px; height:300px; background: #8b5cf6; opacity:.2; }

.hero-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1300px; margin: 0 auto; width: 100%; gap: 4vw;
}
.hero-content { flex: 1; min-width: 300px; position: relative; z-index:2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,158,11,0.12); color: #92400e;
    padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: 13px;
    letter-spacing: .8px; text-transform: uppercase; margin-bottom: 28px;
    border: 1px solid rgba(245,158,11,0.25);
}
.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
    box-shadow: 0 0 8px var(--amber);
}
.hero-title {
    font-family: var(--font-serif); font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    line-height: 1.08; color: var(--navy); margin-bottom: 24px;
}
.hero-title span { color: var(--navy); }
.hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.2rem); color: var(--text-muted);
    line-height: 1.7; margin-bottom: 40px; max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    background: var(--amber); color: var(--navy-dark); text-decoration: none;
    padding: 16px 36px; border-radius: 30px; font-weight: 700; font-size: 16px;
    transition: all .3s ease; box-shadow: 0 4px 20px rgba(245,158,11,0.3);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
    background: var(--amber-light); transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.4);
}
.btn-outline {
    background: transparent; color: var(--navy); text-decoration: none;
    padding: 16px 36px; border-radius: 30px; font-weight: 700; font-size: 16px;
    border: 2px solid rgba(0,35,102,0.2); transition: all .3s ease;
}
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Hero Visual */
.hero-visual { position: relative; flex-shrink: 0; width: clamp(320px, 35vw, 420px); height: 380px; }
.hero-float-card {
    position: absolute; background: white; border-radius: 18px;
    padding: 18px 22px; box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04); backdrop-filter: blur(8px);
}
.hfc-1 { top: 0; left: 0; width: 240px; }
.hfc-2 { top: 60px; right: 0; width: 200px; }
.hfc-3 { bottom: 20px; left: 30px; width: 260px; }
.hfc-title { font-weight: 700; font-size: 14px; color: var(--navy-dark); margin-bottom: 6px; }
.hfc-sub { font-size: 12px; color: var(--text-muted); }
.hfc-bar { height: 6px; border-radius: 3px; background: #e5e7eb; margin-top: 10px; overflow: hidden; }
.hfc-bar-fill { height:100%; border-radius: 3px; }
.hfc-status {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; margin-top: 8px;
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--navy); padding: 50px 5%; position: relative; overflow: hidden;
}
.stats-bar::before {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
    background: linear-gradient(135deg, rgba(30,79,216,0.15) 0%, transparent 60%);
}
.stats-grid {
    display: flex; justify-content: center; gap: 80px;
    max-width: 900px; margin: 0 auto; position: relative; z-index:1;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-serif); font-size: 3rem; color: var(--white);
    line-height: 1; margin-bottom: 6px;
}
.stat-num span { color: var(--amber); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.55); font-weight: 500; }

/* ── FEATURES ── */
.features { padding: 120px 5%; background: var(--white); position: relative; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--navy-light); margin-bottom: 14px;
    background: var(--navy-pale); padding: 6px 16px; border-radius: 20px;
}
.section-title {
    font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--navy-dark); margin-bottom: 14px;
}
.section-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
    background: var(--cream); padding: 36px 30px; border-radius: 22px;
    border: 1.5px solid rgba(0,0,0,0.04);
    transition: all .4s cubic-bezier(0.16,1,0.3,1);
}
.feature-card:hover {
    transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,35,102,0.08);
    background: var(--white); border-color: rgba(30,79,216,0.1);
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.feature-desc { font-size: .95rem; color: var(--text-muted); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.how-it-works { padding: 120px 5%; background: var(--cream); }
.steps-grid {
    display: flex; justify-content: center; gap: 40px;
    max-width: 1000px; margin: 0 auto; flex-wrap: wrap;
}
.step-card {
    flex: 1; min-width: 260px; max-width: 300px; text-align: center;
    background: var(--white); border-radius: 22px; padding: 40px 28px;
    border: 1.5px solid rgba(0,0,0,0.04); position: relative;
    transition: transform .3s, box-shadow .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--navy); color: var(--white);
    font-family: var(--font-serif); font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(0,35,102,0.25);
}
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: .95rem; color: var(--text-muted); line-height: 1.6; }
.step-connector {
    position: absolute; top: 50%; right: -40px; width: 40px; height: 2px;
    background: linear-gradient(90deg, var(--navy-pale), transparent);
}

/* ── TESTIMONIALS ── */
.testimonials { padding: 120px 5%; background: var(--white); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px; max-width: 1100px; margin: 0 auto;
}
.testimonial-card {
    background: var(--cream); border-radius: 22px; padding: 32px 28px;
    border: 1.5px solid rgba(0,0,0,0.04); transition: all .3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.05); }
.tc-quote { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white; font-size: 16px; flex-shrink: 0;
}
.tc-name { font-weight: 700; font-size: 14px; color: var(--text-main); }
.tc-role { font-size: 12px; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner {
    padding: 100px 5%; text-align: center; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
}
.cta-banner .blob {
    filter: blur(100px); opacity: .15;
}
.cta-title {
    font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white); margin-bottom: 16px; position: relative; z-index:1;
}
.cta-sub {
    font-size: 1.15rem; color: rgba(255,255,255,0.6);
    max-width: 500px; margin: 0 auto 36px; position: relative; z-index:1;
}
.cta-banner .btn-primary { position: relative; z-index:1; }

/* ── FOOTER ── */
.footer {
    background: var(--navy-dark); padding: 60px 5% 36px;
    color: rgba(255,255,255,0.6);
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: flex-start;
    max-width: 1100px; margin: 0 auto; gap: 40px; flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-logo {
    font-family: var(--font-serif); font-size: 1.6rem; color: var(--white);
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.footer-logo svg { color: var(--amber); }
.footer-text { font-size: 14px; line-height: 1.6; }
.footer-col h4 {
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.35);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.footer-col a {
    display: block; color: rgba(255,255,255,0.6); text-decoration: none;
    font-size: 14px; margin-bottom: 8px; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1100px; margin: 30px auto 0;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px; text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { display: none; }
    .stats-grid { gap: 40px; }
    .nav-links { display: none; }
    .step-connector { display: none; }
    .footer-inner { flex-direction: column; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
}
