/* ===== ROOT VARIABLES ===== */
:root {
    --orange: #f8aa15;
    --orange-dark: #e0960d;
    --blue: #0e8ec9;
    --blue-dark: #0b73a3;
    --navy: #172554;
    --pink: #ec4899;
    --green: #22c55e;
    --purple: #8b5cf6;
    --white: #ffffff;
    --bg: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --font-h: 'Baloo 2', 'Nunito', cursive;
    --font-b: 'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }

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

body {
    font-family: var(--font-b);
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-h); }
a { text-decoration: none; color: inherit; }

/* ===== SHARED COMPONENTS ===== */
.btn-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 2rem; border-radius: 50px;
    font-family: var(--font-h); font-size: 1.05rem; font-weight: 700;
    cursor: pointer; transition: all .2s ease; border: none;
}
.btn-orange {
    background: var(--orange); color: #78350f;
    box-shadow: 0 6px 0 var(--orange-dark);
}
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--orange-dark); }
.btn-orange:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--orange-dark); }

.btn-outline {
    background: var(--white); color: var(--blue);
    border: 3px solid var(--blue); box-shadow: 0 6px 0 var(--blue);
}
.btn-outline:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--blue); }

.btn-xl { padding: 1.1rem 2.8rem; font-size: 1.2rem; }

@keyframes pulseGlow {
    0% { box-shadow: 0 6px 0 var(--orange-dark), 0 0 0 0 rgba(248,170,21,.5); }
    70% { box-shadow: 0 6px 0 var(--orange-dark), 0 0 0 14px rgba(248,170,21,0); }
    100% { box-shadow: 0 6px 0 var(--orange-dark), 0 0 0 0 rgba(248,170,21,0); }
}
.pulse-btn { animation: pulseGlow 2.5s infinite; }

.section-label {
    text-align: center; font-size: .9rem; font-weight: 800;
    letter-spacing: 2px; text-transform: uppercase; color: var(--blue);
    margin-bottom: .75rem;
}
.section-heading {
    text-align: center; font-size: 2.8rem; font-weight: 800;
    line-height: 1.15; margin-bottom: 1rem; color: var(--text);
}
.section-subheading {
    text-align: center; font-size: 1.15rem; color: var(--muted);
    font-weight: 600; max-width: 580px; margin: 0 auto 4rem;
}
.highlight-orange { color: var(--orange); }
.highlight-blue   { color: var(--blue); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    border-bottom: 2px solid #f1f5f9;
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: .9rem 2rem;
    display: flex; align-items: center; gap: 2rem;
}
.nav-brand {
    display: flex; align-items: center; text-decoration: none;
}
.nav-wordmark { height: 52px; width: auto; }
.nav-menu {
    display: flex; list-style: none; gap: 2rem; margin-left: auto;
}
.nav-link {
    font-weight: 700; font-size: 1rem; color: var(--muted);
    transition: color .2s; padding: .25rem 0; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 3px; background: var(--orange);
    border-radius: 2px; transition: width .3s;
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }
#nav-cta { margin-left: 1rem; padding: .6rem 1.5rem; font-size: .95rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 3px; background: var(--text); border-radius: 2px; transition: all .3s; display: block; }

/* ===== HERO ===== */
.hero {
    padding-top: 88px; min-height: 100vh;
    background: linear-gradient(135deg, #fff7ed 0%, #f0f9ff 50%, #fdf4ff 100%);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}

/* Blobs */
.blob {
    position: absolute; border-radius: 50%; opacity: .18;
    pointer-events: none; animation: floatBlob 10s ease-in-out infinite;
}
.blob-1 { width: 450px; height: 450px; background: var(--orange); top: -100px; left: -100px; animation-delay: 0s; }
.blob-2 { width: 380px; height: 380px; background: var(--blue); bottom: -80px; right: -60px; animation-delay: 3s; }
.blob-3 { width: 260px; height: 260px; background: var(--pink); top: 30%; right: 5%; animation-delay: 6s; }
@keyframes floatBlob {
    0%,100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.04); }
}

/* Floating Emojis */
.emoji-float {
    position: absolute; font-size: 2rem; animation: floatEmoji 6s ease-in-out infinite;
    pointer-events: none; user-select: none; z-index: 1;
}
.e1 { top: 15%; left: 8%; animation-delay: 0s; }
.e2 { top: 20%; right: 10%; animation-delay: 1s; font-size: 2.5rem; }
.e3 { top: 60%; left: 5%; animation-delay: 2s; }
.e4 { bottom: 25%; right: 8%; animation-delay: .5s; font-size: 2.2rem; }
.e5 { top: 45%; left: 15%; animation-delay: 3s; }
.e6 { bottom: 20%; left: 40%; animation-delay: 1.5s; }
@keyframes floatEmoji {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(8deg); }
}

/* Hero Inner */
.hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 2rem;
    display: flex; align-items: center; gap: 3rem; flex: 1; z-index: 2;
}
.hero-text { flex: 1; }

/* Badge */
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem 1.2rem; border-radius: 50px; margin-bottom: 1.5rem;
    background: #fdf2f8; border: 2px solid #fbcfe8;
    box-shadow: 0 4px 0 #fbcfe8;
    font-weight: 800; font-size: .95rem; color: var(--pink);
}
.badge-app-icon { width: 24px; height: 24px; border-radius: 6px; }

/* Hero Heading */
.hero-heading {
    font-size: 4.2rem; font-weight: 800; line-height: 1.1;
    margin-bottom: 1.3rem; color: var(--text);
}
.hero-para {
    font-size: 1.2rem; color: var(--muted); font-weight: 600;
    max-width: 500px; margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Stats */
.hero-stats { display: flex; align-items: center; gap: 1rem; }
.stat-chip { text-align: center; }
.stat-num { display: block; font-family: var(--font-h); font-size: 1.6rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.stat-divider { width: 2px; height: 36px; background: #e2e8f0; border-radius: 2px; }

/* Phone Mockup */
.hero-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.phone-mockup {
    position: relative; width: 320px;
    animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
.phone-screen {
    background: var(--white); border-radius: 40px;
    border: 8px solid var(--white);
    box-shadow: 0 30px 60px rgba(0,0,0,.15), 0 0 0 2px #e2e8f0;
    overflow: hidden;
}
.phone-img { width: 100%; height: auto; display: block; }

/* Floating Cards */
.floating-card {
    position: absolute; background: var(--white); border-radius: 20px;
    padding: .7rem 1rem; display: flex; align-items: center; gap: .7rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    animation: float 5s ease-in-out infinite;
}
.card-a { top: 10%; right: -60px; animation-delay: 1s; }
.card-b { bottom: 15%; left: -60px; animation-delay: 2.5s; }
.card-emoji { font-size: 2rem; }
.card-title { font-family: var(--font-h); font-weight: 700; font-size: .9rem; }
.card-sub { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* Scroll Banner */
.scroll-banner {
    background: var(--navy); overflow: hidden;
    padding: 1.2rem 0; margin-top: auto; z-index: 2;
}
.scroll-track {
    display: flex; white-space: nowrap;
    animation: marquee 22s linear infinite;
}
.scroll-track span {
    font-family: var(--font-h); font-size: 1.2rem; font-weight: 700;
    color: var(--white); padding: 0 2.5rem; opacity: .9;
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 7rem 2rem; max-width: 1200px; margin: 0 auto;
}
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feat-card {
    background: var(--white); border-radius: 28px; padding: 2.5rem 2rem;
    text-align: center; border: 3px solid transparent;
    transition: transform .35s cubic-bezier(.175,.885,.32,1.275), box-shadow .35s;
    cursor: default;
}
.feat-card:hover { transform: translateY(-12px); }
.feat-icon-wrap {
    font-size: 2.8rem; margin-bottom: 1.2rem;
    width: 72px; height: 72px; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem; transform: rotate(-5deg);
    transition: transform .3s;
}
.feat-card:hover .feat-icon-wrap { transform: rotate(0deg) scale(1.1); }
.feat-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem; }
.feat-card p  { font-size: 1rem; color: var(--muted); font-weight: 600; }

.feat-yellow { border-color: #fef08a; box-shadow: 0 12px 0 #fef08a; }
.feat-yellow .feat-icon-wrap { background: #fef08a; }
.feat-blue   { border-color: #bae6fd; box-shadow: 0 12px 0 #bae6fd; }
.feat-blue   .feat-icon-wrap { background: #bae6fd; }
.feat-pink   { border-color: #fbcfe8; box-shadow: 0 12px 0 #fbcfe8; }
.feat-pink   .feat-icon-wrap { background: #fbcfe8; }
.feat-green  { border-color: #bbf7d0; box-shadow: 0 12px 0 #bbf7d0; }
.feat-green  .feat-icon-wrap { background: #bbf7d0; }
.feat-purple { border-color: #ddd6fe; box-shadow: 0 12px 0 #ddd6fe; }
.feat-purple .feat-icon-wrap { background: #ddd6fe; }
.feat-orange { border-color: #fed7aa; box-shadow: 0 12px 0 #fed7aa; }
.feat-orange .feat-icon-wrap { background: #fed7aa; }

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
    padding: 6rem 2rem 8rem; position: relative;
}
.gallery-bg-shape {
    position: absolute; width: 600px; height: 600px;
    border-radius: 50%; background: var(--blue);
    opacity: .05; top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}

/* Showcase Row */
.showcase-row {
    max-width: 1100px; margin: 5rem auto 0;
    display: flex; align-items: center; gap: 4rem;
}
.showcase-reverse { flex-direction: row-reverse; }
.showcase-text, .showcase-imgs { flex: 1; }

.showcase-tag {
    display: inline-block; padding: .35rem 1rem; border-radius: 50px;
    font-size: .85rem; font-weight: 800; margin-bottom: 1rem;
}
.showcase-title { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.showcase-desc  { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: 1.8rem; }

.showcase-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.showcase-list li { display: flex; align-items: center; gap: .9rem; font-weight: 700; font-size: 1.05rem; }
.list-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.dot-blue   { background: var(--blue); }
.dot-yellow { background: var(--orange); }
.dot-pink   { background: var(--pink); }

/* Showcase Images */
.showcase-imgs { position: relative; height: 380px; }
.sc-img {
    position: absolute; border-radius: 24px;
    border: 6px solid var(--white);
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
}
.sc-main {
    width: 70%; top: 0; left: 0; z-index: 2;
    transform: rotate(-3deg);
}
.sc-overlay {
    width: 55%; bottom: 0; right: 0; z-index: 3;
    transform: rotate(4deg);
}
.showcase-imgs:hover .sc-main   { transform: rotate(0deg) scale(1.03); }
.showcase-imgs:hover .sc-overlay { transform: rotate(0deg) scale(1.03); }

/* ===== SUBJECTS ===== */
.subjects-section {
    padding: 6rem 2rem; text-align: center;
    background: var(--white);
}
.subjects-scroll {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 1.2rem; margin-top: 3rem;
}
.subject-pill {
    background: var(--c); color: var(--cs);
    padding: 1rem 2rem; border-radius: 50px;
    font-family: var(--font-h); font-size: 1.15rem; font-weight: 700;
    border: 3px solid var(--cs); cursor: default;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 6px 0 var(--cs);
}
.subject-pill:hover { transform: translateY(-6px); box-shadow: 0 12px 0 var(--cs); }

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #172554, #1e40af, #0e8ec9);
    padding: 7rem 2rem; text-align: center;
}
.cta-blob-1, .cta-blob-2 {
    position: absolute; border-radius: 50%; opacity: .12; pointer-events: none;
}
.cta-blob-1 { width: 400px; height: 400px; background: var(--white); top: -100px; left: -100px; }
.cta-blob-2 { width: 300px; height: 300px; background: var(--orange); bottom: -80px; right: -60px; }
.cta-inner { position: relative; z-index: 2; }
.cta-app-icon {
    width: 90px; height: 90px; border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0,0,0,.25); margin-bottom: 1.5rem;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.bounce { animation: bounce 2.5s ease-in-out infinite; }
.cta-heading {
    font-size: 3rem; font-weight: 800; color: var(--white);
    line-height: 1.15; margin-bottom: 1.2rem;
}
.cta-para { font-size: 1.15rem; color: rgba(255,255,255,.8); font-weight: 600; margin-bottom: 2.5rem; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; padding: 5rem 2rem 2rem; }
.footer-inner {
    max-width: 1200px; margin: 0 auto 3rem;
    display: flex; gap: 4rem; flex-wrap: wrap;
}
.footer-brand-col { max-width: 280px; }
.footer-logo { height: 50px; margin-bottom: 1rem; filter: brightness(1.2); }
.footer-tagline { font-size: 1rem; color: #94a3b8; font-weight: 600; margin-bottom: 1.5rem; }
.powered-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 50px; padding: .4rem 1rem;
}
.powered-badge span { font-size: .85rem; color: #94a3b8; font-weight: 700; }
.sigma-logo-footer { height: 26px; display: block; }
.footer-nav-cols { display: flex; gap: 4rem; flex: 1; flex-wrap: wrap; }
.footer-col h4 { font-size: 1.1rem; color: var(--white); font-weight: 700; margin-bottom: 1.2rem; }
.footer-col a {
    display: block; color: #94a3b8; font-size: 1rem; font-weight: 600;
    margin-bottom: .8rem; transition: color .2s, transform .2s;
}
.footer-col a:hover { color: var(--orange); transform: translateX(4px); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.07);
    text-align: center; color: #475569; font-size: .95rem; font-weight: 600;
}

/* ===== REVEAL ANIMATIONS ===== */
.will-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s ease, transform .7s ease;
}
.will-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1024px) {
    .hero-heading { font-size: 3.2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .card-a, .card-b { display: none; }
}

@media (max-width: 768px) {
    .hero-inner { flex-direction: column; text-align: center; padding-top: 2rem; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .hero-heading { font-size: 2.8rem; }
    .hero-visual { width: 100%; max-width: 280px; }
    .phone-mockup { width: 260px; }
    .hero-stats { justify-content: center; }
    .nav-menu, #nav-cta { display: none; }
    .hamburger { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase-row, .showcase-reverse { flex-direction: column; }
    .showcase-imgs { height: 280px; width: 100%; }
    .section-heading { font-size: 2.2rem; }
    .cta-heading { font-size: 2.2rem; }
    .footer-inner { flex-direction: column; gap: 2rem; }
    .footer-nav-cols { gap: 2rem; }
}
