/* AI Seekho - Pakistan's AI Literacy Platform */
/* Premium Design System */

:root {
    /* Pakistan-inspired colors with modern twist */
    --primary: #00A651;
    /* Pakistan green */
    --primary-dark: #008544;
    --primary-light: #00C853;
    --secondary: #1a1a2e;
    --accent: #FFD700;
    /* Gold accent */
    --accent-light: #FFE44D;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00A651 0%, #00C853 50%, #00E676 100%);
    --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* Neutrals */
    --bg-dark: #0a0a14;
    --bg-light: #f8f9fa;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #a0a0b0;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 166, 81, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 166, 81, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 166, 81, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 166, 81, 0.3);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.urdu {
    direction: rtl;
    font-family: var(--font-urdu), var(--font-main);
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}

.logo-urdu {
    font-family: var(--font-urdu);
    font-size: 18px;
    color: var(--primary);
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 60px 60px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 166, 81, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 200, 83, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 166, 81, 0.15);
    border: 1px solid rgba(0, 166, 81, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 30px;
}

.badge-icon {
    font-size: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    width: 450px;
    height: 400px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

.floating-card .card-icon {
    font-size: 36px;
}

.floating-card .card-text {
    display: flex;
    flex-direction: column;
}

.floating-card .card-text strong {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-card .card-text span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
}

.card-1 {
    top: 20px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 140px;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 40px;
    left: 40px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Section Styles */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Learning Journeys Section */
.journeys-section {
    padding: var(--section-padding) 60px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1a 100%);
}

.journeys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.journey-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 166, 81, 0.3);
    box-shadow: var(--shadow-lg);
}

.journey-card:hover::before {
    opacity: 1;
}

.journey-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.journey-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(0, 166, 81, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.journey-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.title-ur {
    font-family: var(--font-urdu);
    font-size: 24px;
    color: var(--primary-light);
}

.title-en {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

.journey-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.journey-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* Interactive Activity Section */
.activity-section {
    padding: var(--section-padding) 60px;
    background: var(--secondary);
}

.activity-container {
    max-width: 900px;
    margin: 0 auto;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.score-display,
.accuracy-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.score-value,
.accuracy-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-light);
}

.training-area {
    margin-bottom: 30px;
}

.items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    min-height: 100px;
}

.draggable-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
}

.draggable-item:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.draggable-item:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.draggable-item.dragging {
    opacity: 0.5;
    transform: scale(1.1);
}

.item-emoji {
    font-size: 36px;
}

.item-label {
    font-size: 12px;
    color: var(--text-muted);
}

.drop-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.drop-zone {
    min-height: 200px;
    padding: 30px;
    border-radius: 20px;
    border: 3px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.drop-zone.drag-over {
    border-style: solid;
    transform: scale(1.02);
}

.recycle-zone {
    background: rgba(0, 166, 81, 0.1);
}

.recycle-zone.drag-over {
    background: rgba(0, 166, 81, 0.25);
    border-color: var(--primary);
}

.trash-zone {
    background: rgba(255, 82, 82, 0.1);
}

.trash-zone.drag-over {
    background: rgba(255, 82, 82, 0.25);
    border-color: #ff5252;
}

.zone-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.drop-zone h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.drop-zone p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.zone-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.zone-items .dropped-item {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 24px;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* AI Brain Visualization */
.ai-brain {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 166, 81, 0.2);
}

.brain-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.brain-icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.brain-thoughts {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.brain-thoughts.learning {
    color: var(--primary-light);
}

/* Test AI Button */
.test-ai-section {
    text-align: center;
}

.btn-test {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-test:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-test:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.test-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    display: none;
}

.test-result.show {
    display: block;
    animation: slideUp 0.5s ease;
}

.test-result.success {
    background: rgba(0, 166, 81, 0.2);
    border: 1px solid var(--primary);
}

.test-result.partial {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-section {
    padding: var(--section-padding) 60px;
    background: linear-gradient(180deg, #0d0d1a 0%, var(--bg-dark) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: var(--container-width);
    margin: 0 auto 60px;
}

.stat-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 166, 81, 0.3);
}

.stat-card.highlight {
    background: linear-gradient(145deg, rgba(0, 166, 81, 0.15), rgba(0, 200, 83, 0.05));
    border-color: rgba(0, 166, 81, 0.3);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-change {
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}

.stat-change.positive {
    background: rgba(0, 166, 81, 0.2);
    color: var(--primary-light);
}

/* Province Breakdown */
.province-grid {
    max-width: 800px;
    margin: 0 auto;
}

.province-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.province-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.province-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.province-name {
    width: 120px;
    font-weight: 500;
}

.bar-container {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: width 1s ease;
}

.province-percent {
    width: 50px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-light);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-left: 10px;
}

.footer-partners {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-partners a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-links {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 100px 30px 50px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        height: 250px;
        margin-top: 40px;
    }

    .floating-card {
        transform: scale(0.8);
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .journeys-section,
    .activity-section,
    .stats-section {
        padding: 50px 20px;
    }

    .drop-zones {
        grid-template-columns: 1fr;
    }

    .activity-header {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   JOURNEY LESSON MODAL
   ========================================== */

.journey-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(0, 166, 81, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 82, 82, 0.3);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.2), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-journey-icon {
    font-size: 60px;
}

.modal-journey-info {
    flex: 1;
}

.modal-journey-num {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    margin: 5px 0;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

/* Lesson Tabs */
.lesson-tabs {
    display: flex;
    gap: 5px;
    padding: 20px 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lesson-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.lesson-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lesson-tab:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.lesson-tab.active {
    color: var(--primary);
    background: rgba(0, 166, 81, 0.1);
}

.lesson-tab.active::after {
    opacity: 1;
}

/* Tab Content */
.tab-content {
    padding: 30px;
    min-height: 350px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lesson Content Styling */
.lesson-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.lesson-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.lesson-content .highlight-box {
    background: rgba(0, 166, 81, 0.1);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}

.lesson-content .highlight-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 16px;
}

.lesson-content .example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.lesson-content .example-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.lesson-content .example-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.lesson-content .example-item .emoji {
    font-size: 40px;
    margin-bottom: 10px;
}

.lesson-content .example-item .label {
    font-size: 14px;
    color: var(--text-light);
}

/* Activity Content Styling */
.activity-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.activity-content .activity-instruction {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.activity-content .image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.activity-content .image-item {
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activity-content .image-item:hover {
    border-color: var(--primary);
}

.activity-content .image-item.selected {
    border-color: var(--primary);
    background: rgba(0, 166, 81, 0.2);
}

.activity-content .image-item.correct {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
}

.activity-content .image-item.wrong {
    border-color: #ff5252;
    background: rgba(255, 82, 82, 0.2);
}

.activity-content .image-item .emoji {
    font-size: 48px;
    margin-bottom: 10px;
}

.activity-content .check-btn {
    margin-top: 20px;
    padding: 14px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activity-content .check-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.activity-content .activity-result {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.activity-content .activity-result.success {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
}

.activity-content .activity-result.error {
    background: rgba(255, 82, 82, 0.2);
    color: #ff8a80;
}

/* Quiz Content Styling */
.quiz-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.quiz-content .question {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.quiz-content .options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-content .option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-content .option:hover {
    border-color: rgba(0, 166, 81, 0.5);
    background: rgba(0, 166, 81, 0.1);
}

.quiz-content .option.selected {
    border-color: var(--primary);
    background: rgba(0, 166, 81, 0.15);
}

.quiz-content .option.correct {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
}

.quiz-content .option.wrong {
    border-color: #ff5252;
    background: rgba(255, 82, 82, 0.2);
}

.quiz-content .option-letter {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.quiz-content .option.selected .option-letter {
    background: var(--primary);
}

.quiz-content .submit-quiz {
    margin-top: 25px;
    padding: 14px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-content .submit-quiz:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.quiz-content .quiz-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.quiz-content .quiz-result.passed {
    background: rgba(0, 166, 81, 0.2);
    border: 1px solid var(--primary);
}

.quiz-content .quiz-result.failed {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.modal-btn {
    padding: 12px 28px;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.lesson-progress-dots {
    display: flex;
    gap: 8px;
}

.lesson-progress-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.lesson-progress-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.lesson-progress-dots .dot.completed {
    background: var(--primary-light);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .modal-journey-icon {
        font-size: 48px;
    }

    .modal-title {
        font-size: 24px;
    }

    .lesson-tabs {
        overflow-x: auto;
        padding: 15px 20px 0;
    }

    .lesson-tab {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .tab-content {
        padding: 20px;
    }

    .activity-content .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-footer {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
}

/* ==========================================
   ROLLOUT TIMELINE STYLES
   ========================================== */

.timeline-section {
    max-width: 1000px;
    margin: 50px auto 0;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.timeline-phase {
    background: var(--gradient-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-phase:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.timeline-phase.phase-1 {
    border-top: 4px solid #ffc107;
}

.timeline-phase.phase-2 {
    border-top: 4px solid #2196F3;
}

.timeline-phase.phase-3 {
    border-top: 4px solid var(--primary);
}

.phase-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.phase-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

.phase-duration {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

.phase-content {
    text-align: left;
}

.phase-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.phase-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.phase-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-light);
}

.phase-stat span:last-child {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.phase-desc {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .timeline-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SEEKHO AI CHATBOT - Differentiated Design
   ========================================== */

/* Chat Button - Unique Mascot Style */
.chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 166, 81, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 166, 81, 0.5);
}

.chat-button .mascot {
    font-size: 32px;
    line-height: 1;
}

.chat-button .label {
    font-size: 8px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chat-button.active {
    border-radius: 15px;
    width: 50px;
    height: 50px;
}

.chat-button.active .mascot::after {
    content: '✕';
}

/* Chat Panel */
.chat-panel {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 380px;
    height: 520px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 166, 81, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-panel.active {
    display: flex;
    animation: chatSlideUp 0.3s ease;
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Header - Branded */
.chat-header {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.3), rgba(0, 200, 83, 0.1));
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.chat-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-light);
}

.chat-info p {
    font-size: 12px;
    color: var(--primary-light);
    margin: 2px 0 0;
}

/* Quick Actions - Not just text input */
.quick-actions {
    padding: 12px 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-action {
    padding: 8px 14px;
    background: rgba(0, 166, 81, 0.15);
    border: 1px solid rgba(0, 166, 81, 0.3);
    border-radius: 20px;
    color: var(--primary-light);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-action:hover {
    background: rgba(0, 166, 81, 0.3);
    transform: scale(1.05);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.bot {
    background: rgba(0, 166, 81, 0.15);
    border: 1px solid rgba(0, 166, 81, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.chat-message.user {
    background: var(--gradient-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.chat-message .sender {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 5px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 15px;
    align-self: flex-start;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px);
    }
}

/* Chat Input */
.chat-input-container {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px 5px 5px 20px;
    align-items: center;
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 14px;
    outline: none;
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send:hover {
    transform: scale(1.1);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Learning Context Badge */
.context-badge {
    margin: 10px 15px 0;
    padding: 8px 12px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    font-size: 11px;
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-badge .icon {
    font-size: 14px;
}

/* Chat Mobile */
@media (max-width: 500px) {
    .chat-panel {
        width: calc(100% - 30px);
        right: 15px;
        bottom: 100px;
        height: 60vh;
    }

    .chat-button {
        width: 60px;
        height: 60px;
        right: 15px;
        bottom: 15px;
    }
}

/* ==========================================
   CHATBOT HERO SECTION - CENTERPIECE
   ========================================== */

.chatbot-hero-section {
    padding: var(--section-padding) 60px;
    background: linear-gradient(180deg, #0a0a14 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.chatbot-hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.chatbot-hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.chatbot-hero-info {
    text-align: left;
}

.chatbot-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 166, 81, 0.15);
    border: 1px solid rgba(0, 166, 81, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 25px;
}

.chatbot-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.chatbot-hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 500px;
}

.chatbot-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-light);
}

.feature-icon {
    font-size: 24px;
}

/* Hero Chat Widget - Embedded Version */
.chatbot-hero-widget {
    position: relative;
}

.chatbot-hero-widget::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0.2;
    filter: blur(20px);
}

.hero-chat-panel {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    border: 2px solid rgba(0, 166, 81, 0.4);
    box-shadow: 0 25px 80px rgba(0, 166, 81, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-chat-panel .chat-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-badge {
    margin-left: auto;
    padding: 5px 12px;
    background: rgba(0, 200, 83, 0.2);
    border: 1px solid rgba(0, 200, 83, 0.4);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #00E676;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-chat-panel .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-chat-panel .quick-actions {
    padding: 10px 15px;
}

.hero-chat-panel .context-badge {
    margin: 0 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .chatbot-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chatbot-hero-info {
        text-align: center;
    }

    .chatbot-hero-subtitle {
        margin: 0 auto 35px;
    }

    .chatbot-features {
        align-items: center;
    }

    .chatbot-hero-title {
        font-size: 38px;
    }

    .hero-chat-panel {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .chatbot-hero-section {
        padding: 50px 20px;
    }

    .chatbot-hero-title {
        font-size: 32px;
    }

    .hero-chat-panel {
        height: 450px;
    }
}

/* ===== PLATFORM PREVIEW (Hero Section) ===== */
.platform-preview {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.15), rgba(0, 90, 45, 0.2));
    border: 1px solid rgba(0, 166, 81, 0.3);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    max-width: 380px;
}

.preview-header {
    text-align: center;
    margin-bottom: 24px;
}

.preview-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.preview-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.preview-feature:hover {
    background: rgba(0, 166, 81, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.feature-emoji {
    font-size: 24px;
}

.preview-feature span:last-child {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
}

.credibility-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cred-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 166, 81, 0.2);
    border: 1px solid rgba(0, 166, 81, 0.4);
    border-radius: 25px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.cred-badge .badge-icon {
    font-size: 16px;
}

/* Platform Preview Responsive */
@media (max-width: 768px) {
    .platform-preview {
        max-width: 100%;
        margin-top: 40px;
    }

    .preview-feature {
        padding: 12px 14px;
    }

    .credibility-badges {
        flex-direction: column;
        align-items: center;
    }
}