:root {
    --navy: #16213E;
    --navy-deep: #0D1730;
    --navy-ink: #22304E;
    --orange: #FF6B35;
    --orange-deep: #E8521F;
    --amber: #FFB800;
    --ink: #1B2440;
    --muted: #64718C;
    --line: #E8ECF4;
    --bg: #FFFFFF;
    --paper: #FAFBFF;
    --pastel-blue: #E9F0FF;
    --pastel-peach: #FFF0E6;
    --pastel-mint: #E7F6EF;
    --pastel-lilac: #F4EFFF;
    --pastel-yellow: #FFF7D6;
    --radius: 24px;
    --shadow: 0 24px 60px rgba(22, 33, 62, 0.10);
    --shadow-sm: 0 10px 30px rgba(22, 33, 62, 0.08);
    --shadow-hover: 0 32px 70px rgba(22, 33, 62, 0.16);
    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ===== Buttons (pill) ===== */
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 14px 34px rgba(255, 107, 53, 0.38); }
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 18px 40px rgba(255, 107, 53, 0.48); }
.btn-ghost { color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-white { color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); }
.btn-white:hover { box-shadow: var(--shadow); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ===== Navbar ===== */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); box-shadow: 0 2px 18px rgba(13,23,48,0.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 8px; }
.nav-pill { color: #C6D0E4; text-decoration: none; font-size: 0.92rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.nav-pill:hover { background: rgba(255,255,255,0.10); color: #fff; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 3px; margin: 5px 0; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 60%, #24304F 100%);
    color: #fff;
    padding: 96px 0 110px;
    position: relative;
    overflow: hidden;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; pointer-events: none; }
.glow-a { width: 480px; height: 480px; background: rgba(255,107,53,0.5); top: -160px; right: -120px; }
.glow-b { width: 420px; height: 420px; background: rgba(255,184,0,0.30); bottom: -200px; left: -140px; }
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.10); color: var(--amber);
    border: 1px solid rgba(255,184,0,0.4);
    padding: 8px 18px; border-radius: 999px;
    font-size: 0.84rem; font-weight: 600; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); font-weight: 700; line-height: 1.06; margin-bottom: 24px; }
.hl {
    position: relative; z-index: 0; color: var(--orange); white-space: nowrap;
}
.hl::after {
    content: ""; position: absolute; left: -4px; right: -4px; bottom: 6px; height: 34%;
    background: rgba(255,107,53,0.22); z-index: -1; border-radius: 6px;
    transform: rotate(-1.2deg);
}
.hero-sub { font-size: 1.1rem; color: #C6D0E4; max-width: 540px; margin-bottom: 34px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #C6D0E4; font-size: 0.9rem; }
.avatar-row { display: flex; }
.avatar-mini { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; color: var(--navy); border: 2px solid var(--navy-deep); margin-left: -8px; }
.avatar-mini:first-child { margin-left: 0; }
.stars { color: var(--amber); letter-spacing: 2px; }

/* ===== Hero visual / isometric scene ===== */
.hero-visual { position: relative; min-height: 480px; }
.scene { position: relative; width: 100%; perspective: 1100px; }
.iso-cube { position: absolute; width: 66px; height: 66px; border-radius: 10px; box-shadow: 0 18px 40px rgba(13,23,48,0.35); pointer-events: none; }
.cube-a { top: -26px; right: 8px; background: linear-gradient(135deg, var(--amber), #FF9F1C); transform: rotateX(55deg) rotateZ(45deg); animation: bob 6s ease-in-out infinite; }
.cube-b { bottom: -10px; left: -26px; background: linear-gradient(135deg, #FFD9C0, var(--orange)); transform: rotateX(55deg) rotateZ(45deg); animation: bob 7s ease-in-out 1s infinite; }
.cube-c { top: 40%; left: -46px; width: 44px; height: 44px; background: linear-gradient(135deg, #C9D8FF, #7FA0FF); transform: rotateX(55deg) rotateZ(45deg); animation: bob 8s ease-in-out 2s infinite; }

.scene-card {
    background: #fff; color: var(--ink);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 40px 90px rgba(13, 23, 48, 0.5);
    transform: rotateX(8deg) rotateZ(-4deg);
    transform-style: preserve-3d;
    position: relative; z-index: 2;
}
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.card-pill { background: var(--pastel-mint); color: #1B7A4D; padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.card-score { font-size: 1.8rem; font-weight: 700; font-family: var(--font-display); color: var(--orange); }
.card-title { font-weight: 600; margin-bottom: 20px; font-family: var(--font-display); }
.progress-row { margin-bottom: 18px; font-size: 0.88rem; }
.progress-row span { display: block; margin-bottom: 7px; font-weight: 500; }
.bar { height: 10px; background: #EDF0F6; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--amber)); border-radius: 999px; }
.bar-fill.soft { background: linear-gradient(90deg, #8FA8FF, #C9D8FF); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.streak strong { color: var(--orange); font-size: 1.1rem; }
.mock-chip { background: var(--navy); color: #fff; padding: 7px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }

.float-svg { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 16px 28px rgba(13,23,48,0.28)); }
.trophy { width: 96px; top: -46px; left: 12px; animation: bob 6s ease-in-out infinite; }
.medal { width: 84px; bottom: -36px; right: -8px; animation: bob 7s ease-in-out 1s infinite; }

.float-chip {
    position: absolute; z-index: 4;
    background: #fff; color: var(--ink);
    padding: 11px 18px; border-radius: 999px;
    font-weight: 600; font-size: 0.85rem;
    box-shadow: 0 18px 44px rgba(13,23,48,0.35);
    display: flex; align-items: center; gap: 8px;
}
.chip-quiz { top: 22%; right: -18px; transform: rotate(3deg); animation: bob 5s ease-in-out infinite; color: #1B7A4D; }
.chip-mock { bottom: 20%; left: -22px; transform: rotate(-3deg); animation: bob 6s ease-in-out 1.5s infinite; }

.mascot-wrap { position: absolute; bottom: -54px; right: -30px; z-index: 5; width: 150px; animation: bob 5s ease-in-out infinite; }
.mascot { width: 100%; height: auto; display: block; }

/* ===== Stats ===== */
.stats { background: var(--bg); padding: 4px 0 0; position: relative; z-index: 6; }
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    background: #fff;
    border-radius: 28px;
    padding: 30px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transform: translateY(-52px);
    margin-bottom: -52px;
}
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--navy); }
.stat-label { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

/* ===== Sections ===== */
.section { padding: 96px 0; position: relative; }
.pastel-blue { background: linear-gradient(180deg, var(--pastel-blue), #F4F8FF); }
.pastel-peach { background: linear-gradient(180deg, var(--pastel-peach), #FFF8F2); }
.pastel-mint { background: linear-gradient(180deg, var(--pastel-mint), #F2FBF6); }
.pastel-lilac { background: linear-gradient(180deg, var(--pastel-lilac), #FAF6FF); }
.pastel-yellow { background: linear-gradient(180deg, var(--pastel-yellow), #FFFAE6); }
.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
    display: inline-block;
    color: var(--orange); font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; font-size: 0.78rem;
    background: rgba(255,107,53,0.10); padding: 7px 16px; border-radius: 999px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; margin: 16px 0 14px; line-height: 1.15; color: var(--navy); }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ===== Cards (rounded + hovering shadow) ===== */
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { padding: 34px; position: relative; overflow: hidden; }
.step-num {
    width: 60px; height: 60px; border-radius: 18px;
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 12px 26px rgba(255,107,53,0.35);
    margin-bottom: 22px;
}
.step h3 { margin: 0 0 10px; font-size: 1.25rem; color: var(--navy); }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { padding: 34px; }
.chip {
    width: 58px; height: 58px; border-radius: 18px;
    display: grid; place-items: center; font-size: 1.6rem;
    margin-bottom: 20px;
}
.chip-blue { background: var(--pastel-blue); }
.chip-orange { background: var(--pastel-peach); }
.chip-mint { background: var(--pastel-mint); }
.chip-lilac { background: var(--pastel-lilac); }
.chip-yellow { background: var(--pastel-yellow); }
.chip-white { background: #fff; }
.feature:nth-child(6n+1) .feature-icon { background: var(--pastel-blue); }
.feature:nth-child(6n+2) .feature-icon { background: var(--pastel-peach); }
.feature:nth-child(6n+3) .feature-icon { background: var(--pastel-mint); }
.feature:nth-child(6n+4) .feature-icon { background: var(--pastel-lilac); }
.feature:nth-child(6n+5) .feature-icon { background: var(--pastel-yellow); }
.feature:nth-child(6n+6) .feature-icon { background: var(--pastel-blue); }
.feature h3 { margin-bottom: 10px; font-size: 1.1rem; color: var(--navy); }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ===== Stages ===== */
.stages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stage-card { padding: 38px; position: relative; overflow: hidden; }
.stage-card::after { content: "ICAN"; position: absolute; right: -10px; bottom: -26px; font-family: var(--font-display); font-size: 5.5rem; font-weight: 700; color: var(--pastel-blue); pointer-events: none; }
.stage-tag {
    display: inline-block;
    background: var(--navy); color: #fff;
    padding: 8px 18px; border-radius: 999px;
    font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
    margin-bottom: 18px;
}
.stage-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 24px; }
.stage-link { color: var(--orange); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.stage-link:hover { text-decoration: underline; }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { padding: 32px; display: flex; flex-direction: column; }
.t-stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.9rem; }
.t-quote { flex: 1; font-size: 0.98rem; color: #3A4560; margin-bottom: 22px; }
.t-author { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: var(--font-display); }
.t-name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.t-role { color: var(--muted); font-size: 0.82rem; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 20px 28px; font-weight: 600; list-style: none; position: relative; padding-right: 60px; font-size: 0.98rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--pastel-peach); color: var(--orange); font-size: 1.3rem; font-weight: 400; display: grid; place-items: center; transition: transform 0.2s; }
.faq[open] { border-radius: 28px; }
.faq[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.faq p { padding: 0 28px 24px; color: var(--muted); font-size: 0.95rem; }

/* ===== CTA ===== */
.cta-card {
    background: linear-gradient(155deg, var(--navy-deep), var(--navy) 70%);
    border-radius: 36px;
    color: #fff;
    text-align: center;
    padding: 72px 40px 64px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(22, 33, 62, 0.35);
}
.cta-card::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.cta-mascot { width: 110px; margin: 0 auto 26px; animation: bob 5s ease-in-out infinite; position: relative; }
.cta-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; max-width: 740px; margin: 0 auto 18px; line-height: 1.15; position: relative; }
.cta-card p { color: #C6D0E4; max-width: 560px; margin: 0 auto 34px; font-size: 1.05rem; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; position: relative; }
.cta-note { color: #94A0BB; font-size: 0.86rem; position: relative; }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: #C6D0E4; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 40px; }
.footer-blurb { margin-top: 16px; font-size: 0.9rem; max-width: 300px; color: #94A0BB; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { color: #fff; margin-bottom: 4px; font-size: 1rem; }
.footer-col a { color: #94A0BB; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.82rem; color: #74809C; }

/* ===== Animations ===== */
@keyframes bob {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
.trophy, .medal, .chip-quiz, .chip-mock, .mascot-wrap, .cta-mascot { --rot: 0deg; }
.trophy { animation-name: bob; }
.scene-card { animation: tiltFloat 7s ease-in-out infinite; }
@keyframes tiltFloat {
    0%, 100% { transform: rotateX(8deg) rotateZ(-4deg) translateY(0); }
    50% { transform: rotateX(8deg) rotateZ(-4deg) translateY(-10px); }
}
.chip-quiz { --rot: 3deg; }
.chip-mock { --rot: -3deg; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .hero-grid, .features-grid, .stages-grid, .testimonial-grid, .steps-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat { padding: 14px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual { min-height: 0; margin-top: 60px; }
    .mascot-wrap { right: -10px; bottom: -44px; width: 120px; }
}
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .nav-links, .nav-actions {
        display: none;
        position: absolute; left: 0; right: 0; top: 72px;
        background: var(--navy-deep); flex-direction: column;
        padding: 20px 4%; gap: 6px;
    }
    .nav-links.open, .nav-actions.open { display: flex; }
    .nav-links.open { box-shadow: 0 20px 30px rgba(0,0,0,0.3); }
    .nav-actions.open { padding-top: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding: 64px 0 90px; }
    .float-chip { display: none; }
    .cta-card { padding: 56px 24px 48px; }
    .stats-bar { transform: translateY(-36px); margin-bottom: -36px; }
    .section { padding: 72px 0; }
}
