/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary-color: #6C5CE7;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #0A0A0A;
    --border-color: #E5E5E5;
    --gradient-1: linear-gradient(135deg, #0066FF 0%, #6C5CE7 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* CJK font overrides */
html[lang="zh-CN"] body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

html[lang="zh-TW"] body {
    font-family: 'Inter', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
}

html[lang="ja"] body {
    font-family: 'Inter', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', sans-serif;
}

html[lang="ko"] body {
    font-family: 'Inter', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
}

.logo-leo {
    color: #D4A017;
    font-weight: 900;
}

.logo-class {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-transform: capitalize;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-login):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-login)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-login):hover::after {
    width: 100%;
}

.nav-links a.nav-grant-link {
    color: #D4A017 !important;
    font-weight: 700 !important;
    position: relative;
}

.nav-links a.nav-grant-link::before {
    content: '🔥';
    margin-right: 4px;
    font-size: 14px;
}

.nav-links a.nav-grant-link::after {
    background: #D4A017 !important;
}

.nav-links a.btn-login {
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.nav-links a.btn-login:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-dark);
    transition: var(--transition);
}

.lang-switcher-btn:hover {
    border-color: var(--primary-color);
    background: white;
}

.lang-switcher-btn svg {
    flex-shrink: 0;
}

.lang-chevron {
    transition: transform 0.2s ease;
}

.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: max-content;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.lang-option:hover {
    background: var(--bg-light);
}

.lang-option.active {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary-color);
}

.lang-option .lang-native {
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat p {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dashboard Mockup (Hero) */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #16213e;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.mockup-title {
    flex: 1;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
}

.mockup-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-body {
    display: flex;
    min-height: 320px;
}

.mockup-sidebar {
    width: 140px;
    background: #16213e;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-item svg {
    flex-shrink: 0;
}

.sidebar-item.active {
    background: rgba(0, 102, 255, 0.15);
    color: var(--primary-light);
}

.mockup-main {
    flex: 1;
    padding: 16px;
}

.mockup-welcome {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.mockup-stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-stat {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
}

.mockup-stat-value {
    color: white;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.mockup-stat-label {
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
}

.mockup-progress-section {
    margin-bottom: 14px;
}

.mockup-progress-title {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.mockup-progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
}

.mockup-progress-item > span:first-child {
    width: 70px;
    flex-shrink: 0;
}

.mockup-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.mockup-bar-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
}

.mockup-bar-fill.green {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.mockup-bar-fill.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.mockup-pct {
    width: 30px;
    text-align: right;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
}

.mockup-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-dot.green { background: #25D366; }
.activity-dot.blue { background: #4facfe; }

.activity-time {
    margin-left: auto;
    color: rgba(255,255,255,0.3);
    font-size: 10px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Grant Banner */
.grant-banner {
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 50%, #D4A017 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

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

.grant-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.grant-banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.grant-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.grant-hot {
    background: #FF3B30;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    animation: pulse-hot 2s ease-in-out infinite;
}

@keyframes pulse-hot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.grant-banner-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grant-banner-content h2 strong {
    font-size: 44px;
    display: inline-block;
}

.grant-banner-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.grant-banner-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-grant {
    background: white;
    color: #D4A017;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-grant:hover {
    background: #1A1A1A;
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-grant-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-grant-outline:hover {
    background: white;
    color: #D4A017;
}

/* Grant PDF Download Buttons */
.btn-grant-download {
    border-style: dashed !important;
    font-size: 14px;
}

.btn-grant-download-sm {
    display: inline-block;
    margin-top: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.btn-grant-download-sm:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-grant-download-popup {
    display: block;
    background: transparent;
    color: var(--primary);
    border: 1.5px dashed var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-grant-download-popup:hover {
    background: rgba(212, 160, 23, 0.08);
    border-style: solid;
}

/* Grant Detail Section */
.grant-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFDF5 0%, #FFF9E6 50%, #FFFFFF 100%);
}

.grant-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.grant-section .section-header h2 {
    font-size: 38px;
}

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

.grant-card {
    padding: 36px;
    background: white;
    border: 2px solid #F0E6C8;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.grant-card:hover {
    border-color: #D4A017;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(212, 160, 23, 0.15);
}

.grant-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.grant-card-icon svg {
    color: white;
}

.grant-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.grant-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.grant-tag {
    display: inline-block;
    align-self: flex-start;
    background: rgba(212, 160, 23, 0.1);
    color: #B8860B;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.grant-card-cta {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    border-color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grant-card-cta:hover {
    border-color: #D4A017;
}

.grant-cta-content {
    text-align: center;
}

.grant-cta-content h3 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.grant-deadline {
    font-size: 48px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.grant-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.grant-cta-content .btn-primary {
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: #1A1A1A;
    font-weight: 700;
    width: 100%;
}

.grant-cta-content .btn-primary:hover {
    background: #FFD700;
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.4);
}

/* Grant Popup */
.grant-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.grant-popup {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
    animation: popupSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.grant-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.grant-popup-close:hover {
    color: #333;
}

.grant-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid #F0E6C8;
}

.grant-popup h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.grant-popup p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.grant-popup-highlight {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.grant-popup-amount {
    font-size: 36px;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: -0.02em;
}

.grant-popup-highlight span:last-child {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.grant-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grant-popup-cta {
    width: 100%;
    text-align: center;
    padding: 16px 32px;
    font-size: 16px;
    background: linear-gradient(135deg, #D4A017 0%, #E8B830 100%);
    border: none;
}

.grant-popup-cta:hover {
    background: #D4A017;
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

.grant-popup-dismiss {
    background: none;
    border: none;
    color: var(--text-lighter);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    font-family: inherit;
    transition: color 0.2s;
}

.grant-popup-dismiss:hover {
    color: var(--text-dark);
}

/* Grant sections slide-in animation */
.grant-hk-only.grant-visible {
    display: block !important;
    animation: grantReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes grantReveal {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

/* Nav grant link visible */
a.nav-grant-link.grant-visible {
    display: inline !important;
}

@media (max-width: 640px) {
    .grant-popup {
        padding: 36px 24px;
    }

    .grant-popup h3 {
        font-size: 19px;
    }

    .grant-popup-amount {
        font-size: 28px;
    }
}

/* Trust Section */
.trust-section {
    padding: 32px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.trust-label {
    text-align: center;
    color: var(--text-lighter);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.trust-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.04);
}

.trust-badge svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* WhatsApp Learning Section */
.whatsapp-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.whatsapp-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

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

.section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.whatsapp-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.whatsapp-text .lead {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.whatsapp-features {
    display: grid;
    gap: 24px;
}

.whatsapp-feature {
    display: flex;
    gap: 16px;
    align-items: center;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: -4px;
}

.whatsapp-feature h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.whatsapp-feature p {
    font-size: 15px;
    opacity: 0.9;
}

.phone-mockup {
    background: #1A1A1A;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
}

.whatsapp-header {
    background: #128C7E;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 24px 24px 0 0;
}

.header-back svg {
    color: white;
    cursor: pointer;
}

.header-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.header-info {
    flex: 1;
}

.header-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.header-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.2;
}

.header-actions svg {
    color: white;
    cursor: pointer;
}

.phone-screen {
    background: #ECE5DD;
    border-radius: 0 0 24px 24px;
    height: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    animation: slideIn 0.3s ease-out;
}

.chat-bubble.student {
    background: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-bubble.ai {
    background: #DCF8C6;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
}

.read-more-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: none;
    color: #0066FF;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-indicator-ai {
    align-self: flex-start;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 4px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.chat-input-container {
    background: #F0F0F0;
    padding: 10px 16px;
    border-radius: 0 0 24px 24px;
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-input {
    flex: 1;
    background: white;
    border-radius: 24px;
    padding: 12px 16px;
    min-height: 44px;
    max-height: 100px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.send-button {
    width: 44px;
    height: 44px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
    align-self: center;
}

.send-button:hover {
    background: #20BD5A;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.4);
}

.send-button:active {
    transform: scale(0.95);
}

.send-button svg {
    color: white;
}

.input-text {
    color: #1A1A1A;
    font-size: 15px;
    font-family: inherit;
    display: inline;
}

.cursor {
    color: #25D366;
    font-size: 18px;
    font-weight: 300;
    animation: blink 1s infinite;
    display: inline;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #90949C;
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Monitoring & Stats Section */
.monitoring-section {
    padding: 100px 0;
    background: white;
}

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

.monitoring-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.monitoring-text .lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
}

.monitoring-features {
    display: grid;
    gap: 24px;
}

.monitoring-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

.stats-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.stats-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.badge {
    background: #25D366;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-item {
    margin-bottom: 24px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.progress-bar {
    background: #F0F0F0;
    border-radius: 10px;
    height: 32px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: var(--gradient-1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: width 1s ease;
}

.progress-fill.green {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.progress-fill.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stats-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stats-footer span {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* AI-Powered Teaching Tools Section */
.ai-tools-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-tools-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.ai-tools-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-tools-visual,
.ai-tools-text {
    min-width: 0;
    overflow: hidden;
}

.ai-tools-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.ai-tools-text .lead {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.ai-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.ai-tools-features {
    display: grid;
    gap: 24px;
}

.ai-tools-feature {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ai-tools-feature h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ai-tools-feature p {
    font-size: 15px;
    opacity: 0.9;
}

/* AI Builder Mockup */
.ai-builder-mockup {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.ai-mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #16213e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-mockup-title {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
}

.ai-mockup-body {
    display: flex;
    min-height: 300px;
    overflow: hidden;
}

.ai-mockup-sidebar {
    width: 130px;
    background: #16213e;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-sidebar-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    margin-bottom: 8px;
}

.ai-sidebar-item {
    padding: 8px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 4px;
    transition: var(--transition);
}

.ai-sidebar-item.active {
    background: rgba(102, 126, 234, 0.2);
    color: #a78bfa;
}

.ai-mockup-main {
    flex: 1;
    min-width: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: var(--transition);
}

.ai-block:hover {
    border-color: rgba(167, 139, 250, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.ai-block-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-block-text .ai-block-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.ai-block-mcq .ai-block-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.ai-block-quiz .ai-block-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.ai-block-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ai-block-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.ai-block-preview {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.ai-mcq-options {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.ai-mcq-option {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

.ai-mcq-option.correct {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.ai-block-marks {
    font-size: 10px;
    font-weight: 600;
    color: #fbbf24;
    white-space: nowrap;
    padding: 3px 8px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 4px;
    align-self: flex-start;
}

.ai-block-meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.ai-block-meta span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.ai-block-audio .ai-block-icon {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.ai-block-fill .ai-block-icon {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.ai-audio-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 8px;
    background: rgba(6, 182, 212, 0.08);
    border-radius: 4px;
}

.ai-audio-play {
    font-size: 8px;
    color: #22d3ee;
}

.ai-audio-wave {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, #22d3ee 40%, rgba(255,255,255,0.12) 40%);
    border-radius: 2px;
    min-width: 40px;
}

.ai-audio-time {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    font-variant-numeric: tabular-nums;
}

.ai-fill-blank {
    white-space: normal;
}

.ai-blank {
    display: inline-block;
    border-bottom: 2px solid #fb923c;
    padding: 0 6px;
    margin: 0 2px;
    min-width: 40px;
    color: rgba(255, 255, 255, 0.3);
}

.ai-qtype-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 16px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.6;
    text-align: center;
    justify-content: center;
}

/* Responsive: AI Tools Section */
@media (max-width: 968px) {
    .ai-tools-section {
        padding: 80px 0;
    }

    .ai-tools-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ai-tools-visual {
        order: 2;
    }

    .ai-tools-text {
        order: 1;
    }

    .ai-tools-text h2 {
        font-size: 36px;
    }

    .ai-tools-text .lead {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .ai-builder-mockup {
        max-width: 420px;
    }
}

@media (max-width: 640px) {
    .ai-tools-section {
        padding: 60px 0;
    }

    .ai-tools-content {
        gap: 36px;
    }

    .ai-tools-text {
        overflow: visible;
    }

    .ai-tools-text h2 {
        font-size: 28px;
        margin-bottom: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ai-tools-text .lead {
        font-size: 16px;
        margin-bottom: 28px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ai-tools-features {
        gap: 20px;
    }

    .ai-tools-feature {
        align-items: flex-start;
        gap: 12px;
    }

    .ai-tools-feature > div {
        min-width: 0;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .ai-tools-feature h4 {
        font-size: 16px;
    }

    .ai-tools-feature p {
        font-size: 14px;
        line-height: 1.5;
    }

    .ai-builder-mockup {
        max-width: 100%;
        border-radius: 12px;
    }

    .ai-mockup-sidebar {
        display: none;
    }

    .ai-mockup-body {
        min-height: auto;
    }

    .ai-mockup-main {
        padding: 10px;
        gap: 8px;
    }

    .ai-block {
        padding: 10px;
        gap: 8px;
    }

    .ai-block-icon {
        width: 24px;
        height: 24px;
    }

    .ai-block-icon svg {
        width: 12px;
        height: 12px;
    }

    .ai-block-label {
        font-size: 9px;
    }

    .ai-block-preview {
        font-size: 11px;
    }

    .ai-mcq-options {
        flex-wrap: wrap;
        gap: 4px;
    }

    .ai-mcq-option {
        font-size: 9px;
        padding: 2px 6px;
    }

    .ai-block-marks {
        font-size: 9px;
        padding: 2px 6px;
    }

    .ai-block-meta {
        flex-wrap: wrap;
        gap: 6px;
    }

    .ai-block-meta span {
        font-size: 9px;
    }

    .ai-audio-bar {
        padding: 3px 6px;
        gap: 4px;
    }

    .ai-qtype-tags {
        padding: 8px 12px;
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .ai-tools-section {
        padding: 48px 0;
    }

    .ai-tools-text h2 {
        font-size: 24px;
    }

    .ai-tools-text .lead {
        font-size: 15px;
    }

    .ai-tools-feature {
        gap: 10px;
    }

    .ai-tools-section .check-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .ai-tools-feature h4 {
        font-size: 15px;
    }

    .ai-tools-feature p {
        font-size: 13px;
    }

    .ai-mockup-header {
        padding: 8px 12px;
    }

    .ai-mockup-main {
        padding: 8px;
        gap: 6px;
    }

    .ai-block {
        padding: 8px;
        gap: 6px;
    }
}

/* ==========================================
   STEAM Curriculum Pathway Section
   ========================================== */
.curriculum-section {
    padding: 100px 0;
    background: white;
}

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

.curriculum-badge {
    background: rgba(108, 92, 231, 0.1);
    color: var(--secondary-color);
}

.curriculum-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.curriculum-text .lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
}

.curriculum-features {
    display: grid;
    gap: 24px;
}

.curriculum-feature {
    display: flex;
    gap: 16px;
    align-items: center;
}

.curriculum-section .check-icon {
    background: rgba(108, 92, 231, 0.12);
    color: var(--secondary-color);
}

.curriculum-feature h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.curriculum-feature p {
    font-size: 15px;
    color: var(--text-light);
}

/* Pathway mockup card */
.pathway-card {
    background: #1a1a2e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 440px;
    margin: 0 auto;
}

.pathway-header {
    padding: 16px 24px;
    background: #16213e;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pathway-stages {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pathway-stage {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pathway-stage-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.stage-explorer { background: #4ade80; }
.stage-builder { background: #60a5fa; }
.stage-innovator { background: #a78bfa; }
.stage-expert { background: #f59e0b; }

.pathway-stage-content {
    flex: 1;
}

.pathway-stage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pathway-stage-top h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.pathway-age {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 12px;
}

.pathway-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.pathway-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-1);
}

.pathway-topics {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.pathway-connector {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 6px;
}

/* Responsive: Curriculum */
@media (max-width: 968px) {
    .curriculum-section { padding: 80px 0; }
    .curriculum-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .curriculum-text h2 { font-size: 36px; }
}

@media (max-width: 640px) {
    .curriculum-section { padding: 60px 0; }
    .curriculum-text h2 { font-size: 28px; }
    .curriculum-text .lead { font-size: 16px; margin-bottom: 28px; }
    .curriculum-feature h4 { font-size: 16px; }
    .curriculum-feature p { font-size: 14px; }
    .pathway-card { max-width: 100%; }
}

@media (max-width: 400px) {
    .curriculum-section { padding: 48px 0; }
    .curriculum-text h2 { font-size: 24px; }
    .curriculum-section .check-icon { width: 28px; height: 28px; font-size: 14px; }
}

/* ==========================================
   AI Language Lab Section
   ========================================== */
.language-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.language-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

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

.language-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.language-text .lead {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.language-features {
    display: grid;
    gap: 24px;
}

.language-feature {
    display: flex;
    gap: 16px;
    align-items: center;
}

.language-feature h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.language-feature p {
    font-size: 15px;
    opacity: 0.9;
}

/* Language mockup card */
.language-mockup {
    background: #1a1a2e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 420px;
    margin: 0 auto;
}

.language-mockup-header {
    padding: 14px 20px;
    background: #16213e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.language-mockup-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.language-mockup-level {
    background: rgba(13, 148, 136, 0.3);
    color: #5eead4;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.language-mockup-body {
    padding: 24px;
}

.language-prompt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 20px;
    font-style: italic;
}

.language-waveform {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 48px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.wave-bar {
    flex: 1;
    background: linear-gradient(to top, #5eead4, #14b8a6);
    border-radius: 2px;
    animation: waveAnimate 1.5s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2n) { animation-delay: 0.3s; }
.wave-bar:nth-child(3n) { animation-delay: 0.6s; }

@keyframes waveAnimate {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.language-feedback {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.language-score {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
}

.score-value {
    font-size: 36px;
    font-weight: 800;
    color: #5eead4;
    line-height: 1;
}

.score-max {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.language-feedback-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feedback-item {
    font-size: 12px;
    font-weight: 500;
}

.feedback-item.good { color: #4ade80; }
.feedback-item.tip { color: #fbbf24; }

.language-stats-row {
    display: flex;
    gap: 12px;
}

.language-stat {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.language-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
}

.language-stat-label {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive: Language */
@media (max-width: 968px) {
    .language-section { padding: 80px 0; }
    .language-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .language-visual { order: 2; }
    .language-text { order: 1; }
    .language-text h2 { font-size: 36px; }
}

@media (max-width: 640px) {
    .language-section { padding: 60px 0; }
    .language-text h2 { font-size: 28px; }
    .language-text .lead { font-size: 16px; margin-bottom: 28px; }
    .language-feature h4 { font-size: 16px; }
    .language-feature p { font-size: 14px; }
    .language-mockup { max-width: 100%; }
    .language-stats-row { flex-wrap: wrap; }
    .language-stat { min-width: calc(50% - 6px); }
}

@media (max-width: 400px) {
    .language-section { padding: 48px 0; }
    .language-text h2 { font-size: 24px; }
    .language-section .check-icon { width: 28px; height: 28px; font-size: 14px; }
}

/* ==========================================
   Immersive & Hardware Learning Section
   ========================================== */
.immersive-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.immersive-badge {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary-color);
}

.immersive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.immersive-card {
    padding: 36px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.immersive-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.immersive-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.immersive-card-icon svg { color: white; }

.immersive-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.immersive-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.immersive-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.immersive-tag {
    display: inline-block;
    background: rgba(0, 102, 255, 0.06);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.immersive-card-cta {
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a2e 100%);
    border-color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.immersive-card-cta:hover {
    border-color: var(--primary-color);
}

.immersive-cta-content {
    text-align: center;
}

.immersive-cta-content h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
}

.immersive-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Responsive: Immersive */
@media (max-width: 968px) {
    .immersive-section { padding: 80px 0; }
    .immersive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .immersive-section { padding: 60px 0; }
    .immersive-grid { grid-template-columns: 1fr; }
    .immersive-card { padding: 28px 24px; }
}

@media (max-width: 400px) {
    .immersive-section { padding: 48px 0; }
}

/* ==========================================
   Teacher AI Academy Section
   ========================================== */
.teacher-training-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.teacher-training-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

.teacher-training-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.teacher-training-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.teacher-training-text .lead {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.85;
}

.teacher-training-features {
    display: grid;
    gap: 24px;
}

.teacher-training-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.teacher-training-section .feature-number {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.teacher-training-section .feature-content h4 {
    color: white;
}

.teacher-training-section .feature-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Training course cards */
.training-courses {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.training-course-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
}

.training-course-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.training-course-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.training-course-level.beginner { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.training-course-level.intermediate { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
.training-course-level.advanced { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

.training-course-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.training-course-card > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 12px;
}

.training-course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.training-course-meta span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.training-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.training-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* Responsive: Teacher Training */
@media (max-width: 968px) {
    .teacher-training-section { padding: 80px 0; }
    .teacher-training-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .teacher-training-text h2 { font-size: 36px; }
}

@media (max-width: 640px) {
    .teacher-training-section { padding: 60px 0; }
    .teacher-training-text h2 { font-size: 28px; }
    .teacher-training-text .lead { font-size: 16px; margin-bottom: 28px; }
}

@media (max-width: 400px) {
    .teacher-training-section { padding: 48px 0; }
    .teacher-training-text h2 { font-size: 24px; }
    .teacher-training-section .feature-number { width: 40px; height: 40px; font-size: 15px; }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.feature-card {
    padding: 40px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
}

.feature-card.featured {
    border-color: #25D366;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    transform: scale(1.02);
}

.feature-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: white;
}

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

.solution-card {
    padding: 48px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-1);
    transition: var(--transition);
}

.solution-card:hover::before {
    height: 100%;
}

.solution-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.solution-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.solution-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 500;
    font-size: 15px;
}

.about-card {
    padding: 48px;
    background: var(--gradient-1);
    border-radius: 20px;
    color: white;
}

.about-card.lion-card {
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    position: relative;
    overflow: hidden;
}

.about-card.lion-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lion-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: roar 2s ease-in-out infinite;
}

@keyframes roar {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.about-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item span {
    font-size: 16px;
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
}

/* Form Message */
.form-message {
    margin-top: 16px;
    padding: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    max-height: 0;
}

.form-message.show {
    padding: 14px 20px;
    max-height: 80px;
}

.form-message.success {
    background: #f0fff4;
    color: #128C7E;
    border: 1px solid #25D366;
}

.form-message.error {
    background: #fff5f5;
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Submit button loading state */
.btn-primary .btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-section .logo-leo {
    color: #D4A017;
}

.footer-section .logo-class {
    color: white;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        background: white;
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-visual {
        display: none;
    }

    .whatsapp-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .whatsapp-visual {
        order: 2;
    }

    .whatsapp-text {
        order: 1;
    }

    .monitoring-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .grant-banner-content h2 {
        font-size: 28px;
    }

    .grant-banner-content h2 strong {
        font-size: 34px;
    }

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

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

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer {
        padding: 48px 0 24px;
    }

    .footer-content {
        margin-bottom: 32px;
    }

    .lang-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
    }

    .lang-switcher.open .lang-dropdown {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 120px 0 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat h3 {
        font-size: 28px;
    }

    .trust-badges {
        gap: 8px;
    }

    .trust-badge {
        padding: 8px 14px;
        font-size: 12px;
    }

    .whatsapp-text h2 {
        font-size: 32px;
    }

    .whatsapp-text .lead {
        font-size: 18px;
    }

    .phone-mockup {
        max-width: 100%;
    }

    .phone-screen {
        height: 420px;
    }

    .monitoring-text h2 {
        font-size: 32px;
    }

    .monitoring-text .lead {
        font-size: 16px;
    }

    .grant-banner-content h2 {
        font-size: 24px;
    }

    .grant-banner-content h2 strong {
        font-size: 30px;
    }

    .grant-banner-cta {
        flex-direction: column;
        gap: 12px;
    }

    .grant-banner-cta .btn {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

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

    .grant-card {
        padding: 28px 24px;
    }

    .grant-deadline {
        font-size: 36px;
    }

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

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

    .section-header h2 {
        font-size: 32px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-text h2 {
        font-size: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-info h2 {
        font-size: 32px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .stats-footer {
        gap: 10px;
    }

    h1, h2, h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ==========================================
   Sub-Page Hero Banner
   ========================================== */

.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .page-hero {
        padding: 140px 0 60px;
    }

    .page-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 120px 0 48px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 16px;
    }
}

/* Sub-page CTA section */
.page-cta {
    padding: 100px 0;
    text-align: center;
    background: white;
    border-top: 1px solid var(--border-color);
}

.page-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.page-cta .btn {
    font-size: 18px;
    padding: 18px 40px;
}

@media (max-width: 640px) {
    .page-cta {
        padding: 80px 0;
    }

    .page-cta h2 {
        font-size: 28px;
    }

    .page-cta p {
        font-size: 16px;
    }
}

/* ── Demo Builder Section (ai-tools page) ── */
.demo-builder-section {
    padding: 60px 0 40px;
    background: #f5f7fa;
}

.demo-builder-header {
    text-align: center;
    margin-bottom: 32px;
}

.demo-builder-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 12px 0 8px;
}

.demo-builder-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

.demo-builder-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid #dde1e6;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
}

.demo-lbr-page {
    min-height: 700px !important;
    max-height: 80vh;
    height: auto !important;
}

.demo-lbr-page .lbr-canvas {
    max-height: calc(80vh - 57px);
    overflow-y: auto;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

/* Demo login prompt modal */
.demo-login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-login-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demo-login-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.demo-login-close:hover {
    color: #333;
}

.demo-login-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.demo-login-modal h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.demo-login-modal p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.demo-login-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.demo-login-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
}

/* AI modal demo notice (shown instead of actual generation) */
.lbr-ai-demo-notice {
    text-align: center;
    padding: 40px 20px;
}

.lbr-ai-demo-notice .demo-login-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.lbr-ai-demo-notice h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.lbr-ai-demo-notice p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.lbr-ai-demo-notice .demo-login-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.lbr-ai-demo-notice .demo-login-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

/* Upload zone demo placeholder */
.lbr-upload-zone-demo {
    border-style: dashed !important;
    opacity: 0.7;
    cursor: pointer;
}

.lbr-upload-zone-demo p {
    font-style: italic;
    color: #94a3b8;
}

/* Features section on ai-tools page */
.ai-tools-features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #6C5CE7 0%, #0066FF 100%);
    color: #fff;
}

.ai-tools-features-section h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.ai-tools-features-subtitle {
    text-align: center;
    font-size: 16px;
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 48px;
}

.ai-tools-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.ai-tools-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 28px;
    backdrop-filter: blur(4px);
}

.ai-tools-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-bottom: 16px;
}

.ai-tools-feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-tools-feature-card p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .demo-lbr-page {
        max-height: none;
    }

    .demo-lbr-page .lbr-canvas {
        max-height: none;
    }

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

@media (max-width: 640px) {
    .demo-builder-section {
        padding: 40px 0 20px;
    }

    .demo-builder-header h2 {
        font-size: 24px;
    }

    .demo-builder-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .ai-tools-features-grid {
        grid-template-columns: 1fr;
    }

    .ai-tools-features-section h2 {
        font-size: 28px;
    }

    .demo-login-modal {
        padding: 28px 20px;
    }

    .demo-login-actions {
        flex-direction: column;
    }
}

/* ==========================================
   WhatsApp Learning Page — Redesigned
   ========================================== */

/* Hero overrides */
.wa-page-hero {
    padding: 160px 0 60px;
    background: linear-gradient(180deg, #F0FFF4 0%, #FFFFFF 100%);
}

.wa-page-hero::before {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
}

.wa-page-hero::after {
    background: radial-gradient(circle, rgba(18, 140, 126, 0.08) 0%, transparent 70%);
}

.wa-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.wa-page-hero h1 {
    font-size: 56px;
    line-height: 1.1;
}

.wa-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
}

.wa-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.wa-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #128C7E;
    letter-spacing: -0.02em;
}

.wa-stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.wa-hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Teacher Section */
.wa-teacher-section {
    padding: 100px 0;
    background: #FAFBFC;
}

.wa-teacher-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.wa-section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.wa-badge-teacher {
    background: #EFF6FF;
    color: #2563EB;
}

.wa-badge-parent {
    background: #FFF7ED;
    color: #EA580C;
}

.wa-teacher-text h2,
.wa-parent-text h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.wa-section-lead {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Feature cards */
.wa-feature-cards {
    display: grid;
    gap: 16px;
}

.wa-feature-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.wa-feature-card:hover {
    border-color: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
}

.wa-feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #F0FFF4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.wa-feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Demo phone mockup (teacher/parent sections) */
.wa-demo-phone {
    background: #1A1A1A;
    border-radius: 32px;
    padding: 16px;
    max-width: 360px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.wa-demo-header {
    background: #128C7E;
    border-radius: 20px 20px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.wa-demo-header-dot {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.wa-demo-header-dot::after {
    content: '🤖';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wa-demo-online {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    margin-left: auto;
}

.wa-demo-chat {
    background: #ECE5DD;
    border-radius: 0 0 20px 20px;
    padding: 20px 14px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-demo-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 10px;
    position: relative;
}

.wa-demo-bubble p {
    font-size: 13px;
    line-height: 1.5;
    color: #1A1A1A;
    margin: 0;
}

.wa-demo-sent {
    background: #DCF8C6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.wa-demo-received {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.wa-demo-time {
    font-size: 10px;
    color: #999;
    display: block;
    text-align: right;
    margin-top: 4px;
}

/* Parent Section */
.wa-parent-section {
    padding: 100px 0;
    background: white;
}

.wa-parent-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.wa-highlights {
    display: grid;
    gap: 14px;
}

.wa-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #FFF7ED;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.wa-highlight-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #EA580C;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.1);
}

/* How It Works */
.wa-how-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.wa-how-header {
    text-align: center;
    margin-bottom: 64px;
}

.wa-how-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.wa-how-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.wa-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.wa-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wa-step-number {
    width: 48px;
    height: 48px;
    background: white;
    color: #128C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.wa-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.wa-step p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.wa-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 50px;
    opacity: 0.5;
}

/* Use Cases Grid */
.wa-cases-section {
    padding: 100px 0;
    background: #FAFBFC;
}

.wa-cases-header {
    text-align: center;
    margin-bottom: 56px;
}

.wa-cases-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.wa-cases-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
}

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

.wa-case-card {
    background: white;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.wa-case-card:hover {
    border-color: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.1);
    transform: translateY(-4px);
}

.wa-case-emoji {
    font-size: 36px;
    margin-bottom: 16px;
}

.wa-case-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.wa-case-example {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    padding: 10px 14px;
    background: #F8F9FA;
    border-radius: 8px;
    border-left: 3px solid #25D366;
}

/* CTA Section */
.wa-cta-section {
    padding: 100px 0;
    background: white;
}

.wa-cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.wa-cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.wa-cta-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

.wa-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.wa-cta-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: white;
    padding: 18px 36px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.wa-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.wa-cta-btn-outline {
    background: white;
    border: 2px solid #25D366;
    color: #128C7E;
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.wa-cta-btn-outline:hover {
    background: #F0FFF4;
    transform: translateY(-2px);
}

.wa-cta-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.wa-cta-trust span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ─── WhatsApp Page Responsive ─── */
@media (max-width: 968px) {
    .wa-page-hero h1 {
        font-size: 42px;
    }

    .wa-teacher-content,
    .wa-parent-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .wa-parent-visual {
        order: 2;
    }

    .wa-parent-text {
        order: 1;
    }

    .wa-teacher-text h2,
    .wa-parent-text h2,
    .wa-how-header h2,
    .wa-cases-header h2,
    .wa-cta-content h2 {
        font-size: 32px;
    }

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

    .wa-steps {
        flex-direction: column;
        align-items: center;
    }

    .wa-step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .wa-step {
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .wa-page-hero {
        padding: 120px 0 40px;
    }

    .wa-page-hero h1 {
        font-size: 32px;
    }

    .wa-hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .wa-hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .wa-teacher-section,
    .wa-parent-section,
    .wa-how-section,
    .wa-cases-section,
    .wa-cta-section {
        padding: 64px 0;
    }

    .wa-cases-grid {
        grid-template-columns: 1fr;
    }

    .wa-cta-buttons {
        flex-direction: column;
    }

    .wa-cta-btn,
    .wa-cta-btn-outline {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .wa-cta-trust {
        flex-direction: column;
        gap: 8px;
    }

    .wa-demo-phone {
        max-width: 100%;
    }

    .wa-demo-chat {
        min-height: 280px;
    }

    .wa-teacher-text h2,
    .wa-parent-text h2,
    .wa-how-header h2,
    .wa-cases-header h2,
    .wa-cta-content h2 {
        font-size: 28px;
    }
}

/* ──────────────────────────────────────────────────────────
   SECTION CTA BUTTON (used on landing page sections)
   ────────────────────────────────────────────────────────── */
.section-cta-btn {
    margin-top: 32px;
    display: inline-block;
}

/* ──────────────────────────────────────────────────────────
   SHARED SUB-PAGE STYLES (hero stats, CTA buttons, etc.)
   ────────────────────────────────────────────────────────── */
.steam-hero-stats, .lang-hero-stats, .hw-hero-stats, .academy-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    position: relative;
}

.steam-hero-stat, .lang-hero-stat, .hw-hero-stat, .academy-hero-stat {
    text-align: center;
}

.steam-stat-number, .lang-stat-number, .hw-stat-number, .academy-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.steam-stat-label, .lang-stat-label, .hw-stat-label, .academy-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.steam-hero-stat-divider, .lang-hero-stat-divider, .hw-hero-stat-divider, .academy-hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.page-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cta-buttons .btn-outline {
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    background: white;
    padding: 16px 36px;
    font-size: 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.page-cta-buttons .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ──────────────────────────────────────────────────────────
   PAGE 1: STEAM CURRICULUM
   ────────────────────────────────────────────────────────── */

/* Tiers Section */
.steam-tiers-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.steam-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.steam-tier-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.steam-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tier-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F0EFFF;
}

.tier-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.tier-age {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.tier-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tier-topic {
    display: inline-block;
    padding: 4px 12px;
    background: #F0F4FF;
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.tier-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.tier-kindergarten .tier-icon { background: #FFF3E0; }
.tier-lower-primary .tier-icon { background: #E8F5E9; }
.tier-upper-primary .tier-icon { background: #E3F2FD; }
.tier-junior-sec .tier-icon { background: #F3E5F5; }
.tier-senior-sec .tier-icon { background: #FFF8E1; }

/* Categories Section */
.steam-categories-section {
    padding: 100px 0;
    background: white;
}

.steam-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.steam-category-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.steam-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.steam-cat-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.steam-category-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.steam-category-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* AI Track Section */
.steam-ai-track-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.steam-ai-tracks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.steam-ai-track-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.track-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(108, 92, 231, 0.15);
    margin-bottom: 8px;
    line-height: 1;
}

.steam-ai-track-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.steam-ai-track-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.track-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.track-topics span {
    padding: 4px 12px;
    background: #F0F4FF;
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Competition Section */
.steam-competition-section {
    padding: 100px 0;
    background: white;
}

.steam-comp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.steam-comp-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
}

.steam-comp-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.steam-comp-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Customization Section */
.steam-custom-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.steam-custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.steam-custom-features {
    margin-top: 28px;
}

.steam-custom-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.steam-custom-feature h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.steam-custom-feature p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.steam-custom-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.custom-card-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.custom-card-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-dark);
}

.custom-card-item.inactive {
    opacity: 0.4;
}

.custom-check {
    color: #10B981;
    font-weight: 700;
    font-size: 18px;
}

.custom-dash {
    color: #9CA3AF;
    font-weight: 700;
    font-size: 18px;
}

.custom-card-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* ──────────────────────────────────────────────────────────
   PAGE 2: AI LANGUAGE LAB
   ────────────────────────────────────────────────────────── */

/* Speaking Section */
.lang-speaking-section {
    padding: 100px 0;
    background: white;
}

.lang-speaking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lang-features-list {
    margin-top: 28px;
}

.lang-feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.lang-feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.lang-feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.lang-score-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.lang-score-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.lang-score-circle {
    margin-bottom: 24px;
}

.lang-score-value {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.lang-score-max {
    font-size: 24px;
    color: var(--text-light);
}

.lang-score-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.lang-score-item {
    display: grid;
    grid-template-columns: 100px 1fr 32px;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.lang-score-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.lang-score-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

/* Exam Section */
.lang-exam-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.lang-exam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.lang-exam-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.lang-exam-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lang-exam-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.lang-exam-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.lang-exam-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lang-exam-features span {
    padding: 4px 12px;
    background: #F0F4FF;
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Grammar Section */
.lang-grammar-section {
    padding: 100px 0;
    background: white;
}

.lang-grammar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lang-grammar-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.grammar-card-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.grammar-example {
    margin-bottom: 20px;
}

.grammar-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 4px;
    display: block;
}

.grammar-original p, .grammar-corrected p {
    font-size: 16px;
    line-height: 1.6;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.grammar-original p { background: #FEF2F2; }
.grammar-corrected p { background: #F0FDF4; }

.grammar-error {
    color: #EF4444;
    text-decoration: underline wavy #EF4444;
    font-weight: 600;
}

.grammar-fix {
    color: #10B981;
    font-weight: 600;
}

.grammar-tips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grammar-tip {
    font-size: 13px;
    color: var(--text-light);
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

/* Vocabulary Section */
.lang-vocab-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.lang-vocab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.lang-vocab-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.vocab-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.lang-vocab-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.lang-vocab-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* WhatsApp Integration Section */
.lang-whatsapp-section {
    padding: 100px 0;
    background: white;
}

.lang-whatsapp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lang-wa-phone {
    background: #1A1A1A;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
}

.lang-wa-header {
    background: #128C7E;
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 24px 24px 0 0;
}

.lang-wa-header-back svg {
    color: white;
}

.lang-wa-avatar {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.lang-wa-header-info {
    flex: 1;
}

.lang-wa-header-name {
    color: white;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.lang-wa-header-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.2;
}

.lang-wa-header-actions svg {
    color: white;
}

.lang-wa-chat {
    padding: 20px 16px;
    background: #ECE5DD;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-wa-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 82%;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-wa-bubble p { margin: 0; color: #1A1A1A; }

.lang-wa-received {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.lang-wa-sent {
    background: #DCF8C6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.lang-wa-time {
    display: block;
    font-size: 11px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.lang-wa-input-bar {
    background: #F0F0F0;
    padding: 10px 16px;
    border-radius: 0 0 24px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-wa-input-field {
    flex: 1;
    background: white;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    color: #999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-wa-send-btn {
    width: 40px;
    height: 40px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.lang-wa-send-btn:hover {
    background: #20BD5A;
}

/* ──────────────────────────────────────────────────────────
   PAGE 3: IMMERSIVE & HARDWARE
   ────────────────────────────────────────────────────────── */

/* VR Section */
.hw-vr-section {
    padding: 100px 0;
    background: white;
}

.hw-vr-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hw-features-list {
    margin-top: 28px;
}

.hw-feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.hw-feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hw-feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.hw-vr-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.hw-vr-card-icon {
    color: var(--primary);
    margin-bottom: 24px;
}

.hw-vr-card-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 15px;
    color: var(--text-dark);
}

.hw-vr-card-stats strong {
    color: var(--primary);
    font-size: 20px;
}

/* Robotics Section */
.hw-robotics-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.hw-robot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.hw-robot-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hw-robot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.hw-robot-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.hw-robot-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hw-robot-age {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.hw-robot-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}

.hw-robot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hw-robot-tags span {
    padding: 3px 10px;
    background: #F0F4FF;
    color: var(--primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

/* IoT Section */
.hw-iot-section {
    padding: 100px 0;
    background: white;
}

.hw-iot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hw-iot-diagram {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.hw-iot-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.hw-iot-node {
    position: absolute;
    width: 72px;
    height: 72px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.hw-iot-node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.hw-iot-node-2 { bottom: 0; left: 50%; transform: translateX(-50%); }
.hw-iot-node-3 { top: 50%; left: 0; transform: translateY(-50%); }
.hw-iot-node-4 { top: 50%; right: 0; transform: translateY(-50%); }

/* 3D Printing Section */
.hw-3d-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.hw-3d-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.hw-3d-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.hw-3d-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.hw-3d-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.hw-3d-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* AI Hardware Section */
.hw-ai-section {
    padding: 100px 0;
    background: white;
}

.hw-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.hw-ai-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
}

.hw-ai-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.hw-ai-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Dashboard Section */
.hw-dashboard-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.hw-dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hw-dash-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.hw-dash-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.hw-dash-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hw-dash-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.hw-dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hw-dash-online { background: #10B981; }
.hw-dash-charging { background: #F59E0B; }

.hw-dash-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-light);
}

.hw-dash-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* ──────────────────────────────────────────────────────────
   PAGE 4: TEACHER ACADEMY
   ────────────────────────────────────────────────────────── */

/* Pathway Section */
.academy-pathway-section {
    padding: 100px 0;
    background: white;
}

.academy-pathway-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.academy-level-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.academy-level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.level-1::before { background: #10B981; }
.level-2::before { background: #3B82F6; }
.level-3::before { background: #8B5CF6; }
.level-4::before { background: #F59E0B; }

.level-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.level-1 .level-badge { background: #D1FAE5; color: #065F46; }
.level-2 .level-badge { background: #DBEAFE; color: #1E40AF; }
.level-3 .level-badge { background: #EDE9FE; color: #5B21B6; }
.level-4 .level-badge { background: #FEF3C7; color: #92400E; }

.academy-level-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.level-duration {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.academy-level-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
}

.level-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.level-topics span {
    padding: 3px 10px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Modules Section */
.academy-modules-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.academy-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.academy-module-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.academy-module-card:hover {
    transform: translateY(-2px);
}

.module-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

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

.academy-module-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Skills Section */
.academy-skills-section {
    padding: 100px 0;
    background: white;
}

.academy-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.academy-tool {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.academy-tool h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.academy-tool p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Certification Section */
.academy-cert-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.academy-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.academy-cert-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.cert-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.academy-cert-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.academy-cert-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Grant Section */
.academy-grant-section {
    padding: 80px 0;
    background: white;
}

.academy-grant-content {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #FEF3C7;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #FDE68A;
}

.academy-grant-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.academy-grant-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.academy-grant-text p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* ──────────────────────────────────────────────────────────
   VISUAL ENHANCEMENTS: 4 SUB-PAGES
   ────────────────────────────────────────────────────────── */

/* ── Keyframe Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 102, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    }
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--fill-width, 100%); }
}

/* ── 1. Hero Gradient Backgrounds ── */

/* STEAM Hero */
.steam-hero {
    background: linear-gradient(180deg, #F0EFFF 0%, #FFFFFF 100%);
}

.steam-hero::before {
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
}

.steam-hero::after {
    background: radial-gradient(circle, rgba(0, 102, 255, 0.07) 0%, transparent 70%);
}

/* Language Lab Hero */
.lang-page-hero {
    background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%);
}

.lang-page-hero::before {
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
}

.lang-page-hero::after {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.07) 0%, transparent 70%);
}

/* Hardware Hero */
.hw-page-hero {
    background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%);
}

.hw-page-hero::before {
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.hw-page-hero::after {
    background: radial-gradient(circle, rgba(0, 200, 255, 0.07) 0%, transparent 70%);
}

/* Academy Hero */
.academy-hero {
    background: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%);
}

.academy-hero::before {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
}

.academy-hero::after {
    background: radial-gradient(circle, rgba(30, 41, 59, 0.06) 0%, transparent 70%);
}

/* ── 2. Section Background Tints ── */

/* STEAM sections */
.steam-tiers-section {
    background: #FAFAFF;
}

.steam-categories-section {
    position: relative;
    overflow: hidden;
}

.steam-ai-track-section {
    background: #F5F3FF;
}

.steam-competition-section {
    background: white;
}

.steam-custom-section {
    background: #FAFAFF;
}

/* Language Lab sections */
.lang-speaking-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.lang-exam-section {
    background: #F0FDFA;
}

.lang-grammar-section {
    background: white;
}

.lang-vocab-section {
    background: #F0FDFA;
}

.lang-whatsapp-section {
    background: white;
}

/* Hardware sections */
.hw-vr-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.hw-robotics-section {
    background: #F0F7FF;
}

.hw-iot-section {
    background: white;
}

.hw-3d-section {
    background: #F0F7FF;
}

.hw-ai-section {
    background: white;
}

.hw-dashboard-section {
    background: #F0F7FF;
}

/* Academy sections */
.academy-pathway-section {
    position: relative;
    overflow: hidden;
}

.academy-modules-section {
    background: #F5F3FF;
}

.academy-skills-section {
    background: white;
}

.academy-cert-section {
    background: #F5F3FF;
}

.academy-grant-section {
    background: white;
}

/* ── 3. Card Hover Enhancements ── */

.steam-tier-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.steam-tier-card:hover {
    border-color: #6C5CE7;
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.12);
}

.steam-category-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.steam-category-card:hover {
    border-color: #6C5CE7;
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.12);
}

.steam-ai-track-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.steam-ai-track-card:hover {
    transform: translateY(-4px);
    border-color: #6C5CE7;
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.12);
}

.steam-comp-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.steam-comp-card:hover {
    transform: translateY(-4px);
    border-color: #6C5CE7;
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.12);
}

.lang-exam-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lang-exam-card:hover {
    transform: translateY(-4px);
    border-color: #0d9488;
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.12);
}

.lang-vocab-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lang-vocab-card:hover {
    transform: translateY(-2px);
    border-color: #0d9488;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.1);
}

.hw-robot-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hw-robot-card:hover {
    transform: translateY(-4px);
    border-color: #0066FF;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.12);
}

.hw-3d-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hw-3d-card:hover {
    transform: translateY(-2px);
    border-color: #0066FF;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.1);
}

.hw-ai-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hw-ai-card:hover {
    transform: translateY(-4px);
    border-color: #0066FF;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.12);
}

.academy-level-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.academy-level-card:hover {
    transform: translateY(-4px);
    border-color: #4F46E5;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
}

.academy-module-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.academy-module-card:hover {
    border-color: #4F46E5;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
}

.academy-cert-card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.academy-cert-card:hover {
    transform: translateY(-4px);
    border-color: #4F46E5;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
}

/* ── 4. Section Badge Theming ── */

/* STEAM badges */
.steam-hero .section-badge {
    background: rgba(108, 92, 231, 0.12);
    color: #6C5CE7;
}

.steam-tiers-section .section-badge {
    background: #F0EFFF;
    color: #6C5CE7;
}

.steam-categories-section .section-badge {
    background: #F0EFFF;
    color: #6C5CE7;
}

.steam-ai-track-section .section-badge {
    background: #F0EFFF;
    color: #6C5CE7;
}

.steam-competition-section .section-badge {
    background: #F0EFFF;
    color: #6C5CE7;
}

.steam-custom-section .section-badge {
    background: #F0EFFF;
    color: #6C5CE7;
}

/* Language Lab badges */
.lang-page-hero .section-badge {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.lang-speaking-section .section-badge {
    background: #F0FDFA;
    color: #0d9488;
}

.lang-exam-section .section-badge {
    background: #CCFBF1;
    color: #0d9488;
}

.lang-grammar-section .section-badge {
    background: #F0FDFA;
    color: #0d9488;
}

.lang-vocab-section .section-badge {
    background: #CCFBF1;
    color: #0d9488;
}

.lang-whatsapp-section .section-badge {
    background: #F0FDFA;
    color: #0d9488;
}

/* Hardware badges */
.hw-page-hero .section-badge {
    background: rgba(0, 102, 255, 0.12);
    color: #0066FF;
}

.hw-vr-section .section-badge {
    background: #EFF6FF;
    color: #0066FF;
}

.hw-robotics-section .section-badge {
    background: #DBEAFE;
    color: #0066FF;
}

.hw-iot-section .section-badge {
    background: #EFF6FF;
    color: #0066FF;
}

.hw-3d-section .section-badge {
    background: #DBEAFE;
    color: #0066FF;
}

.hw-ai-section .section-badge {
    background: #EFF6FF;
    color: #0066FF;
}

.hw-dashboard-section .section-badge {
    background: #EFF6FF;
    color: #0066FF;
}

/* Academy badges */
.academy-hero .section-badge {
    background: rgba(79, 70, 229, 0.12);
    color: #4F46E5;
}

.academy-pathway-section .section-badge {
    background: #EEF2FF;
    color: #4F46E5;
}

.academy-modules-section .section-badge {
    background: #E0E7FF;
    color: #4F46E5;
}

.academy-skills-section .section-badge {
    background: #EEF2FF;
    color: #4F46E5;
}

.academy-cert-section .section-badge {
    background: #E0E7FF;
    color: #4F46E5;
}

/* ── 5. CTA Section Gradients ── */

.steam-cta {
    background: linear-gradient(135deg, #6C5CE7, #0066FF);
    border-top: none;
}

.steam-cta h2,
.steam-cta p {
    color: white;
}

.steam-cta .page-cta-buttons .btn-outline {
    background: white;
    color: #6C5CE7;
    border-color: white;
}

.steam-cta .page-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #5A4BD1;
    border-color: white;
}

.lang-cta {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    border-top: none;
}

.lang-cta h2,
.lang-cta p {
    color: white;
}

.lang-cta .page-cta-buttons .btn-outline {
    background: white;
    color: #0d9488;
    border-color: white;
}

.lang-cta .page-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0b7f74;
    border-color: white;
}

.hw-cta {
    background: linear-gradient(135deg, #0066FF, #00C8FF);
    border-top: none;
}

.hw-cta h2,
.hw-cta p {
    color: white;
}

.hw-cta .page-cta-buttons .btn-outline {
    background: white;
    color: #0066FF;
    border-color: white;
}

.hw-cta .page-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0052CC;
    border-color: white;
}

.academy-cta {
    background: linear-gradient(135deg, #4F46E5, #1E293B);
    border-top: none;
}

.academy-cta h2,
.academy-cta p {
    color: white;
}

.academy-cta .page-cta-buttons .btn-outline {
    background: white;
    color: #4F46E5;
    border-color: white;
}

.academy-cta .page-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #4338CA;
    border-color: white;
}

/* ── 6. Decorative Pseudo-Elements ── */

.steam-categories-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.steam-categories-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.lang-speaking-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -80px;
    right: -120px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.lang-speaking-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -60px;
    left: -80px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hw-vr-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hw-vr-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.academy-pathway-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.academy-pathway-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── 7. Enhanced Visual Elements ── */

/* Language page: Score card colored left border + shadow */
.lang-score-card {
    border-left: 4px solid #0d9488;
    box-shadow: 0 8px 32px rgba(13, 148, 136, 0.08);
}

.lang-score-value {
    color: #0d9488;
}

.lang-score-fill {
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    animation: fillBar 1s ease-out forwards;
}

/* Hardware page: VR card gradient overlay + shadow */
.hw-vr-card {
    background: linear-gradient(135deg, #EFF6FF, #F8F9FA);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.15);
}

.hw-vr-card-icon {
    color: #0066FF;
}

/* Hardware page: IoT node pulse animation */
.hw-iot-node {
    animation: pulseGlow 3s ease-in-out infinite;
    border-color: rgba(0, 102, 255, 0.3);
}

.hw-iot-node-1 { animation-delay: 0s; }
.hw-iot-node-2 { animation-delay: 0.75s; }
.hw-iot-node-3 { animation-delay: 1.5s; }
.hw-iot-node-4 { animation-delay: 2.25s; }

.hw-iot-center {
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.25);
}

/* IoT diagram SVG connecting lines */
.hw-iot-diagram svg.iot-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hw-iot-diagram svg.iot-lines line {
    stroke: rgba(0, 102, 255, 0.2);
    stroke-width: 2;
    stroke-dasharray: 6 4;
}

/* Academy page: Level cards thicker top stripes + gradient */
.level-1::before { background: linear-gradient(90deg, #10B981, #34D399); height: 5px; }
.level-2::before { background: linear-gradient(90deg, #3B82F6, #60A5FA); height: 5px; }
.level-3::before { background: linear-gradient(90deg, #8B5CF6, #A78BFA); height: 5px; }
.level-4::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); height: 5px; }

/* Academy page: Dashboard header gradient */
.hw-dash-header {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.05), transparent);
    padding: 12px 16px;
    border-radius: 8px;
    border-bottom: none;
}

/* STEAM page: AI track cards gradient icon backgrounds */
.track-number {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 102, 255, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero stat numbers get themed colors */
.steam-stat-number { color: #6C5CE7; }
.lang-stat-number { color: #0d9488; }
.hw-stat-number { color: #0066FF; }
.academy-stat-number { color: #4F46E5; }

/* ──────────────────────────────────────────────────────────
   RESPONSIVE: 4 SUB-PAGES
   ────────────────────────────────────────────────────────── */

@media (max-width: 968px) {
    .steam-hero-stats, .lang-hero-stats, .hw-hero-stats, .academy-hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .steam-hero-stat-divider, .lang-hero-stat-divider, .hw-hero-stat-divider, .academy-hero-stat-divider {
        display: none;
    }

    .steam-categories-grid,
    .steam-ai-tracks,
    .steam-comp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steam-custom-content,
    .lang-speaking-content,
    .lang-grammar-content,
    .lang-whatsapp-content,
    .hw-vr-content,
    .hw-iot-content,
    .hw-dashboard-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lang-exam-grid {
        grid-template-columns: 1fr;
    }

    .lang-vocab-grid,
    .hw-3d-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hw-ai-grid {
        grid-template-columns: 1fr;
    }

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

    .academy-modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .academy-cert-grid {
        grid-template-columns: 1fr;
    }

    .academy-grant-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .steam-stat-number, .lang-stat-number, .hw-stat-number, .academy-stat-number {
        font-size: 24px;
    }

    .steam-tiers-grid {
        grid-template-columns: 1fr;
    }

    .steam-categories-grid,
    .steam-ai-tracks,
    .steam-comp-grid {
        grid-template-columns: 1fr;
    }

    .lang-vocab-grid,
    .hw-3d-grid {
        grid-template-columns: 1fr;
    }

    .hw-robot-grid {
        grid-template-columns: 1fr;
    }

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

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

    .academy-tools-grid {
        grid-template-columns: 1fr;
    }

    .lang-wa-phone {
        max-width: 100%;
    }

    .page-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-cta-buttons .btn-outline {
        font-size: 16px;
        padding: 14px 32px;
    }

    /* Hide decorative pseudo-elements on mobile */
    .steam-categories-section::before,
    .steam-categories-section::after,
    .lang-speaking-section::before,
    .lang-speaking-section::after,
    .hw-vr-section::before,
    .hw-vr-section::after,
    .academy-pathway-section::before,
    .academy-pathway-section::after {
        display: none;
    }

    /* Reduce IoT pulse animation on mobile */
    .hw-iot-node {
        animation: none;
    }
}

@media (max-width: 400px) {
    .steam-hero-stats, .lang-hero-stats, .hw-hero-stats, .academy-hero-stats {
        gap: 16px;
    }

    .steam-stat-number, .lang-stat-number, .hw-stat-number, .academy-stat-number {
        font-size: 20px;
    }

    .steam-tier-card, .lang-exam-card, .hw-robot-card, .academy-level-card {
        padding: 20px;
    }

    .academy-modules-grid {
        grid-template-columns: 1fr;
    }
}
