/* ==========================================================================
   WIA Braille - Main Stylesheet
   ========================================================================== */

/* Variables */
:root {
    --color-primary: #2563EB;
    --color-secondary: #F59E0B;
    --color-accent: #10B981;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-bg: #FFFFFF;
    --color-bg-light: #F9FAFB;
    --color-border: #E5E7EB;

    --font-sans: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-braille: 'DejaVu Sans', Arial, sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: white;
    color: white;
}

.btn-primary:hover {
    background-color: #1D4ED8;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: white;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Intro Animation
   ========================================================================== */
.intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeOut 0.5s ease-out 3s forwards;
}

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

.braille-text {
    font-size: 4rem;
    color: white;
    font-family: var(--font-braille);
    opacity: 1;
    animation: fadeInOut 3s ease-in-out;
}

.normal-text {
    font-size: 3rem;
    color: white;
    font-weight: 700;
    opacity: 0;
    animation: fadeInLate 1s ease-in 2s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeInLate {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.braille-logo {
    font-family: var(--font-braille);
    font-size: 1.75rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
}

.lang-toggle {
    background-color: var(--color-bg-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.lang-toggle:hover {
    background-color: white;
    color: white;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: white;
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.braille-dots {
    font-family: var(--font-braille);
    font-size: 8rem;
    color: white;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1D4ED8 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Problem Section */
.problem-section {
    background-color: var(--color-bg-light);
}

.problem-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.solution-item {
    padding: 2rem;
    border-left: 4px solid var(--color-primary);
    background: var(--color-bg-light);
}

.solution-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    opacity: 0.3;
}

/* How It Works */
.how-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: white;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-arrow {
    font-size: 2rem;
    color: white;
}

.how-example {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.example-item {
    background: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.example-braille {
    font-family: var(--font-braille);
    font-size: 2rem;
    color: white;
    margin-top: 1rem;
}

/* Creator Section */
.creator-section {
    background-color: var(--color-bg-light);
}

.creator-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.creator-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: white;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
}

/* UNESCO Section */
.unesco-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1D4ED8 100%);
    color: white;
}

.unesco-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.unesco-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.unesco-icon {
    font-size: 3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1D4ED8 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-text);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

/* ==========================================================================
   Demo Page
   ========================================================================== */
.demo-section {
    max-width: 900px;
    margin: 0 auto;
}

.demo-controls {
    margin-bottom: 2rem;
}

.demo-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.demo-select,
.demo-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.demo-box {
    margin-bottom: 2rem;
}

.demo-output {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    min-height: 100px;
    margin-bottom: 1rem;
}

.braille-output {
    font-family: var(--font-braille);
    font-size: 2.5rem;
    color: white;
}

.demo-examples {
    margin: 3rem 0;
}

.example-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.example-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: var(--transition);
}

.example-btn:hover {
    border-color: white;
    background-color: var(--color-bg-light);
}

/* ==========================================================================
   Learn Pages
   ========================================================================== */
.learn-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.learn-table th,
.learn-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.learn-table th {
    background-color: var(--color-bg-light);
    font-weight: 600;
}

.learn-table .braille {
    font-family: var(--font-braille);
    font-size: 1.5rem;
    color: white;
}

.quiz-section {
    max-width: 700px;
    margin: 0 auto;
}

.question-card,
.result-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.answer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.answer-btn {
    padding: 1rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.125rem;
    transition: var(--transition);
}

.answer-btn:hover:not(:disabled) {
    border-color: white;
    background-color: var(--color-bg-light);
}

.answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.feedback {
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.feedback.correct {
    background-color: #D1FAE5;
    color: #065F46;
}

.feedback.incorrect {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section {
        padding: 3rem 0;
    }

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

    .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .intro {
        display: none;
    }
}

/* ==========================================================================
   Advanced Animations & Effects
   ========================================================================== */

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, #9333EA 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* ==========================================================================
   Philosophy Page Styles
   ========================================================================== */

/* Philosophy Header */
.philosophy-header {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.philosophy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.3), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(147, 51, 234, 0.2), transparent 50%);
    pointer-events: none;
}

.philosophy-header h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.philosophy-header .korean-text {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.philosophy-header .subtitle-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Quote Blocks */
.quote-block {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-left: 6px solid var(--color-primary);
    border-radius: 0.75rem;
}

.quote-block.large-quote {
    padding: 4rem;
    text-align: center;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quote-block.large-quote blockquote {
    font-size: 2rem;
    line-height: 1.6;
    color: white;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.quote-block.large-quote cite {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 2rem;
}

.quote-block blockquote {
    font-size: 1.5rem;
    line-height: 1.8;
    color: white;
    font-weight: 500;
    margin: 0 0 1rem 0;
}

.quote-block cite {
    color: var(--color-text-light);
    font-style: normal;
}

/* Philosophy Content */
.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-section {
    margin: 5rem 0;
}

.philosophy-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Principle List */
.principle-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.principle-item {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.principle-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.principle-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

/* Problem Cards */
.problem-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2);
}

.problem-card h3 {
    font-size: 1.75rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* Vision Section */
.vision-section {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    padding: 4rem;
    border-radius: 1.5rem;
    margin: 5rem 0;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vision-item {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.vision-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.vision-item h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.vision-item ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.vision-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.vision-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Join Options */
.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.join-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.join-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.join-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.join-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* CTA Philosophy */
.cta-philosophy {
    background: linear-gradient(135deg, var(--color-primary) 0%, #9333EA 100%);
    color: white;
    padding: 4rem;
    border-radius: 1.5rem;
    text-align: center;
}

.cta-philosophy h2 {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

/* Final Quote */
.final-quote {
    margin: 5rem 0 3rem 0;
    animation: pulse 3s ease-in-out infinite;
}

/* ==========================================================================
   About Page Enhancements
   ========================================================================== */

/* Content Grid */
.content-grid {
    display: grid;
    gap: 4rem;
}

.content-block {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.content-block h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

/* Feature List */
.feature-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
    transform: translateX(10px);
}

.feature-item h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

/* Tech Example */
.tech-example {
    background: #1E293B;
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.tech-example h4 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.tech-example pre {
    font-family: 'Courier New', monospace;
    line-height: 1.8;
    color: #E0E7FF;
    overflow-x: auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1D4ED8 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.stat-card .stat-label {
    color: white;
    opacity: 0.9;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    z-index: 1;
}

.timeline-date {
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    padding-right: 2rem;
}

.timeline-content {
    padding-left: 2rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.timeline-content p {
    color: var(--color-text-light);
}

/* Timeline Mobile */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 3rem;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-date {
        text-align: left;
        padding-right: 0;
    }

    .timeline-content {
        padding-left: 0;
    }
}

/* ==========================================================================
   Enterprise Page Enhancements
   ========================================================================== */

/* Value Proposition Cards */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.value-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-top-color: var(--color-secondary);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.value-card h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
}

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

/* Contact Form Enhancements */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 3rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Partner Logos Placeholder */
.partner-section {
    background: var(--color-bg-light);
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
    border-radius: 1rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0.5;
}

.partner-placeholder {
    width: 150px;
    height: 80px;
    background: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Press Page Enhancements
   ========================================================================== */

/* Media Kit Cards */
.media-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.media-kit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.media-kit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.media-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Press Timeline */
.press-timeline {
    margin: 3rem 0;
}

.press-item {
    background: white;
    padding: 2rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.press-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
}

.press-date {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.press-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Quote Highlight */
.quote-highlight {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    padding: 3rem;
    border-radius: 1rem;
    margin: 3rem 0;
    font-size: 1.5rem;
    font-style: italic;
    color: white;
    text-align: center;
    border-left: 6px solid var(--color-secondary);
}

/* ==========================================================================
   Learn Page Enhancements
   ========================================================================== */

/* Learning Path Cards */
.learning-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.path-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.path-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.path-badge {
    display: inline-block;
    background: var(--color-secondary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-bar {
    background: var(--color-bg-light);
    height: 8px;
    border-radius: 4px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

/* Quiz Enhancements */
.quiz-progress {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progress-text {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Success Animation */
@keyframes celebrate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

.celebration {
    animation: celebrate 0.5s ease;
}

/* Braille Cell Interactive */
.braille-cell {
    display: inline-grid;
    grid-template-columns: repeat(2, 20px);
    grid-template-rows: repeat(3, 20px);
    gap: 8px;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.braille-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-border);
    transition: all 0.3s ease;
}

.braille-dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.text-large {
    font-size: 1.25rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Dark Section Background */
.section-dark {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: white;
}

.section-dark h2,
.section-dark h3 {
    color: white;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #F97316 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* Number Counter (animated via JS) */
.counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

/* Responsive Adjustments for New Styles */
@media (max-width: 768px) {
    .philosophy-header h1 {
        font-size: 2.5rem;
    }

    .quote-block.large-quote blockquote {
        font-size: 1.5rem;
    }

    .vision-grid,
    .value-grid,
    .media-kit-grid {
        grid-template-columns: 1fr;
    }

    .counter {
        font-size: 2.5rem;
    }
}
/* Hero Section Fixes */
.hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    overflow: hidden;
}

.hero-title {
    color: white !important;
}

.hero-subtitle {
    color: white !important;
    opacity: 0.95;
}

.stat-number {
    color: white !important;
}

.stat-label {
    color: white !important;
    opacity: 0.9;
}

.btn-primary {
    background-color: white !important;
    color: #667eea !important;
}

.btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

/* UNESCO Section - Now 3 Organizations */
.unesco-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 4rem 0 !important;
}

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

.unesco-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.unesco-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.unesco-icon {
    font-size: 2.5rem;
}

.unesco-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: white;
}

.unesco-text span {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.unesco-content p {
    color: white !important;
    opacity: 0.95;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.cta-section h2 {
    color: white !important;
}

.cta-section p {
    color: white !important;
    opacity: 0.95;
}

/* UNESCO Badges - 3 Column 1 Row Layout */
.unesco-badges {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    max-width: 1200px;
    margin: 0 auto 2rem !important;
}

@media (max-width: 768px) {
    .unesco-badges {
        grid-template-columns: 1fr !important;
    }
}

.unesco-badge {
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 2rem 1.5rem !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    backdrop-filter: blur(10px) !important;
    text-align: center !important;
}

.unesco-icon {
    font-size: 3rem !important;
}

.unesco-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.unesco-text strong {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: white !important;
}

.unesco-text span {
    font-size: 1rem !important;
    opacity: 0.9 !important;
    color: white !important;
}

/* Navigation Logo Fix */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.nav-brand .logo {
    color: white !important;
}

.nav-brand .logo .braille-logo {
    color: white !important;
}

.nav-brand .logo .text-logo {
    color: white !important;
}

.nav-menu a {
    color: white !important;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid white !important;
}

/* Creator Section Fixes */
.creator-section {
    background: white !important;
}

.creator-section .section-title {
    color: #2d3748 !important;
}

.creator-info h3,
.creator-info h4 {
    color: #2d3748 !important;
}

.creator-details p {
    color: #2d3748 !important;
}

.creator-details strong {
    color: #2d3748 !important;
}

.creator-details a {
    color: #667eea !important;
    text-decoration: none !important;
}

.creator-details a:hover {
    text-decoration: underline !important;
}

.creator-details em {
    color: #4a5568 !important;
}

.creator-quote {
    background: #667eea !important;
    color: white !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    font-size: 1.3rem !important;
    font-style: italic !important;
    margin-top: 2rem !important;
    text-align: center !important;
}
