/* ============================================
   GHAR NUMBER - PURPLE THEME NATIONAL.CSS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0e27;
    color: #e0e0e0;
    line-height: 1.6;
}

/* ✅ UPDATED Scrollbar with Purple Theme */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ✅ UPDATED Navigation - Purple Gradient */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ✅ UPDATED Theme Toggle Button */
.theme-toggle {
    background: white;
    color: #667eea;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.theme-toggle:hover {
    transform: scale(1.1) rotateZ(20deg);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link:hover::before {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flag-emoji {
    font-size: 80px;
    margin-bottom: 24px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-title-nepali {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #667eea, #764ba2, #2196f3);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    letter-spacing: -2px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 18px;
    color: #b0b0ff;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
    font-weight: 400;
}

.slogan {
    font-size: 26px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 32px 48px;
    border-radius: 30px;
    margin-bottom: 40px;
    display: inline-block;
    font-family: 'Noto Sans Devanagari', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.slogan::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slogan:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.slogan:hover::before {
    opacity: 0.2;
}

/* Flag Section */
.flag-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
}

.flag-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* ✅ UPDATED Section Title - Purple Gradient */
.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.section-description {
    font-size: 18px;
    color: #a0a0ff;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.flag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.flag-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    background: rgba(26, 31, 58, 0.5);
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.flag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.flag-card:hover {
    background: rgba(26, 31, 58, 0.8);
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    transform: translateY(-10px);
}

.flag-card:hover::before {
    transform: scaleX(1);
}

.flag-color-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.flag-card:hover .flag-color-circle {
    transform: scale(1.15) rotateZ(10deg);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.flag-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: #667eea;
}

.flag-card-english {
    font-size: 14px;
    font-weight: 600;
    color: #764ba2;
    margin-bottom: 16px;
}

.flag-card-description {
    font-size: 14px;
    color: #b0b0ff;
    line-height: 1.7;
    margin-bottom: 16px;
}

.flag-significance {
    background: rgba(102, 126, 234, 0.1);
    padding: 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.rato-guras .flag-color-circle { background: linear-gradient(135deg, #f44336, #d32f2f); }
.chandra-himal .flag-color-circle { background: linear-gradient(135deg, #2196f3, #1976d2); }
.surya-danphe .flag-color-circle { background: linear-gradient(135deg, #ff9800, #f57c00); }

/* Zones Section */
.zones-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    position: relative;
}

.zones-explanation {
    background: rgba(102, 126, 234, 0.08);
    padding: 32px 40px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    margin-bottom: 60px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.zones-explanation h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #667eea;
}

.zones-explanation p {
    font-size: 15px;
    color: #a0a0ff;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 400;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.zone-card {
    padding: 40px;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.zone-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.zone-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 8px 40px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.zone-content {
    position: relative;
    z-index: 1;
}

.zone-number {
    font-size: 56px;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.zone-title-nepali {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.zone-title-english {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.zone-description {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.95;
}

.zone-mutm {
    font-size: 12px;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.zone-81 { 
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(211, 47, 47, 0.1) 100%);
    border-color: rgba(244, 67, 54, 0.3);
}

.zone-84 { 
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(25, 118, 210, 0.1) 100%);
    border-color: rgba(33, 150, 243, 0.3);
}

.zone-87 { 
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(245, 124, 0, 0.1) 100%);
    border-color: rgba(255, 152, 0, 0.3);
}

/* Guardians and Blessings Section */
.guardians-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
}

.guardians-section .section-title {
    color: #667eea;
}

.guardians-section .section-description {
    color: #a0a0ff;
}

.guardians-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    position: relative;
    z-index: 1;
}

.guardian-card, .blessing-card {
    padding: 20px;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.guardian-card::before, .blessing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.guardian-card:hover, .blessing-card:hover {
    background: rgba(26, 31, 58, 0.8);
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
}

.guardian-card:hover::before, .blessing-card:hover::before {
    transform: scaleX(1);
}

.card-number {
    font-size: 11px;
    opacity: 0.6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #a0a0ff;
}

.card-nepali {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #667eea;
}

.card-english {
    font-size: 12px;
    font-weight: 600;
    color: #764ba2;
}

.card-meaning {
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.4;
    font-style: italic;
    margin-top: 8px;
    color: #a0a0ff;
}

/* Address Format Section */
.address-format {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
}

.format-card {
    background: rgba(26, 31, 58, 0.6);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.2);
}

.format-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #667eea;
}

.address-components {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.component {
    background: rgba(102, 126, 234, 0.08);
    padding: 24px;
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.component:hover {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

.component-number {
    font-size: 11px;
    font-weight: 600;
    color: #a0a0ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.component-example {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.component-description {
    font-size: 12px;
    color: #b0b0ff;
    font-weight: 600;
}

.address-example {
    background: rgba(102, 126, 234, 0.1);
    color: #e0e0e0;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
}

.example-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    color: #a0a0ff;
}

.example-address {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #667eea;
}

.example-english {
    font-size: 14px;
    text-align: center;
    color: #b0b0ff;
}

/* Technology Section */
.technology-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.tech-card {
    padding: 40px;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.tech-card:hover {
    box-shadow: 0 8px 40px rgba(102, 126, 234, 0.3);
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.4);
    background: rgba(26, 31, 58, 0.8);
}

.tech-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.tech-label {
    font-size: 11px;
    font-weight: 700;
    color: #a0a0ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tech-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.tech-description {
    font-size: 13px;
    color: #b0b0ff;
    line-height: 1.6;
}

/* ✅ UPDATED CTA Section - Purple Gradient */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.cta-content h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 48px;
    color: white;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ✅ UPDATED Buttons - Matching Homepage Theme */
.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #000000;
    color: #808080;
    padding: 60px 0 20px;
    text-align: center;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
}

footer p {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 400;
}

footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #764ba2;
    text-shadow: 0 0 10px rgba(118, 75, 162, 0.5);
}

/* ==================== SCROLL ANIMATIONS ==================== */
[data-scroll] {
    opacity: 0;
    transform: translateY(40px);
}

[data-scroll].animate-in {
    animation: scrollFadeIn 0.8s ease-out forwards;
}

@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flag-card:nth-child(1)[data-scroll].animate-in { animation-delay: 0.1s; }
.flag-card:nth-child(2)[data-scroll].animate-in { animation-delay: 0.2s; }
.flag-card:nth-child(3)[data-scroll].animate-in { animation-delay: 0.3s; }

.zone-card:nth-child(1)[data-scroll].animate-in { animation-delay: 0.1s; }
.zone-card:nth-child(2)[data-scroll].animate-in { animation-delay: 0.2s; }
.zone-card:nth-child(3)[data-scroll].animate-in { animation-delay: 0.3s; }

.tech-card:nth-child(1)[data-scroll].animate-in { animation-delay: 0.1s; }
.tech-card:nth-child(2)[data-scroll].animate-in { animation-delay: 0.2s; }
.tech-card:nth-child(3)[data-scroll].animate-in { animation-delay: 0.3s; }
.tech-card:nth-child(4)[data-scroll].animate-in { animation-delay: 0.4s; }
.tech-card:nth-child(5)[data-scroll].animate-in { animation-delay: 0.5s; }
.tech-card:nth-child(6)[data-scroll].animate-in { animation-delay: 0.6s; }

.component:nth-child(1)[data-scroll].animate-in { animation-delay: 0.1s; }
.component:nth-child(2)[data-scroll].animate-in { animation-delay: 0.2s; }
.component:nth-child(3)[data-scroll].animate-in { animation-delay: 0.3s; }
.component:nth-child(4)[data-scroll].animate-in { animation-delay: 0.4s; }

/* ==================== LIGHT MODE COMPLETE ==================== */

html[data-theme="light"] body {
    background: #ffffff;
    color: #212121;
}

html[data-theme="light"] nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

html[data-theme="light"] .theme-toggle {
    background: white;
    color: #667eea;
}

html[data-theme="light"] .hero {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

html[data-theme="light"] .hero-title-nepali,
html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .section-description {
    color: #424242;
}

html[data-theme="light"] .slogan {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

html[data-theme="light"] .flag-section,
html[data-theme="light"] .guardians-section,
html[data-theme="light"] .address-format,
html[data-theme="light"] .technology-section {
    background: #ffffff;
}

html[data-theme="light"] .flag-card,
html[data-theme="light"] .guardian-card,
html[data-theme="light"] .blessing-card,
html[data-theme="light"] .tech-card,
html[data-theme="light"] .format-card {
    background: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .flag-card:hover,
html[data-theme="light"] .guardian-card:hover,
html[data-theme="light"] .blessing-card:hover,
html[data-theme="light"] .tech-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

html[data-theme="light"] .card-nepali,
html[data-theme="light"] .component-example,
html[data-theme="light"] .example-address,
html[data-theme="light"] .tech-value {
    color: #667eea;
}

html[data-theme="light"] .card-english,
html[data-theme="light"] .flag-card-english {
    color: #764ba2;
}

html[data-theme="light"] .flag-card h3 {
    color: #212121;
    font-weight: 700;
}

html[data-theme="light"] .flag-card-description {
    color: #424242;
    font-weight: 500;
}

html[data-theme="light"] .flag-significance {
    background: #f5f5f5;
    color: #424242;
    border: 1px solid #e0e0e0;
    font-weight: 600;
}

html[data-theme="light"] .zones-section {
    background: #f5f5f5;
}

html[data-theme="light"] .zones-explanation {
    background: #e3f2fd;
    border: 2px solid #90caf9;
    border-left: 4px solid #1976d2;
}

html[data-theme="light"] .zones-explanation h4 {
    color: #0d47a1;
    font-weight: 700;
}

html[data-theme="light"] .zones-explanation p {
    color: #1565c0;
    font-weight: 500;
}

/* ✅ FIXED: Zone Cards with Dark Text in Light Mode */
html[data-theme="light"] .zone-card {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .zone-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
}

html[data-theme="light"] .zone-81 {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15) 0%, rgba(211, 47, 47, 0.1) 100%);
    border: 2px solid #ef5350;
}

html[data-theme="light"] .zone-84 {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(25, 118, 210, 0.1) 100%);
    border: 2px solid #64b5f6;
}

html[data-theme="light"] .zone-87 {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15) 0%, rgba(245, 124, 0, 0.1) 100%);
    border: 2px solid #ffb74d;
}

/* ✅ THIS IS THE KEY FIX - Dark text for all zone card content in light mode */
html[data-theme="light"] .zone-number {
    color: #212121 !important;
    font-weight: 800;
    text-shadow: none;
}

html[data-theme="light"] .zone-title-nepali {
    color: #212121 !important;
    font-weight: 800;
    text-shadow: none;
}

html[data-theme="light"] .zone-title-english {
    color: #424242 !important;
    font-weight: 700;
    text-shadow: none;
}

html[data-theme="light"] .zone-description {
    color: #424242 !important;
    font-weight: 500;
    text-shadow: none;
}

html[data-theme="light"] .zone-mutm {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #424242 !important;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

html[data-theme="light"] .card-number {
    color: #9e9e9e;
    font-weight: 700;
}

html[data-theme="light"] .card-meaning {
    color: #424242;
    font-weight: 500;
    font-style: italic;
}

html[data-theme="light"] .component-number {
    color: #9e9e9e;
    font-weight: 700;
}

html[data-theme="light"] .component-description {
    color: #424242;
    font-weight: 600;
}

html[data-theme="light"] .address-example {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    border: 2px solid #ffb3ba;
    color: #212121;
}

html[data-theme="light"] .example-label {
    color: #616161;
    font-weight: 700;
}

html[data-theme="light"] .example-english {
    color: #424242;
    font-weight: 600;
}

html[data-theme="light"] .tech-label {
    color: #9e9e9e;
    font-weight: 700;
}

html[data-theme="light"] .tech-description {
    color: #424242;
    font-weight: 500;
}

html[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html[data-theme="light"] .cta-content h2 {
    color: white;
    font-weight: 800;
}

html[data-theme="light"] .cta-content p {
    color: white;
    font-weight: 500;
}

html[data-theme="light"] .btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

html[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

html[data-theme="light"] .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
}

html[data-theme="light"] .btn-secondary:hover {
    background: white;
    color: #667eea;
}

html[data-theme="light"] footer {
    background: #212121;
    color: #bdbdbd;
    border-top: 2px solid #e0e0e0;
}

html[data-theme="light"] footer a {
    color: #667eea;
    font-weight: 700;
}

html[data-theme="light"] footer a:hover {
    color: #764ba2;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .flag-emoji {
        font-size: 60px;
    }

    .hero-title-nepali {
        font-size: 40px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .slogan {
        font-size: 20px;
        padding: 24px 32px;
    }

    .section-title {
        font-size: 36px;
    }

    .flag-section,
    .zones-section,
    .guardians-section,
    .address-format,
    .technology-section,
    .cta-section {
        padding: 80px 0;
    }

    .format-card {
        padding: 40px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .guardians-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-title-nepali {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .slogan {
        font-size: 18px;
        padding: 20px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
