@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Fredoka+One&display=swap');


:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --container-max: 1280px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

:root {
    --primary-blue: #0A3D91;
    --bright-blue: #2563EB;
    --primary-orange: #F59E0B;
    --light-blue: #EFF6FF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --purple: #7C3AED;
    --green: #10B981;
    --pink: #EC4899;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: #F8FAFC;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Fredoka One', cursive;
    font-weight: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: var(--bright-blue);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
}

.btn-orange {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.4);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    transition: all 0.3s;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    height: 80px; /* fixed header area */
}

.logo-img {
    width: 140px;
    height: auto;
    object-fit: contain;
}
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Fredoka One', cursive;
    font-size: 28px;
    color: var(--primary-blue);
    line-height: 1;
}

.logo-title span {
    color: var(--primary-orange);
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.navbar {
    height: 80px;
    overflow: hidden;
}
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--bright-blue);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-demo {
    background: var(--bright-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--bright-blue);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 60%, #DBEAFE 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 52px;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-text h1 .highlight {
    color: var(--primary-orange);
}

.hero-desc {
    font-size: 17px;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.5;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-aligned-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    border: 1px solid #E2E8F0;
}

.hero-aligned-badge::before {
    content: '✓';
    background: var(--green);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.h-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.h-feat-icon {
    font-size: 18px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero-float {
    position: absolute;
    animation: floatImg 6s ease-in-out infinite;
}

.hero-float-1 {
    top: -10px;
    right: -10px;
    font-size: 48px;
}

.hero-float-2 {
    bottom: 20px;
    left: -20px;
    font-size: 42px;
    animation-delay: -2s;
}

.hero-float-3 {
    top: 40%;
    right: -30px;
    font-size: 36px;
    animation-delay: -4s;
}

/* ===== PATHWAY ===== */
.pathway-section {
    padding: 80px 0;
    background: white;
}

.sec-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.sec-title span {
    color: var(--primary-orange);
}

.sec-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 500;
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pathway-card {
    background: white;
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 2px solid #F1F5F9;
    transition: all 0.3s;
    position: relative;
}

.pathway-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
}

.pathway-card .grade-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
}

.pathway-card:nth-child(1) .grade-tag {
    background: #DBEAFE;
    color: #2563EB;
}

.pathway-card:nth-child(2) .grade-tag {
    background: #FEF3C7;
    color: #D97706;
}

.pathway-card:nth-child(3) .grade-tag {
    background: #EDE9FE;
    color: #7C3AED;
}

.pathway-card:nth-child(4) .grade-tag {
    background: #D1FAE5;
    color: #059669;
}

.pathway-card h3 {
    font-size: 22px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.pathway-card .platform {
    font-size: 14px;
    color: var(--bright-blue);
    font-weight: 700;
    margin-bottom: 12px;
}

.pathway-card .p-icon {
    font-size: 64px;
    margin-bottom: 12px;
    display: block;
}

.pathway-card .p-desc {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.pathway-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 28px;
    font-weight: bold;
}

/* ===== CURRICULUM INSIDE ===== */
.curriculum-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media(min-width: 900px) {
    .curriculum-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.curr-card {
    background: white;
    border-radius: 20px;
    padding: 28px 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 2px solid #F1F5F9;
    transition: all 0.3s;
}

.curr-card:hover {
    transform: translateY(-6px);
    border-color: #BFDBFE;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.curr-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 14px;
}

.curr-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.curr-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== HOW IT WORKS ===== */
.hiw-section {
    padding: 80px 0;
    background: white;
}

.hiw-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.hiw-step {
    text-align: center;
    flex: 0 1 200px;
}

.hiw-step .step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hiw-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.hiw-step p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.hiw-arrow {
    display: flex;
    align-items: center;
    padding-top: 20px;
    color: #CBD5E1;
    font-size: 20px;
}

/* ===== BADGES ===== */
.badges-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
}

.badges-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.badge-item {
    text-align: center;
    width: 130px;
}

.badge-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    margin: 0 auto 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.badge-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

/* ===== COURSES GRID ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.course-card {
    background: white;
    border-radius: 24px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
    border: 2px solid #F1F5F9;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
    border-color: #BFDBFE;
}

.course-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.course-card h3 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.course-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.course-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

/* ===== LIVE RANKINGS / PODIUM ===== */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
    height: 300px;
}

.podium-pos {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    font-weight: 700;
    margin-bottom: -15px;
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.podium-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 4px;
    text-align: center;
    white-space: nowrap;
}

.podium-pts {
    font-size: 13px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 8px;
}

.podium-bar {
    width: 100%;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    font-family: 'Fredoka One', cursive;
    font-size: 32px;
    color: white;
}

.podium-1 .podium-bar {
    height: 160px;
    background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
}

.podium-2 .podium-bar {
    height: 120px;
    background: linear-gradient(180deg, #94A3B8 0%, #64748B 100%);
}

.podium-3 .podium-bar {
    height: 90px;
    background: linear-gradient(180deg, #B45309 0%, #78350F 100%);
}

.podium-1 .podium-avatar {
    background: #F59E0B;
    width: 100px;
    height: 100px;
    font-size: 40px;
    margin-bottom: -20px;
}

.podium-2 .podium-avatar {
    background: #94A3B8;
}

.podium-3 .podium-avatar {
    background: #B45309;
}

.leaderboard-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    border-collapse: collapse;
}

.leaderboard-table th {
    background: #F8FAFC;
    padding: 14px 22px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #E2E8F0;
}

.leaderboard-table td {
    padding: 14px 22px;
    font-weight: 600;
    border-bottom: 1px solid #F1F5F9;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tr:hover td {
    background: #F8FAFC;
}

.rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--bright-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka One', cursive;
}

/* ===== FEATURES (kept from old page) ===== */
.feature-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 2px solid #F1F5F9;
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse>* {
    direction: ltr;
}

@media (max-width: 900px) {
    .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-card.reverse {
        direction: ltr;
    }
}

.fc-text h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.fc-text h2 span {
    color: var(--primary-orange);
}

.fc-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.fc-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F8FAFC;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    transition: transform 0.2s;
}

.fc-item:hover {
    transform: translateX(8px);
    background: #EFF6FF;
}

.fc-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.demo-window {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
}

.demo-header {
    background: #F1F5F9;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.r {
    background: #EF4444;
}

.demo-dot.y {
    background: #F59E0B;
}

.demo-dot.g {
    background: #10B981;
}

.demo-body {
    padding: 24px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}

.demo-badge {
    background: linear-gradient(135deg, #F59E0B, #EA580C);
    color: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    animation: floatImg 4s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.demo-badge h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    margin-bottom: 8px;
}

.demo-badge .icon {
    font-size: 44px;
    margin-bottom: 12px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E40AF 50%, var(--bright-blue) 100%);
    border-radius: 28px;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 0 auto 40px;
    overflow: hidden;
    position: relative;
    max-width: 1100px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.cta-text h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-text p {
    color: #BFDBFE;
    font-size: 16px;
    margin-bottom: 20px;
}

.cta-text .btn-orange {
    font-size: 16px;
    padding: 14px 32px;
}

.cta-right {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.cta-right h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cta-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #BFDBFE;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.cta-check::before {
    content: '✓';
    background: var(--green);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #1E293B;
    color: white;
    padding: 40px 0 24px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-contact {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-contact a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--bright-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748B;
    font-size: 13px;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: #BFDBFE;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-a {
    max-height: 200px;
    margin-top: 12px;
}

.faq-item.active .faq-q {
    color: var(--bright-blue);
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--bright-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ===== STATS ===== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
    flex-wrap: wrap;
}

.stat-item {
    background: white;
    border-radius: 20px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    min-width: 180px;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-item.blue .stat-icon-wrap {
    background: #DBEAFE;
}

.stat-item.orange .stat-icon-wrap {
    background: #FEF3C7;
}

.stat-item.green .stat-icon-wrap {
    background: #D1FAE5;
}

.stat-info h3 {
    font-size: 28px;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
@keyframes floatImg {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-16px)
    }

    100% {
        transform: translateY(0)
    }
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0)
    }

    33% {
        transform: translate(15px, -15px) rotate(120deg)
    }

    66% {
        transform: translate(-15px, 15px) rotate(240deg)
    }

    100% {
        transform: translate(0, 0) rotate(360deg)
    }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    animation: floatShape 8s linear infinite;
}

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CONTACT (preserved) ===== */
.contact-hero {
    padding: 160px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
}

.contact-wrapper {
    max-width: 1100px;
    margin: -40px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 2px solid #F1F5F9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background: var(--light-blue);
}

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-value {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.cf-group {
    margin-bottom: 20px;
}

.cf-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.cf-group input,
.cf-group textarea,
.cf-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s;
    background: #F8FAFC;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.cf-group input:focus,
.cf-group textarea:focus,
.cf-group select:focus {
    outline: none;
    border-color: var(--bright-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.cf-group textarea {
    min-height: 140px;
    resize: vertical;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .nav-links {
        display: none;
    }

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

    .pathway-arrow {
        display: none;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 36px 24px;
    }

    .hiw-arrow {
        display: none;
    }

    .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-card.reverse {
        direction: ltr;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cf-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .sec-title {
        font-size: 28px;
    }

    .pathway-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-direction: column;
        align-items: center;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Fredoka+One&display=swap');

:root {
    --primary-blue: #0B3D91;
    --bright-blue: #2563EB;
    --primary-orange: #F4A000;
    --light-blue: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #475569;
    --bg-white: #FFFBF5;
    --purple: #7C3AED;
    --green: #10B981;
    --pink: #EC4899;

    /* Spacing Tokens */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 96px;

    /* Section Padding */
    --section-py: var(--space-5xl);
    --section-py-sm: 64px;

    /* Container */
    --container-max: 1440px;
    --container-px: 40px;
}

@media (max-width: 991px) {
    :root {
        --section-py: 72px; /* py-18 tablet */
        --container-px: 24px; /* px-6 tablet */
    }
}
@media (max-width: 600px) {
    :root {
        --section-py: 56px; /* py-14 mobile */
        --container-px: 16px; /* px-4 mobile */
    }

    /* Card Gaps */
    --card-gap: var(--space-lg);
    --card-gap-lg: var(--space-xl);

    /* Border Radius Tokens */
    --radius-sm: 8px;
    --radius-mdn 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Outfit', sans-serif; color: var(--text-main);
    background: linear-gradient(180deg, #FFFBF5 0%, #FFF9F0 20%, #FFFDF7 50%, #FFF7ED 80%, #FFFBF5 100%);
    overflow-x: hidden;
    position: relative;
}
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(251,191,36,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(37,99,235,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(168,85,247,0.03) 0%, transparent 50%);
    pointer-events: none; z-index: 0;
}
body > * { position: relative; z-index: 1; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); width: 100%; }
.text-center { text-align: center; }
.section { padding: var(--section-py) 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border-radius: 50px; font-weight: 600; font-size: 16px; text-decoration: none; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; border: none; position: relative; }
.btn-primary { background: linear-gradient(135deg, #1D4ED8, #2563EB); color: white; box-shadow: 0 4px 15px rgba(37,99,235,0.3), 0 1px 3px rgba(0,0,0,0.08); }
.btn-primary:hover { background: linear-gradient(135deg, #1E40AF, #1D4ED8); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 30px rgba(37,99,235,0.4), 0 2px 6px rgba(0,0,0,0.1); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); box-shadow: 0 2px 10px rgba(37,99,235,0.3); transition: all 0.15s ease; }
.btn-outline { background: rgba(255,255,255,0.8); color: #1D4ED8; border: 2px solid rgba(37,99,235,0.25); backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8); }
.btn-outline:hover { background: rgba(37,99,235,0.08); color: #1D4ED8; border-color: rgba(37,99,235,0.4); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 25px rgba(37,99,235,0.15), inset 0 1px 0 rgba(255,255,255,0.9); }
.btn-outline:active { transform: translateY(-1px) scale(0.98); transition: all 0.15s ease; }
.btn-orange { display: inline-flex; align-items: center; justify-content: center; height: 52px; background: var(--primary-orange); color: white; padding: 0 32px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; transition: all 0.3s; }
.btn-orange:hover { background: #D97706; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(245,158,11,0.25); }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,251,245,0.96); backdrop-filter: blur(16px); padding: 16px 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: none; border-bottom: 1px solid rgba(0,0,0,0.04); }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo-area { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: clamp(100px, 8vw, 120px); max-width: 400px; object-fit: contain; }
.nav-links {
    display: flex; gap: 4px; align-items: center; position: relative;
    background: rgba(248,250,252,0.8); backdrop-filter: blur(12px);
    border: 1.5px solid rgba(30,58,138,0.1);
    padding: 6px 8px; border-radius: 50px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.nav-links a {
    text-decoration: none; color: #1E3A8A; font-weight: 600; font-size: 15.5px;
    position: relative; z-index: 2; padding: 10px 22px; cursor: pointer;
    border-radius: 50px; transition: color 0.3s ease, background 0.3s ease;
}
.nav-links a:hover { color: #2563EB; background: rgba(37,99,235,0.06); }
.nav-cursor {
    display: block; position: absolute; z-index: 1;
    height: calc(100% - 12px); top: 6px;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(30,58,138,0.08));
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 50px;
    opacity: 0; left: 0; width: 0;
    transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.25s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.header-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.btn-demo {
    background: rgba(255,255,255,0.9); color: #1D4ED8; padding: 11px 26px;
    border-radius: 50px; font-weight: 700; font-size: 14.5px; text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1.5px solid rgba(37,99,235,0.2); backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}
.btn-demo:hover {
    transform: translateY(-2px) scale(1.04); color: #1D4ED8;
    background: rgba(37,99,235,0.06); border-color: rgba(37,99,235,0.35);
    box-shadow: 0 6px 20px rgba(37,99,235,0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}
.btn-demo:active { transform: translateY(0) scale(0.97); transition: all 0.15s ease; }
.btn-signin {
    background: linear-gradient(135deg, #1D4ED8, #2563EB); color: white;
    padding: 11px 26px; border-radius: 50px; font-weight: 700; font-size: 14.5px;
    text-decoration: none; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none; box-shadow: 0 4px 15px rgba(37,99,235,0.3), 0 1px 3px rgba(0,0,0,0.06);
}
.btn-signin:hover {
    background: linear-gradient(135deg, #1E40AF, #1D4ED8); color: white;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 25px rgba(37,99,235,0.4), 0 2px 6px rgba(0,0,0,0.08);
}
.btn-signin:active { transform: translateY(0) scale(0.97); transition: all 0.15s ease; box-shadow: 0 2px 8px rgba(37,99,235,0.3); }

/* ===== HAMBURGER MENU ===== */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 8px; border: none; background: none; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--text-main); border-radius: 3px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay { display: none; }

@media (max-width: 968px) {
    .hamburger { display: flex; }
    .nav-links { display: none; }
    .logo-img { height: 85px; max-width: 280px; }
    .mobile-nav-overlay {
        display: block; position: fixed; top: 0; right: -100%; width: 320px; height: 100vh;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
        z-index: 999; padding: 120px var(--space-xl) var(--space-2xl);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
    }
    .mobile-nav-overlay.open { right: 0; }
    .mobile-nav-overlay a {
        display: block; padding: 18px 0; font-size: 18px; font-weight: 700;
        color: var(--text-main); text-decoration: none; border-bottom: 1px solid #F1F5F9;
        transition: all 0.3s;
    }
    .mobile-nav-overlay a:hover { color: var(--bright-blue); padding-left: 12px; }
    .mobile-nav-overlay .mobile-nav-cta {
        margin-top: var(--space-xl); display: block; text-align: center;
        background: var(--bright-blue); color: white; padding: 16px;
        border-radius: var(--radius-md); font-weight: 700; font-size: 16px;
        text-decoration: none; transition: all 0.3s;
    }
    .mobile-nav-overlay .mobile-nav-cta:hover { background: #1D4ED8; }
}

/* ===== HERO ===== */
.hero { padding: 160px 0 96px; position: relative; display: flex; align-items: center; }
.hero-text { max-width: 600px; }
.hero-text h1 { font-family: 'Outfit', sans-serif; font-size: 60px; font-weight: 700; line-height: 1.1; margin-bottom: 24px; color: var(--text-main); letter-spacing: -0.025em; }
.highlight { color: var(--primary-orange); }
.hero-desc { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.625; font-weight: 400; }
.hero-aligned-badge { background: #EFF6FF; color: var(--bright-blue); padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: 14px; display: inline-block; margin-bottom: 24px; }

/* ===== SECTION TITLES ===== */
.sec-title { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 800; color: var(--primary-blue); margin-bottom: 16px; letter-spacing: -0.025em; line-height: 1.1; }
.sec-title span { color: var(--primary-orange); }
.sec-subtitle { font-size: 20px; color: var(--text-muted); margin-bottom: 48px; font-weight: 400; line-height: 1.625; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ===== PATHWAY ===== */
.pathway-section { padding: 0; background: linear-gradient(180deg, #FFFBF5 0%, #FFF7ED 30%, #FEFCF3 70%, #FFFDF7 100%); position: relative; }
.pathway-section::before {
    content: ''; position: absolute; top: 0; right: 0; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(251,191,36,0.08) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}

/* ===== CURRICULUM SLIDER ===== */
.curriculum-section { padding: var(--section-py) 0; background: linear-gradient(180deg, #FFFDF7 0%, #FFF9F0 50%, #FFF7ED 100%); overflow: hidden; position: relative; }
.curriculum-section::before {
    content: ''; position: absolute; bottom: -50px; left: -50px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,0.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.cs-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.cs-header .sec-title { font-size: 48px; font-weight: 800; color: var(--primary-blue); letter-spacing: -1px; margin: 0; }
.cs-header .sec-title span { color: var(--primary-orange); }
.cs-controls { display: flex; gap: 16px; }
.cs-btn { width: 56px; height: 56px; border-radius: 50%; background: white; border: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s; color: var(--text-main); font-weight: bold; }
.cs-btn:hover { background: var(--text-main); color: white; transform: scale(1.05); }

.cs-track-container { position: relative; height: 340px; width: 100%; overflow: visible; }
.cs-card { position: absolute; top: 0; left: 0; width: 55%; height: 100%; border-radius: 20px; padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; gap: 20px; box-shadow: -15px 0 40px rgba(0,0,0,0.08); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease; transform-origin: left center; cursor: pointer; overflow: hidden; }
.cs-card:nth-child(1) { background: #4F46E5; color: white; } /* Indigo - Play */
.cs-card:nth-child(2) { background: #059669; color: white; } /* Emerald - Build */
.cs-card:nth-child(3) { background: #D97706; color: white; } /* Amber - Create */
.cs-card:nth-child(4) { background: #DB2777; color: white; } /* Pink - Innovate */
.cs-card:nth-child(5) { background: #7C3AED; color: white; } /* Purple */
.cs-card:nth-child(6) { background: #2563EB; color: white; } /* Blue */

.cs-card p { color: rgba(255, 255, 255, 0.9); font-weight: 500; }

.cs-card-header h2 { font-size: 36px; font-weight: 800; margin: 0; letter-spacing: -0.5px; max-width: 80%; line-height: 1.2; }
.cs-card-body p { font-size: 20px; line-height: 1.6; max-width: 85%; margin: 0; }

.cs-icon { position: absolute; top: 44px; right: 48px; opacity: 1; color: white; transition: transform 0.3s ease; }
.cs-card:hover .cs-icon { transform: scale(1.1) rotate(5deg); }
.cs-icon .material-symbols-outlined { font-size: 80px; }

.cs-card.collapsed .cs-card-header, .cs-card.collapsed .cs-card-body, .cs-card.collapsed .cs-icon { opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.cs-card .cs-card-header, .cs-card .cs-card-body, .cs-card .cs-icon { opacity: 1; transition: opacity 0.4s ease 0.3s; }


/* ===== HOW IT WORKS TIMELINE ===== */
.hiw-timeline-section {
    padding: var(--section-py) 0;
    background: linear-gradient(180deg, #FFFBF5 0%, #FFF9F0 30%, #FFFDF7 70%, #FFFBF5 100%);
    position: relative; overflow: hidden;
}
.hiw-timeline-section::before { content: ''; position: absolute; top: 10%; left: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%); border-radius: 50%; }
.hiw-timeline-section::after { content: ''; position: absolute; bottom: 10%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(217,119,6,0.04) 0%, transparent 70%); border-radius: 50%; }

.hiw-ambient-blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; opacity: 0.6; }
.blob-1 { width: 400px; height: 400px; background: rgba(37,99,235,0.1); top: 20%; right: -5%; animation: floatBlob 10s ease-in-out infinite alternate; }
.blob-2 { width: 500px; height: 500px; background: rgba(236,72,153,0.08); bottom: 10%; left: -10%; animation: floatBlob 12s ease-in-out infinite alternate-reverse; }
@keyframes floatBlob { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 40px) scale(1.1); } }

.hiw-timeline-grid {
    position: relative; max-width: 1340px; margin: 0 auto; padding: 100px 0;
    display: grid; grid-template-columns: 1fr 4px 1fr; grid-auto-rows: 240px; column-gap: 140px; z-index: 1;
}

.hiw-line-track {
    grid-column: 2; grid-row: 1 / 6;
    background: rgba(226, 232, 240, 0.6); border-radius: 4px; position: relative; width: 4px; margin: 0 auto;
}
.hiw-line-fill {
    position: absolute; top: 0; left: 0; width: 100%; height: 0%;
    background: linear-gradient(to bottom, #2563EB, #7C3AED, #EC4899, #D97706);
    border-radius: 4px; box-shadow: 0 0 20px rgba(37,99,235,0.5);
}

.hiw-item { position: relative; align-self: center; width: 100%; }

/* Exact Row/Col Placement for Perfect Math Staggering */
.hiw-item-1 { grid-column: 1; grid-row: 1 / span 2; }
.hiw-item-2 { grid-column: 3; grid-row: 2 / span 2; }
.hiw-item-3 { grid-column: 1; grid-row: 3 / span 2; }
.hiw-item-4 { grid-column: 3; grid-row: 4 / span 2; }

.hiw-item.left { text-align: left; }
.hiw-item.right { text-align: left; }

.hiw-connector {
    position: absolute; top: 50%; width: 140px; height: 2px; transform: translateY(-50%); opacity: 0; z-index: 1;
}
.hiw-item.left .hiw-connector { right: -140px; background: linear-gradient(to right, rgba(37,99,235,0.6), rgba(37,99,235,0)); transform-origin: left; }
.hiw-item.right .hiw-connector { left: -140px; background: linear-gradient(to left, rgba(37,99,235,0.6), rgba(37,99,235,0)); transform-origin: right; }

.hiw-node-dot {
    position: absolute; top: 50%; width: 24px; height: 24px; background: white; border: 4px solid #CBD5E1;
    border-radius: 50%; transform: translateY(-50%) scale(0); z-index: 3;
}
.hiw-item.left .hiw-node-dot { right: -154px; } /* 140 gap + 14 center */
.hiw-item.right .hiw-node-dot { left: -154px; }
.hiw-node-dot.active { border-color: #2563EB; box-shadow: 0 0 0 8px rgba(37,99,235,0.15); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); } 70% { box-shadow: 0 0 0 15px rgba(37,99,235,0); } 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } }

.hiw-card {
    background: #FFFBF5;
    border: 1px solid #E2E8F0; padding: 32px 40px; border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    opacity: 0; transform: translateY(20px); transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}
.hiw-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04); }

.hiw-card-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 24px; transition: transform 0.4s ease; }
.hiw-card:hover .hiw-card-icon { transform: scale(1.1) rotate(5deg); }

.hiw-card h3 { font-size: 24px; font-weight: 800; color: #0F172A; margin-bottom: 12px; letter-spacing: -0.5px; }
.hiw-card p { font-size: 16px; color: #475569; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
    .hiw-timeline-grid { display: flex; flex-direction: column; padding: 20px; gap: 40px; }
    .hiw-line-track { position: absolute; left: 40px; top: 0; bottom: 0; margin: 0; }
    .hiw-item { padding-left: 60px; }
    .hiw-connector { display: none; }
    .hiw-item.left .hiw-node-dot, .hiw-item.right .hiw-node-dot { left: -72px; right: auto; }
}

/* ===== STICKY FEATURE SHOWCASE ===== */
.sfs-section {
    position: relative; background: linear-gradient(180deg, #FFFBF5 0%, #FFF7ED 20%, #FEFCF3 50%, #EFF6FF 80%, #FFFBF5 100%);
}
.sfs-header {
    text-align: center; padding: var(--section-py) 0 var(--space-3xl); position: relative; z-index: 2;
}
.sfs-header h2 { font-family: 'Outfit', sans-serif; font-size: 48px; font-weight: 800; color: var(--primary-blue); margin-bottom: 16px; letter-spacing: -0.025em; line-height: 1.1; }
.sfs-header h2 span { color: var(--primary-orange); }
.sfs-header p { font-size: 20px; color: #64748B; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.sfs-sticky-wrap {
    display: grid; grid-template-columns: 5.5fr 4.5fr; gap: 56px;
    max-width: 1440px; margin: 0 auto; padding: 0 40px;
    position: relative; min-height: 300vh;
}

/* Left sticky visual area */
.sfs-visual {
    position: sticky; top: 0; height: 100vh;
    display: flex; align-items: center; justify-content: center;
}
.sfs-visual-inner {
    width: 100%; max-width: 580px; height: auto; min-height: 500px;
    position: relative; border-radius: 24px; overflow: hidden;
    background: linear-gradient(145deg, #0F172A, #1E293B);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.sfs-browser-bar {
    display: flex; align-items: center; gap: 8px; padding: 16px 20px;
    background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sfs-browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.sfs-browser-dot:nth-child(1) { background: #EF4444; }
.sfs-browser-dot:nth-child(2) { background: #F59E0B; }
.sfs-browser-dot:nth-child(3) { background: #22C55E; }
.sfs-browser-url {
    flex: 1; margin-left: 12px; background: rgba(255,255,255,0.08); border-radius: 8px;
    padding: 8px 16px; font-size: 13px; color: rgba(255,255,255,0.5); font-family: 'Outfit', monospace;
}

/* Dashboard screens */
.sfs-screen {
    position: absolute; inset: 52px 0 0 0; padding: 40px; display: flex; flex-direction: column; gap: 24px;
    opacity: 0; transform: scale(0.95) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.sfs-screen.active { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }

/* Screen 1: Interactive Learning */
.sfs-lesson-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 28px; backdrop-filter: blur(10px);
}
.sfs-lesson-title { color: #F8FAFC; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.sfs-lesson-subtitle { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 20px; }
.sfs-video-placeholder {
    width: 100%; height: 180px; background: linear-gradient(135deg, #1E3A5F, #2563EB);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.sfs-play-btn {
    width: 64px; height: 64px; background: rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    backdrop-filter: blur(10px); border: 2px solid rgba(255,255,255,0.3);
}
.sfs-progress-track {
    width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 8px;
    margin-top: 16px; overflow: hidden;
}
.sfs-progress-fill {
    height: 100%; width: 0%; background: linear-gradient(90deg, #2563EB, #60A5FA);
    border-radius: 8px; transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sfs-xp-bar {
    display: flex; align-items: center; gap: 12px; margin-top: 16px;
}
.sfs-xp-badge {
    background: linear-gradient(135deg, #F59E0B, #D97706); color: white;
    padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; gap: 6px;
}
.sfs-xp-text { color: rgba(255,255,255,0.6); font-size: 13px; }

/* Screen 2: Gamified Progress */
.sfs-achievement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sfs-achievement-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 24px; text-align: center;
    opacity: 0; transform: translateY(30px);
}
.sfs-achievement-card.revealed { opacity: 1; transform: translateY(0); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.sfs-achievement-icon { font-size: 40px; margin-bottom: 12px; }
.sfs-achievement-name { color: #F8FAFC; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.sfs-achievement-xp { color: #F59E0B; font-size: 13px; font-weight: 600; }
.sfs-level-bar {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 20px 24px; margin-top: 8px;
}
.sfs-level-label { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 12px; display: flex; justify-content: space-between; }
.sfs-level-label span { color: #60A5FA; font-weight: 700; }
.sfs-level-track { width: 100%; height: 12px; background: rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; }
.sfs-level-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #7C3AED, #A78BFA); border-radius: 12px; }

/* Screen 3: Live Rankings */
.sfs-leaderboard { display: flex; flex-direction: column; gap: 12px; }
.sfs-rank-card {
    display: flex; align-items: center; gap: 16px; padding: 16px 20px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; opacity: 0; transform: translateX(-40px);
}
.sfs-rank-card.revealed { opacity: 1; transform: translateX(0); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.sfs-rank-pos {
    width: 36px; height: 36px; border-radius: 10px; display: flex;
    align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: white;
}
.sfs-rank-1 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.sfs-rank-2 { background: linear-gradient(135deg, #94A3B8, #64748B); }
.sfs-rank-3 { background: linear-gradient(135deg, #CD7F32, #A0522D); }
.sfs-rank-other { background: rgba(255,255,255,0.1); }
.sfs-rank-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #7C3AED); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.sfs-rank-info { flex: 1; }
.sfs-rank-name { color: #F8FAFC; font-size: 15px; font-weight: 700; }
.sfs-rank-level { color: rgba(255,255,255,0.5); font-size: 12px; }
.sfs-rank-score { color: #60A5FA; font-weight: 800; font-size: 18px; }

/* Screen 4: Badges */
.sfs-badges-float { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px; }
.sfs-badge-float-item {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 28px 20px; text-align: center;
    opacity: 0; transform: scale(0.8); animation: none;
}
.sfs-badge-float-item.revealed {
    opacity: 1; transform: scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: badgeFloat 3s ease-in-out infinite;
}
.sfs-badge-float-item:nth-child(even) { animation-delay: 1.5s; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sfs-badge-emoji { font-size: 48px; margin-bottom: 12px; display: block; }
.sfs-badge-name { color: #F8FAFC; font-size: 14px; font-weight: 700; }
.sfs-badge-status { font-size: 12px; margin-top: 6px; font-weight: 600; }
.sfs-badge-unlocked { color: #22C55E; }
.sfs-badge-locked { color: rgba(255,255,255,0.3); }

/* Right scrolling features */
.sfs-features {
    display: flex; flex-direction: column; gap: 0; padding: 96px 0;
}
.sfs-feature {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
    max-width: 540px; margin: 0 auto;
    opacity: 0.3; transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.sfs-feature.active { opacity: 1; transform: translateY(0); }
.sfs-feature-icon {
    width: 64px; height: 64px; border-radius: 18px; display: flex;
    align-items: center; justify-content: center; font-size: 32px; margin-bottom: 32px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.sfs-feature.active .sfs-feature-icon { box-shadow: 0 0 30px rgba(37,99,235,0.3); transform: scale(1.05); }
.sfs-feature h3 { font-size: 48px; font-weight: 600; color: #0F172A; margin-bottom: 20px; letter-spacing: -0.025em; line-height: 1.05; }
.sfs-feature p { font-size: 16px; color: #64748B; line-height: 1.625; margin-bottom: 24px; }
.sfs-feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sfs-feature-tag {
    background: rgba(37,99,235,0.08); color: #2563EB; padding: 6px 12px;
    border-radius: 50px; font-size: 13px; font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .sfs-sticky-wrap { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding: 0 24px; }
    .sfs-visual { position: relative; top: 0; height: auto; padding-top: 64px; }
    .sfs-visual-inner { max-width: 520px; min-height: 400px; margin: 0 auto; }
    .sfs-features { padding: 0 0 64px 0; }
    .sfs-feature { min-height: auto; padding: 40px 0; margin: 0; max-width: 100%; }
    .sfs-feature h3 { font-size: 36px; }
    .sfs-achievement-grid { grid-template-columns: 1fr; }
    .sfs-badges-float { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .sfs-sticky-wrap { gap: 32px; padding: 0 16px; }
    .sfs-feature h3 { font-size: 30px; }
    .sfs-visual-inner { min-height: 320px; }
}

/* ===== BADGES ===== */
.badges-section { padding: 80px 0; background: linear-gradient(180deg, #FFFDF7 0%, #FFF9F0 50%, #FFFBF5 100%); }
.badges-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.badge-item { text-align: center; }
.badge-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 10px; }
.badge-item h4 { font-size: 14px; font-weight: 700; color: var(--text-main); }

/* ===== FEATURES ===== */
.feature-card { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; background: white; border-radius: 24px; padding: 48px; border: 1px solid #E2E8F0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.feature-card.reverse { direction: rtl; }
.feature-card.reverse > * { direction: ltr; }
.fc-text h2 { font-size: 32px; margin-bottom: 12px; color: var(--primary-blue); }
.fc-text h2 span { color: var(--primary-orange); }
.fc-text p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.fc-list { display: flex; flex-direction: column; gap: 10px; }
.fc-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--text-main); }
.fc-item-icon { width: 36px; height: 36px; border-radius: 10px; background: white; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.demo-window { background: #F1F5F9; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.demo-header { display: flex; gap: 8px; padding: 14px 16px; background: #E2E8F0; }
.demo-dot { width: 12px; height: 12px; border-radius: 50%; }
.demo-dot.r { background: #EF4444; }
.demo-dot.y { background: #F59E0B; }
.demo-dot.g { background: #10B981; }
.demo-body { padding: 24px; min-height: 200px; }
.demo-badge { background: linear-gradient(135deg, #FCD34D, #F59E0B); padding: 28px; border-radius: 20px; text-align: center; color: white; }
.demo-badge .icon { font-size: 48px; margin-bottom: 12px; }
.demo-badge h4 { font-size: 22px; margin-bottom: 4px; }

/* ===== LEADERBOARD ===== */
.podium-container { display: flex; align-items: flex-end; justify-content: center; gap: 20px; margin-bottom: 40px; }
.podium-pos { text-align: center; }
.podium-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--bright-blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin: 0 auto 8px; }
.podium-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.podium-pts { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.podium-bar { padding: 16px 32px; border-radius: 12px 12px 0 0; font-weight: 800; font-size: 24px; color: white; }
.podium-1 .podium-bar { background: linear-gradient(180deg, #FCD34D, #F59E0B); height: 120px; display: flex; align-items: center; justify-content: center; }
.podium-2 .podium-bar { background: linear-gradient(180deg, #CBD5E1, #94A3B8); height: 90px; display: flex; align-items: center; justify-content: center; }
.podium-3 .podium-bar { background: linear-gradient(180deg, #FDBA74, #F97316); height: 70px; display: flex; align-items: center; justify-content: center; }
.leaderboard-table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.leaderboard-table th { background: #F1F5F9; padding: 14px 20px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 700; }
.leaderboard-table td { padding: 14px 20px; border-top: 1px solid #F1F5F9; font-size: 14px; }
.rank-badge { width: 28px; height: 28px; border-radius: 50%; background: #F1F5F9; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, #0A3D91, #2563EB);
    border-radius: var(--radius-lg); padding: var(--space-2xl);
    display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-xl);
    align-items: center; color: white;
}
.cta-text h2 { font-size: 26px; font-weight: 800; margin-bottom: var(--space-xl); line-height: 1.35; }
.cta-right h4 { font-size: 18px; font-weight: 800; margin-bottom: var(--space-md); }
.cta-check { font-size: 14px; padding: 6px 0; opacity: 0.9; }
.cta-check::before { content: '✓ '; color: #10B981; font-weight: 700; }

/* ===== FLOATING STICKY CTA ===== */
.float-cta {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 950; width: 100%;
    transform: translateY(100%);
    opacity: 0; pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
}
.float-cta.visible {
    transform: translateY(0);
    opacity: 1; pointer-events: auto;
}
/* removed near-footer opacity change so it stops instead */
.float-cta.scroll-hide { transform: translateY(12px); opacity: 0.5; }
.float-cta.no-transition { transition: none; }

.float-cta-body {
    display: flex; align-items: center; gap: var(--space-2xl);
    background: linear-gradient(135deg, #0A3D91 0%, #1E40AF 40%, #2563EB 100%);
    padding: 18px 40px;
    box-shadow: 0 -4px 24px rgba(10, 61, 145, 0.3), 0 -1px 6px rgba(0,0,0,0.1);
}

/* Center: Heading + Button */
.float-cta-center {
    flex: 1; display: flex; align-items: center; gap: var(--space-xl);
    min-width: 0;
}
.float-cta-heading {
    font-size: 18px; color: #FFFFFF;
    line-height: 1.4; margin: 0;
    font-weight: 600;
}
.float-cta-heading strong {
    font-weight: 800;
}

/* CTA Button */
.float-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-orange);
    color: white; padding: 12px 28px; border-radius: var(--radius-full);
    font-size: 14px; font-weight: 700; text-decoration: none;
    white-space: nowrap; flex-shrink: 0; border: none;
    box-shadow: 0 4px 14px rgba(245,158,11,0.3);
    transition: all 0.3s ease;
}
.float-cta-btn:hover {
    transform: scale(1.05);
    background: #D97706;
    box-shadow: 0 6px 20px rgba(245,158,11,0.45);
}
.float-cta-arrow {
    display: inline-block; transition: transform 0.3s ease; font-size: 16px;
}
.float-cta-btn:hover .float-cta-arrow { transform: translateX(4px); }

/* Right: Benefits micro-card */
.float-cta-benefits {
    flex-shrink: 0; padding: 10px 18px; border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
}
.float-cta-benefits-title {
    font-size: 12px; font-weight: 800; color: #FCD34D;
    text-transform: uppercase; letter-spacing: 0.8px;
    display: block; margin-bottom: 4px;
}
.float-cta-benefit-item {
    font-size: 11px; color: rgba(255,255,255,0.85);
    padding: 1px 0; line-height: 1.5;
}

/* ---- Floating CTA Responsive ---- */
@media (max-width: 968px) {
    .float-cta-benefits { display: none; }
    .float-cta-body { padding: 16px 24px; gap: var(--space-lg); }
    .float-cta-heading { font-size: 16px; }
}
@media (max-width: 600px) {
    .float-cta-center { flex-direction: column; gap: 10px; }
    .float-cta-heading { font-size: 14px; text-align: center; }
    .float-cta-btn { width: 100%; justify-content: center; padding: 12px; }
    .float-cta-body { padding: 14px 16px; }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .float-cta-body { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(180deg, #0B1120 0%, #0F172A 100%);
    color: white; padding: 0 0 0; position: relative;
}

/* Gradient divider line */
.footer-divider {
    height: 2px; width: 100%;
    background: linear-gradient(90deg, transparent, #2563EB, #7C3AED, #F59E0B, #2563EB, transparent);
    opacity: 0.5;
}

/* Grid: 5 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding: 80px 0 64px;
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { height: 80px; width: auto; max-width: 280px; object-fit: contain; margin-bottom: 8px; align-self: flex-start; }
.footer-tagline {
    font-size: 13px; font-weight: 700; color: #F59E0B;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px;
}
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.625; margin-bottom: 16px; max-width: 280px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-list a {
    color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px;
    display: flex; align-items: center; gap: 8px;
    transition: color 0.25s;
}
.footer-contact-list a:hover { color: #FFFFFF; }
.fc-icon { font-size: 14px; flex-shrink: 0; width: 18px; text-align: center; }

/* Nav columns */
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
    font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.95);
    text-transform: uppercase; letter-spacing: 1.2px;
    margin-bottom: 4px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col a {
    color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px;
    transition: color 0.25s, transform 0.25s; display: inline-block;
}
.footer-col a:hover { color: #FFFFFF; transform: translateX(3px); }

/* Social + CTA column */
.footer-social-col { display: flex; flex-direction: column; gap: 10px; }

.footer-social-row { display: flex; gap: 10px; margin-bottom: 8px; }
.footer-social-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); text-decoration: none;
    transition: all 0.3s ease;
}
.footer-social-icon:hover {
    background: rgba(37,99,235,0.15); color: #FFFFFF;
    border-color: rgba(37,99,235,0.4);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37,99,235,0.2);
}

.footer-cta-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bright-blue); color: white;
    padding: 10px 20px; border-radius: var(--radius-full);
    font-size: 13px; font-weight: 700; text-decoration: none;
    transition: all 0.3s ease; text-align: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.footer-cta-btn:hover {
    background: #1D4ED8; transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37,99,235,0.4);
}

/* Address bar */
.footer-address {
    font-size: 12px; color: rgba(255,255,255,0.4);
    display: flex; align-items: center; gap: 8px;
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    line-height: 1.5;
}

/* Bottom copyright bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; font-size: 13px; color: rgba(255,255,255,0.35);
}
.footer-bottom-links { display: flex; gap: var(--space-lg); }
.footer-bottom-links a {
    color: rgba(255,255,255,0.35); text-decoration: none;
    transition: color 0.25s; font-size: 13px;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* Footer responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl) var(--space-xl);
    }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); text-align: center; }
    .footer-brand { align-items: center; }
    .footer-logo { align-self: center; }
    .footer-contact-list { align-items: center; }
    .footer-col { align-items: center; }
    .footer-social-col { align-items: center; }
    .footer-social-row { justify-content: center; }
    .footer-address { justify-content: center; text-align: center; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

/* ===== BRAND FLOW ===== */
.brand-flow-wrap { margin-top: 48px; text-align: center; }
.brand-flow-title { font-size: 14px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.flow-items { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flow-step { display: flex; align-items: center; gap: 12px; }
.flow-box { background: white; border: 2px solid #E2E8F0; padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 16px; color: var(--bright-blue); }
.flow-arrow { color: var(--primary-orange); font-size: 20px; font-weight: 700; }
.flow-final { background: var(--bright-blue); color: white; border-color: var(--bright-blue); }

/* ===== STATS BAR ===== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
    flex-wrap: wrap;
}

.stat-item {
    background: white;
    border-radius: 24px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon-wrap .material-symbols-outlined {
    font-size: 28px;
}

.stat-item.blue .stat-icon-wrap {
    background: #DBEAFE;
    color: #2563EB;
}

.stat-item.purple .stat-icon-wrap {
    background: #EDE9FE;
    color: #7C3AED;
}

.stat-item.orange .stat-icon-wrap {
    background: #FEF3C7;
    color: #D97706;
}

.stat-item.green .stat-icon-wrap {
    background: #D1FAE5;
    color: #059669;
}

.stat-info h3 {
    font-size: 30px;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 2px;
    font-weight: 800;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter {
    display: inline-block;
    overflow: hidden;
    position: relative;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFDF7;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: #BFDBFE;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-a {
    max-height: 200px;
    margin-top: 12px;
}

.faq-item.active .faq-q {
    color: var(--bright-blue);
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--bright-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}




/* ===== ANIMATIONS ===== */
@keyframes floatImg {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-16px)
    }

    100% {
        transform: translateY(0)
    }
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0)
    }

    33% {
        transform: translate(15px, -15px) rotate(120deg)
    }

    66% {
        transform: translate(-15px, 15px) rotate(240deg)
    }

    100% {
        transform: translate(0, 0) rotate(360deg)
    }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    animation: floatShape 8s linear infinite;
}

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CONTACT (preserved) ===== */
.contact-hero {
    padding: 160px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, #FFFBF5 0%, #EFF6FF 100%);
}

.contact-wrapper {
    max-width: 1100px;
    margin: -40px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 2px solid #F1F5F9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background: var(--light-blue);
}

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-value {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.cf-group {
    margin-bottom: 20px;
}

.cf-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.cf-group input,
.cf-group textarea,
.cf-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s;
    background: linear-gradient(180deg, #FFFDF7, #FFF9F0);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.cf-group input:focus,
.cf-group textarea:focus,
.cf-group select:focus {
    outline: none;
    border-color: var(--bright-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.cf-group textarea {
    min-height: 140px;
    resize: vertical;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== AMBIENT DECORATIONS ===== */
@keyframes floatSparkle {
    0% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 0.8; }
    100% { transform: translateY(0) scale(1); opacity: 0.5; }
}
@keyframes softPulse {
    0%, 100% { opacity: 0.04; transform: scale(1); }
    50% { opacity: 0.08; transform: scale(1.05); }
}

/* Hero ambient glow orbs */
.hero-section::before {
    content: ''; position: absolute; top: 10%; right: -5%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(251,191,36,0.08) 0%, transparent 65%);
    border-radius: 50%; z-index: 0; animation: softPulse 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-section::after {
    content: ''; position: absolute; bottom: -10%; left: -5%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%);
    border-radius: 50%; z-index: 0; animation: softPulse 10s ease-in-out infinite alternate;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav-links a { padding: 9px 16px; font-size: 14px; }
    .nav-links { padding: 5px 6px; gap: 2px; }
    .nav-cursor { height: calc(100% - 10px); top: 5px; }
    .logo-img { height: 95px; max-width: 320px; }
}

@media (max-width: 968px) {
    :root {
        --section-py: var(--space-4xl);
    }

    .hero-content { flex-direction: column; text-align: center; margin-left: 0; }
    .hero-text { max-width: 100%; }
    .hero-features { justify-content: center; }
    .hero-btns { justify-content: center; flex-wrap: wrap; }
    .hero-text h1 { font-size: 40px; }

    .pathway-sticky-left {
        position: relative; float: none; width: 100%;
        height: auto; padding: var(--space-3xl) var(--container-px) var(--space-xl);
        text-align: center;
    }
    .pathway-scroll-right {
        width: 100%; margin-left: 0;
        padding: 0 var(--container-px) var(--space-3xl);
    }
    .pathway-scroll-card { padding: var(--space-xl); margin-bottom: var(--space-xl); }

    .cs-header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
    .cs-header .sec-title { font-size: 36px; }
    .cs-track-container { height: 320px; }

    .cta-banner { grid-template-columns: 1fr; text-align: center; padding: var(--space-2xl) var(--space-lg); }

    .feature-card { grid-template-columns: 1fr; }
    .feature-card.reverse { direction: ltr; }

    .contact-wrapper { grid-template-columns: 1fr; }
    .cf-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sec-title { font-size: 32px; }
    .sfs-header h2 { font-size: 32px; }
    .sfs-header p { font-size: 16px; }
    .stats-bar { gap: var(--space-md); }
    .stat-item { min-width: 160px; padding: 18px 20px; }
    .stat-info h3 { font-size: 24px; }
}

@media (max-width: 600px) {
    :root {
        --section-py: var(--space-3xl);
        --container-px: var(--space-md);
    }

    .logo-img { height: 75px; max-width: 260px; }
    .hero { min-height: auto; padding-top: 110px; }
    .hero-text h1 { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-features { gap: 16px; flex-wrap: wrap; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; text-align: center; }

    .sec-title { font-size: 28px; }
    .sec-subtitle { font-size: 15px; }

    .stats-bar { flex-direction: column; align-items: center; gap: var(--space-sm); }
    .stat-item { width: 100%; max-width: 320px; }

    .cs-header .sec-title { font-size: 28px; }
    .cs-card-header h2 { font-size: 24px; }
    .cs-card-body p { font-size: 16px; }

    .hiw-card { padding: var(--space-lg); }
    .hiw-card h3 { font-size: 20px; }

    .sfs-header h2 { font-size: 28px; }

    .faq-q { font-size: 15px; }

    .program-grid { gap: var(--space-lg); }

    .mobile-nav-overlay { width: 100%; }
}

/* ===== BTN SIGN IN (override for standalone usage) ===== */
.btn-signin {
    background: linear-gradient(135deg, #1D4ED8, #2563EB);
    color: white;
    border: none;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(37,99,235,0.3), 0 1px 3px rgba(0,0,0,0.06);
}
.btn-signin:hover {
    background: linear-gradient(135deg, #1E40AF, #1D4ED8);
    color: white;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

/* ===== AUTH SPLASH MODAL ===== */
.auth-splash-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}
.auth-splash-modal.active {
    display: flex;
}
.auth-splash-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

/* Scoped Code from Codepen */
.auth-splash-modal h1 {
	font-weight: bold;
	margin: 0;
}
.auth-splash-modal h2 {
	text-align: center;
}
.auth-splash-modal p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
    color: inherit;
}
.auth-splash-modal span {
	font-size: 12px;
}
.auth-splash-modal a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
	margin: 15px 0;
}
.auth-splash-modal button {
	border-radius: 20px;
	border: 1px solid #FF4B2B;
	background-color: #FF4B2B;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 12px 45px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: transform 80ms ease-in;
    cursor: pointer;
}
.auth-splash-modal button:active {
	transform: scale(0.95);
}
.auth-splash-modal button:focus {
	outline: none;
}
.auth-splash-modal button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}
.auth-splash-modal form {
	background-color: #FFFBF5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}
.auth-splash-modal input {
	background-color: #eee;
	border: none;
	padding: 12px 15px;
	margin: 8px 0;
	width: 100%;
    outline: none;
}
.auth-splash-container {
	background-color: #fff;
	border-radius: 10px;
  	box-shadow: 0 14px 28px rgba(0,0,0,0.25),
			0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
	width: 768px;
	max-width: 90%;
	min-height: 480px;
}
.auth-splash-modal .form-container {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.6s ease-in-out;
}
.auth-splash-modal .sign-in-container {
	left: 0;
	width: 50%;
	z-index: 2;
}
.auth-splash-container.right-panel-active .sign-in-container {
	transform: translateX(100%);
}
.auth-splash-modal .sign-up-container {
	left: 0;
	width: 50%;
	opacity: 0;
	z-index: 1;
}
.auth-splash-container.right-panel-active .sign-up-container {
	transform: translateX(100%);
	opacity: 1;
	z-index: 5;
	animation: show 0.6s;
}
@keyframes show {
	0%, 49.99% { opacity: 0; z-index: 1; }
	50%, 100% { opacity: 1; z-index: 5; }
}
.auth-splash-modal .overlay-container {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transition: transform 0.6s ease-in-out;
	z-index: 100;
}
.auth-splash-container.right-panel-active .overlay-container{
	transform: translateX(-100%);
}
.auth-splash-modal .overlay {
	background: #FF416C;
	background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
	background: linear-gradient(to right, #FF4B2B, #FF416C);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	color: #FFFFFF;
	position: relative;
	left: -100%;
	height: 100%;
	width: 200%;
  	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}
.auth-splash-container.right-panel-active .overlay {
  	transform: translateX(50%);
}
.auth-splash-modal .overlay-panel {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 40px;
	text-align: center;
	top: 0;
	height: 100%;
	width: 50%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}
.auth-splash-modal .overlay-left {
	transform: translateX(-20%);
}
.auth-splash-container.right-panel-active .overlay-left {
	transform: translateX(0);
}
.auth-splash-modal .overlay-right {
	right: 0;
	transform: translateX(0);
}
.auth-splash-container.right-panel-active .overlay-right {
	transform: translateX(20%);
}
.auth-splash-modal .social-container {
	margin: 20px 0;
}
.auth-splash-modal .social-container a {
	border: 1px solid #DDDDDD;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0 5px;
	height: 40px;
	width: 40px;
}

/* ===== NEW PATHWAY SYSTEM ===== */
.pw-container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.pw-grid { display: grid; grid-template-columns: 480px 1fr; gap: 56px; align-items: start; }
.pw-left { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; z-index: 10; }
.pw-right { display: flex; flex-direction: column; gap: 24px; padding: 96px 0; }

.pw-title { font-family: 'Outfit', sans-serif; font-size: 52px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; color: var(--primary-blue); margin-bottom: 24px; }
.pw-highlight { color: var(--primary-orange); }
.pw-desc { max-width: 440px; color: var(--text-muted); line-height: 1.625; margin-bottom: 24px; font-size: 17px; }
.pw-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pw-tag { padding: 6px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; }

.pw-tag.blue { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.pw-tag.amber { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.pw-tag.purple { background: #F5F3FF; color: #6D28D9; border: 1px solid #DDD6FE; }
.pw-tag.green { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }

/* Pathway Cards */
.pw-card {
    background: #FFFDF7;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    border: 1px solid #E2E8F0;
    position: relative;
    z-index: 2;
}
.pw-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.pw-card-title { font-size: 32px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; letter-spacing: -0.025em; }
.pw-card-subtitle { font-weight: 600; font-size: 14px; margin-bottom: 24px; }
.pw-card-desc { color: var(--text-muted); font-size: 16px; line-height: 1.625; max-width: 540px; margin: 0; }

.pw-visual {
    height: 120px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}
.pw-visual .material-symbols-outlined { font-size: 64px; }
.pw-card:hover .pw-visual { transform: scale(1.02); }

/* Themes */
.pw-card.blue .pw-badge { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }
.pw-card.blue .pw-card-subtitle { color: #2563EB; }
.pw-card.blue .pw-visual { background: #EFF6FF; color: #2563EB; border: 1px solid #E0E7FF; }

.pw-card.amber .pw-badge { background: #FFFBEB; color: #D97706; border: 1px solid #FDE68A; }
.pw-card.amber .pw-card-subtitle { color: #D97706; }
.pw-card.amber .pw-visual { background: #FFFBEB; color: #D97706; border: 1px solid #FEF3C7; }

.pw-card.purple .pw-badge { background: #F5F3FF; color: #7C3AED; border: 1px solid #DDD6FE; }
.pw-card.purple .pw-card-subtitle { color: #7C3AED; }
.pw-card.purple .pw-visual { background: #F5F3FF; color: #7C3AED; border: 1px solid #EDE9FE; }

.pw-card.green .pw-badge { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.pw-card.green .pw-card-subtitle { color: #059669; }
.pw-card.green .pw-visual { background: #ECFDF5; color: #059669; border: 1px solid #D1FAE5; }

/* Responsive */
@media (max-width: 991px) {
    .pw-grid { grid-template-columns: 340px 1fr; gap: 32px; }
    .pw-container { padding: 0 24px; }
    .pw-title { font-size: 36px; }
    .pw-desc { max-width: 320px; }
    .pw-card { padding: 24px; }
}
@media (max-width: 768px) {
    .pw-grid { grid-template-columns: 1fr; gap: 24px; }
    .pw-container { padding: 0 16px; }
    .pw-left { position: relative; height: auto; top: 0; margin-bottom: 16px; padding-top: 64px; display: block; }
    .pw-right { padding: 0 0 64px 0; gap: 20px; }
    .pw-title { font-size: 30px; }
    .pw-desc { max-width: 100%; }
    .pw-card-title { font-size: 24px; }
    .pw-visual { height: 100px; margin-bottom: 16px; }
    .pw-visual .material-symbols-outlined { font-size: 48px; }
}

/* ===== HERO REFACTOR ===== */
.hero-section {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #FFFBF5 0%, #FFF9F0 60%, #FFFDF7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: clip;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: center;
}

.hero-text-wrap {
    max-width: 680px;
    z-index: 10;
    position: relative;
    padding-right: 16px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--primary-blue);
    letter-spacing: -0.025em;
}

.hero-desc {
    font-size: 20px;
    color: #64748B;
    margin-bottom: 28px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 560px;
}

.hero-aligned-badge {
    background: #EFF6FF;
    color: #2563EB;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.12);
}

.hero-aligned-badge::before {
    content: '✓';
    background: #10B981;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.hero-features {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.h-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.h-feat-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    border: 2px solid transparent;
}

.h-feat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.h-feat:hover .h-feat-icon {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.h-feat:hover .h-feat-icon img {
    transform: scale(1.1);
}

.h-feat:active .h-feat-icon {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.h-feat-icon.purple { background: #F5F3FF; }
.h-feat-icon.green { background: #ECFDF5; }
.h-feat-icon.orange { background: #FFFBEB; }
.h-feat-icon.blue { background: #EFF6FF; }

.h-feat:hover .h-feat-icon.purple { border-color: #C4B5FD; box-shadow: 0 12px 28px rgba(124, 58, 237, 0.15); }
.h-feat:hover .h-feat-icon.green { border-color: #86EFAC; box-shadow: 0 12px 28px rgba(5, 150, 105, 0.15); }
.h-feat:hover .h-feat-icon.orange { border-color: #FCD34D; box-shadow: 0 12px 28px rgba(217, 119, 6, 0.15); }
.h-feat:hover .h-feat-icon.blue { border-color: #93C5FD; box-shadow: 0 12px 28px rgba(37, 99, 235, 0.15); }

.h-feat-label {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.h-feat:hover .h-feat-label { color: #1E293B; }

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-hero {
    border-radius: 50px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.btn-hero .material-symbols-outlined { font-size: 20px; }
.btn-hero:hover { transform: translateY(-3px) scale(1.04); }
.btn-hero:active { transform: translateY(-1px) scale(0.97); transition: all 0.15s ease; }
.btn-hero.btn-primary { box-shadow: 0 6px 20px rgba(37,99,235,0.35), 0 2px 6px rgba(0,0,0,0.08); }
.btn-hero.btn-primary:hover { box-shadow: 0 12px 35px rgba(37,99,235,0.45), 0 4px 10px rgba(0,0,0,0.1); }
.btn-hero.btn-outline { box-shadow: 0 4px 15px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9); }
.btn-hero.btn-outline:hover { box-shadow: 0 10px 30px rgba(37,99,235,0.18), inset 0 1px 0 rgba(255,255,255,0.95); }

/* Image Area */
.hero-image-wrap {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: 0;
    overflow: visible;
}

.hero-image-element {
    width: 100%;
    max-width: 740px;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    position: relative;
}

/* Responsive Scaling */
@media (max-width: 1200px) {
    .hero-title { font-size: 52px; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-image-wrap { margin-left: 0; }
    .hero-image-element { width: 100%; max-width: 620px; }
}

@media (max-width: 991px) {
    .hero-section { padding: 140px 0 80px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-text-wrap { max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .hero-desc { text-align: center; margin: 0 auto 28px; }
    .hero-features { justify-content: center; }
    .hero-btns { justify-content: center; }
    .hero-image-wrap { margin-left: 0; }
    .hero-image-element { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero-section { padding: 120px 0 60px; }
    .hero-container { padding: 0 24px; }
    .hero-title { font-size: 42px; }
    .hero-desc { font-size: 18px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-hero { width: 100%; justify-content: center; }
    .hero-features { gap: 16px; }
}

/* ===== LARGE SCREEN SCALING ===== */
@media (min-width: 1600px) {
    :root {
        --container-max: 1520px;
        --container-px: 48px;
    }
    .hero-container { max-width: 1520px; }
    .hero-title { font-size: 74px; }
    .hero-desc { font-size: 22px; max-width: 640px; }
    .hero-text-wrap { max-width: 760px; }
    .hero-image-element { max-width: none; transform: scale(1); }
    .hero-grid { gap: 40px; }
    .hero-image-wrap { margin-left: 0px; }

    .pw-container { max-width: 1520px; }
    .pw-grid { grid-template-columns: 540px 1fr; gap: 64px; }
    .pw-title { font-size: 56px; }
    .pw-desc { max-width: 500px; font-size: 18px; }

    .sfs-sticky-wrap { max-width: 1520px; }
    .sfs-visual-inner { max-width: 640px; min-height: 540px; }
    .sfs-feature { max-width: 580px; }
    .sfs-feature h3 { font-size: 52px; }

    .hiw-timeline-grid { max-width: 1420px; }

    .sec-title { font-size: 40px; }
    .sec-subtitle { font-size: 22px; }

    .stat-item { padding: 28px 36px; min-width: 220px; }
    .stat-info h3 { font-size: 34px; }

    .faq-grid { max-width: 960px; }
}

@media (min-width: 1920px) {
    :root {
        --container-max: 1600px;
        --container-px: 56px;
    }
    .hero-container { max-width: 1600px; }
    .hero-title { font-size: 80px; }
    .hero-desc { font-size: 24px; max-width: 680px; }
    .hero-text-wrap { max-width: 800px; }
    .hero-image-element { max-width: none; transform: scale(1); }
    .hero-image-wrap { margin-left: 0px; }

    .pw-container { max-width: 1600px; }
    .pw-grid { grid-template-columns: 600px 1fr; }
    .pw-title { font-size: 60px; }

    .sfs-sticky-wrap { max-width: 1600px; }
    .sfs-visual-inner { max-width: 700px; min-height: 580px; }
    .sfs-feature { max-width: 620px; }

    .hiw-timeline-grid { max-width: 1500px; }
    .hiw-card { padding: 40px 48px; }
    .hiw-card h3 { font-size: 28px; }
    .hiw-card p { font-size: 18px; }
}

/* --- Reveal Split Cards Section --- */
#coding-journey {
    padding: 64px 0;
    background: linear-gradient(180deg, #FFFDF7 0%, #FFF7ED 50%, #FEFCF3 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle radial blur gradients */
#coding-journey::before {
    content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(30, 77, 183, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

#coding-journey::after {
    content: ''; position: absolute; bottom: -100px; right: -100px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(244, 160, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cj-header {
    text-align: center;
    margin-bottom: 40px;
}
.cj-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #1E4DB7;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.cj-header h2 span {
    color: #F4A000;
}
.cj-header p {
    font-size: 18px;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

.cj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
    padding: 0;
}

.cj-card {
    background: #ffffff; /* Brainel cream/white */
    border-radius: 28px;
    height: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(30, 77, 183, 0.05);
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cj-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Default state: Full cover image */
.cj-cover-img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    z-index: 2;
}

/* Hover state reveal grid */
.cj-grid-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    gap: 16px;
    z-index: 1;
    background: #ffffff;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cj-card:hover .cj-grid-reveal {
    opacity: 1;
    transform: scale(1);
}

/* Grid Layouts */
.layout-stacked {
    flex-direction: column;
}

.layout-stacked .cj-grid-item {
    flex: 1;
    width: 100%;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.layout-three {
    flex-direction: column;
}

.layout-three .cj-grid-row {
    display: flex;
    flex: 1;
    gap: 16px;
    width: 100%;
}

.layout-three .cj-grid-row .cj-grid-item {
    flex: 1;
    height: 100%;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.layout-three > .cj-grid-item {
    flex: 1;
    width: 100%;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    margin-top: 16px; /* Because there is no parent gap applying to this element cleanly without display flex gap inside layout-three but we just use margin here */
}

/* Fix for layout-three gap */
.layout-three {
    display: flex;
    gap: 16px; /* Actually, we can just use gap here */
}
.layout-three > .cj-grid-item {
    margin-top: 0; /* reset */
}

/* Slight parallax effect on inner items */
.cj-grid-item {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.cj-card:hover .cj-grid-item:hover {
    transform: scale(1.02);
}

/* Hide unused old classes */

.cj-title {
    font-family: 'Fredoka One', cursive;
    font-size: 20px;
    color: #1E4DB7;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.cj-card:hover .cj-title {
    color: #0B3D91;
}

.cj-subtitle {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 24px;
}

.cj-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3B82F6, #1E4DB7);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(30, 77, 183, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.9;
    transform: translateY(0);
}

.cj-card:hover .cj-btn {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 77, 183, 0.4);
}

.cj-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}

.cj-card:hover .cj-btn i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .cj-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 640px) {
    .cj-grid { grid-template-columns: 1fr; gap: 24px; }
    .cj-header h2 { font-size: 36px; }
}
/* ===== PREMIUM CODING JOURNEY ACCORDION ===== */
.cj-premium-section {
    background-color: #F6F2EA;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cj-ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}
.cj-blob-left {
    width: 400px; height: 400px;
    background: rgba(139, 92, 246, 0.15); /* Soft purple */
    top: -100px; left: -100px;
}
.cj-blob-right {
    width: 450px; height: 450px;
    background: rgba(239, 68, 68, 0.1); /* Soft red/pink */
    bottom: -150px; right: -150px;
}

.cj-premium-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}
.cj-premium-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    line-height: 1.05;
}
.cj-premium-header h2 span {
    color: #F4A000;
    display: inline-block;
}
.cj-premium-header p {
    font-size: 18px; color: #475569; max-width: 600px; margin: 0 auto;
    line-height: 1.6;
}

.cj-accordion-container {
    display: flex; flex-direction: column; gap: 20px;
    position: relative; z-index: 2;
}

.cj-acc-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03), inset 0 0 0 1px rgba(255,255,255,0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
}
.cj-acc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.6);
}

.cj-acc-header {
    display: flex; align-items: center; padding: 28px 32px; gap: 24px;
}
.cj-acc-indicator {
    width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
}
.cj-card-green .cj-acc-indicator { background: #10B981; box-shadow: 0 0 12px rgba(16,185,129,0.5); }
.cj-card-blue  .cj-acc-indicator { background: #3B82F6; box-shadow: 0 0 12px rgba(59,130,246,0.5); }
.cj-card-purple .cj-acc-indicator { background: #8B5CF6; box-shadow: 0 0 12px rgba(139,92,246,0.5); }
.cj-card-red   .cj-acc-indicator { background: #F43F5E; box-shadow: 0 0 12px rgba(244,63,94,0.5); }

/* Glowing backgrounds on hover based on color */
.cj-card-green:hover { background: rgba(255, 255, 255, 0.85); box-shadow: 0 12px 40px rgba(16,185,129,0.08); }
.cj-card-blue:hover  { background: rgba(255, 255, 255, 0.85); box-shadow: 0 12px 40px rgba(59,130,246,0.08); }
.cj-card-purple:hover { background: rgba(255, 255, 255, 0.85); box-shadow: 0 12px 40px rgba(139,92,246,0.08); }
.cj-card-red:hover   { background: rgba(255, 255, 255, 0.85); box-shadow: 0 12px 40px rgba(244,63,94,0.08); }

.cj-acc-titles { flex: 1; }
.cj-acc-grade { font-size: 13px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 6px; }
.cj-card-green .cj-acc-grade { color: #059669; }
.cj-card-blue  .cj-acc-grade { color: #2563EB; }
.cj-card-purple .cj-acc-grade { color: #7C3AED; }
.cj-card-red   .cj-acc-grade { color: #E11D48; }

.cj-acc-titles h3 { font-size: 24px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.cj-acc-titles p { font-size: 15px; color: #475569; margin: 0; }

.cj-acc-arrow {
    width: 40px; height: 40px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center;
    color: #64748b; transition: transform 0.4s ease, background 0.3s;
}
.cj-acc-card:hover .cj-acc-arrow { background: #e2e8f0; color: #0f172a; }
.cj-acc-card.active .cj-acc-arrow { transform: rotate(180deg); background: #0f172a; color: white; }

.cj-acc-body {
    max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cj-acc-content {
    padding: 0 32px 32px 72px; /* aligns with content */
}

/* Mini Cards */
.cj-mini-grid { display: grid; gap: 16px; }
.cj-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cj-grid-3 { grid-template-columns: repeat(3, 1fr); }

.cj-mini-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cj-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mc-grade {
    display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.cj-mini-card h4 { font-size: 16px; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.4; }

/* Themes for mini cards */
.theme-pastel { background: linear-gradient(135deg, #ffffff, #fdfbf7); }
.theme-pastel .mc-grade { background: #D1FAE5; color: #065F46; }
.theme-pastel:hover { border-color: #34D399; }

.theme-cyan { background: linear-gradient(135deg, #ffffff, #f0f9ff); }
.theme-cyan .mc-grade { background: #DBEAFE; color: #1E40AF; }
.theme-cyan:hover { border-color: #60A5FA; }

.theme-purple { background: linear-gradient(135deg, #ffffff, #f5f3ff); }
.theme-purple .mc-grade { background: #EDE9FE; color: #5B21B6; }
.theme-purple:hover { border-color: #A78BFA; }

.theme-red { background: linear-gradient(135deg, #ffffff, #fff1f2); }
.theme-red .mc-grade { background: #FFE4E6; color: #9F1239; }
.theme-red:hover { border-color: #FB7185; }

@media (max-width: 768px) {
    .cj-acc-header { padding: 20px; gap: 16px; }
    .cj-acc-content { padding: 0 20px 24px 20px; }
    .cj-grid-2, .cj-grid-3 { grid-template-columns: 1fr; }
    .cj-premium-header h2 { font-size: 32px; }
    .cj-acc-titles h3 { font-size: 20px; }
    .cj-acc-arrow { display: none; /* simple mobile */ }
}
/* ===== Notebook Style Adjustments ===== */
.notebook-theme {
    background-color: #FFFFFF;
    background-image:
        radial-gradient(#e2e8f0 1px, transparent 1px),
        radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

.notebook-page {
    position: relative;
    background: #FFFFFF;
    background-image:
        linear-gradient(to right, transparent 65px, rgba(244, 63, 94, 0.15) 65px, rgba(244, 63, 94, 0.15) 67px, transparent 67px);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px 28px 28px 8px; /* Flat left edge for notebook */
    box-shadow:
        2px 4px 12px rgba(0,0,0,0.05),
        inset -2px 0 10px rgba(0,0,0,0.02),
        inset 0 -2px 10px rgba(0,0,0,0.02);
    display: flex; /* Horizontal flex: spiral on left, content right */
}
.notebook-page:hover {
    transform: translateY(-2px) rotate(-0.5deg);
    box-shadow:
        4px 8px 20px rgba(0,0,0,0.08),
        inset -2px 0 10px rgba(0,0,0,0.02),
        inset 0 -2px 10px rgba(0,0,0,0.02);
}

.notebook-spiral {
    width: 60px;
    background: rgba(0,0,0,0.02);
    border-right: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 24px 0;
    flex-shrink: 0;
}
.spiral-hole {
    width: 14px;
    height: 14px;
    background: #e2e8f0;
    border-radius: 50%;
    box-shadow: inset 1px 2px 4px rgba(0,0,0,0.2);
    position: relative;
}
.spiral-coil {
    position: absolute;
    width: 24px;
    height: 8px;
    background: linear-gradient(180deg, #d1d5db, #f8fafc, #94a3b8);
    border-radius: 4px;
    left: -12px;
    top: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
}

.notebook-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notebook-page .cj-acc-header {
    padding: 24px 32px 24px 24px; /* adjusted padding, margin line is at 65px relative to page but 5px relative to content */
}

/* Remove indicator, replaced by spiral */
.notebook-page .cj-acc-indicator { display: none; }

.notebook-page .cj-acc-content {
    padding: 0 32px 32px 24px;
}

/* Notebook themes shadow colors override */
.notebook-page.cj-card-green:hover { box-shadow: 4px 8px 24px rgba(16,185,129,0.15), inset -2px 0 10px rgba(0,0,0,0.02); background-color: #FFFFFF; }
.notebook-page.cj-card-blue:hover  { box-shadow: 4px 8px 24px rgba(59,130,246,0.15), inset -2px 0 10px rgba(0,0,0,0.02); background-color: #FFFFFF; }
.notebook-page.cj-card-purple:hover { box-shadow: 4px 8px 24px rgba(139,92,246,0.15), inset -2px 0 10px rgba(0,0,0,0.02); background-color: #FFFFFF; }
.notebook-page.cj-card-red:hover   { box-shadow: 4px 8px 24px rgba(244,63,94,0.15), inset -2px 0 10px rgba(0,0,0,0.02); background-color: #FFFFFF; }

@media (max-width: 768px) {
    .notebook-page { border-radius: 8px 20px 20px 8px; }
    .notebook-spiral { width: 40px; }
    .notebook-page { background-image: linear-gradient(to right, transparent 45px, rgba(244, 63, 94, 0.15) 45px, rgba(244, 63, 94, 0.15) 47px, transparent 47px); }
    .notebook-page .cj-acc-header { padding: 20px 20px 20px 16px; }
    .notebook-page .cj-acc-content { padding: 0 20px 24px 16px; }
    .spiral-coil { width: 18px; left: -8px; }
}

/* =========================================
   V4 DESIGN SYSTEM OVERRIDES (FROM FIX.MD)
   ========================================= */

/* 2. Container System */
.container {
    width: min(var(--container-max), calc(100% - 48px));
    margin-inline: auto;
    padding: 0;
    max-width: none;
}

/* 3. Hero Layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

/* 4. Grid System & Cards */
.pathway-grid, .curriculum-grid, .courses-grid, .features-grid {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .pathway-grid, .curriculum-grid, .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .pathway-grid { grid-template-columns: repeat(4, 1fr); }
    .curriculum-grid { grid-template-columns: repeat(3, 1fr); }
    .courses-grid { grid-template-columns: repeat(3, 1fr); }
}

.course-card, .pathway-card, .curr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.course-card p, .pathway-card p, .curr-card p {
    margin-bottom: var(--space-6);
}
.course-card .btn, .pathway-card .btn, .course-card .course-footer, .card-footer {
    margin-top: auto;
}

/* 6. Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}
h2, .sec-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: var(--space-3);
}

/* 7. Section Rhythm */
.section, .pathway-section, .curriculum-section, .hiw-section, .badges-section {
    padding-block: clamp(72px, 10vw, 120px);
}

/* Fix massive whitespace gap between Pathway and Curriculum */
.pathway-section {
    padding-bottom: clamp(24px, 4vw, 48px) !important;
}

.curriculum-section {
    padding-top: clamp(32px, 5vw, 64px) !important;
}

/* 8. Responsiveness for Hero */
.hero, .hero-section {
    padding-top: clamp(120px, 15vw, 180px) !important;
    padding-bottom: clamp(60px, 8vw, 100px) !important;
    min-height: auto !important; /* Prevents 100vh explosion when zooming out */
    align-items: flex-start !important; /* Prevents vertical centering from pushing content down */
}

/* =========================================
   V4 DESIGN SYSTEM OVERRIDES (PART 2)
   ========================================= */

/* Shadow & Z-Index System Variables */
:root {
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(37,99,235,0.08);

  --z-below: -1;
  --z-base: 1;
  --z-nav: 100;
  --z-modal: 1000;
}

/* Container Variants */
.container-sm { max-width: 800px; margin-inline: auto; padding-inline: var(--space-4); }
.container-md { max-width: 1024px; margin-inline: auto; padding-inline: var(--space-4); }

/* Buttons Standardization */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    min-height: 44px; /* Touch friendly */
}

/* Navbar & Footer Refinement */
.header, .navbar {
    padding-block: var(--space-4);
    z-index: var(--z-nav);
    box-shadow: var(--shadow-sm);
}

.nav-links {
    gap: var(--space-6);
}

.main-footer {
    padding-top: clamp(48px, 8vw, 80px);
    padding-bottom: 0;
}

.footer-grid {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    }
}

/* Touch Targets on Mobile */
@media (max-width: 968px) {
    a, button, .nav-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Fix Mobile Header Overflow */
    .header-actions .btn-demo {
        display: none !important;
    }
    /* Keep Sign In visible on mobile, but make it compact to fit next to hamburger */
    .header-actions .btn-signin {
        display: inline-flex !important;
        padding: 6px 16px !important;
        font-size: 14px !important;
        height: auto !important;
    }
    .nav-links {
        display: none !important;
    }

    /* Ensure Header Container Stays Flex */
    .header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}

/* User's Mobile Navbar Injection */
@media (max-width: 768px) {
    .navbar-brand img {
       max-width: 140px;
    }
    .navbar-toggler {
       display: block !important;
       margin-left: auto;
    }
}
