/*
 * Little Karaoke - Marketing Site
 * Global Stylesheet: site.css
 * Design System: Retro-Modern Pop / Neon Cyberpunk
 */

/* 1. Core Foundation, Fonts & Variables
 * -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Inter:wght@400;700;900&display=swap');

:root {
  /* Site-wide Typography */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif; /* Using Inter with heavy weight for display */
  --font-mono: 'Fira Code', monospace;

  /* Light Theme (Retro-Modern Pop) */
  --c-bg: hsl(30, 100%, 98%);
  --c-text-primary: #161625;
  --c-text-secondary: #818cab;
  --c-accent: #FF69B4;
  --c-border: #e2e8f0;
  --c-surface: #ffffff;
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);

  /* UI Elements */
  --radius: 8px;
  --border-width: 1.5px;
  --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Dark Theme (Neon Cyberpunk) */
[data-theme="dark"] {
  --c-bg: #161625;
  --c-text-primary: hsl(30, 100%, 98%);
  --c-text-secondary: #818cab;
  --c-accent: #FF69B4;
  --c-border: rgba(255, 255, 255, 0.1);
  --c-surface: #202030;
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -4px rgba(0, 0, 0, 0.15);
}

/* OS preference detection removed to default to light mode. */


/* 2. Global Resets & Typography
 * -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--c-text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { max-width: 65ch; margin: 0 0 1.5rem 0; }
a { color: var(--c-accent); font-weight: 700; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-text-primary); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.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;
}

/* Accessibility focus */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}


/* 3. Reusable Components
 * -------------------------------------------------------------------------- */

/* Header */
.site-header {
  padding: 1rem 0;
  position: sticky; top: 0;
  z-index: 1000;
  background-color: color-mix(in srgb, var(--c-bg) 85%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border-width) solid var(--c-border);
  transition: background-color var(--transition), border-color var(--transition);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-text-primary);
  text-decoration: none;
}
.logo img { height: 40px; }

/* Main Navigation */
.main-nav { display: none; }
@media (min-width: 960px) {
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
  .main-nav a {
    color: var(--c-text-secondary);
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: color var(--transition), background-color var(--transition);
  }
  .main-nav a:hover {
    color: var(--c-text-primary);
    background-color: color-mix(in srgb, var(--c-accent) 15%, transparent);
  }
  .main-nav a[aria-current="page"] {
    color: var(--c-accent);
    font-weight: 900;
  }
}
.header-actions { display: flex; align-items: center; gap: 1rem; }


/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--radius);
  text-decoration: none;
  border: var(--border-width) solid transparent;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background-color: var(--c-accent);
  color: white;
  box-shadow: 0 0 20px -5px color-mix(in srgb, var(--c-accent) 50%, transparent);
}
.btn-primary:hover {
  background-color: color-mix(in srgb, var(--c-accent) 85%, black);
}
.btn-secondary {
  background-color: var(--c-surface);
  color: var(--c-text-primary);
  border-color: var(--c-border);
}
.btn-secondary:hover {
  background-color: var(--c-surface);
  border-color: var(--c-accent);
}

/* Cards */
.card {
  background-color: var(--c-surface);
  border-radius: var(--radius);
  border: var(--border-width) solid var(--c-border);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}


/* Footer */
.site-footer {
  padding: 4rem 1.5rem 2rem;
  background: var(--c-surface);
  border-top: var(--border-width) solid var(--c-border);
  color: var(--c-text-secondary);
  text-align: center;
}
.footer-nav {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0; margin: 0 0 3rem 0;
}
.footer-nav a {
  color: var(--c-text-secondary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--c-text-primary); }
.footer-copy p { margin: 0 auto; font-size: 0.9rem; }


/* 4. Page-Specific & Layout
 * -------------------------------------------------------------------------- */

.section {
  padding: 5rem 0;
}
.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-900 { max-width: 900px; margin-left: auto; margin-right: auto; }
.bg-surface { background-color: var(--c-surface); }
.border-accent { border-color: var(--c-accent) !important; }
.mt-4 { margin-top: 4rem; }
.mt-2 { margin-top: 2rem; }
.p-2 { padding: 2rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
[data-theme="dark"] .hero-background { opacity: 0.2; }
.hero-section h1 {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.subheader {
  font-size: 1.25rem;
  color: var(--c-text-secondary);
  max-width: 60ch;
  margin: 1.5rem auto 2.5rem;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* Persona Grid Homepage */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.persona-card h3 {
  color: var(--c-text-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.persona-card p {
  color: var(--c-text-secondary);
  font-size: 1rem;
}
.persona-card .card-link { margin-top: 1.5rem; display: inline-block; font-weight: 700; }


/* Pricing Page */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
.pricing-toggle-group {
  display: inline-flex;
  padding: 0.5rem;
  background-color: var(--c-surface);
  border-radius: var(--radius);
  border: var(--border-width) solid var(--c-border);
}
.pricing-toggle-btn {
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  border: none;
  background-color: transparent;
  color: var(--c-text-secondary);
  cursor: pointer;
  border-radius: 6px;
  transition: background-color var(--transition), color var(--transition);
}
.pricing-toggle-btn.active {
  background-color: var(--c-accent);
  color: white;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}
.pricing-card {
  text-align: left;
  position: relative;
  overflow: hidden;
}
.ribbon {
  position: absolute;
  top: 28px;
  right: -36px;
  transform: rotate(45deg);
  background: var(--c-accent);
  background: linear-gradient(45deg, var(--c-accent), color-mix(in srgb, var(--c-accent), white 25%));
  color: white;
  padding: 6px 40px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
  letter-spacing: 1px;
  text-align: center;
  min-width: 160px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Specific gradient for the Final Fusion theme */
.theme-final-fusion .ribbon {
  background: linear-gradient(45deg, #ff00aa, #00aaff);
}

[data-theme="dark"] .theme-final-fusion .ribbon {
  background: linear-gradient(45deg, var(--c-accent), var(--c-accent-secondary));
}

/* Pop Art: Bold outlines and hard shadows */
.theme-pop-art .ribbon {
  background: var(--c-accent);
  border: 2px solid black;
  box-shadow: 2px 2px 0 black;
  color: white;
}

/* Cyberpunk: Neon glow */
.theme-cyberpunk-candy .ribbon {
  background: var(--c-accent);
  box-shadow: 0 0 15px var(--c-accent);
  text-shadow: 0 1px 2px black;
  border: 1px solid rgba(255,255,255,0.5);
}

/* Bauhaus: Flat and functional */
.theme-bauhaus .ribbon {
  background: var(--c-accent);
  box-shadow: none;
  font-family: var(--font-display);
}

/* Monochrome: High contrast */
.theme-monochrome-focus .ribbon {
  background: var(--c-accent);
  color: var(--c-bg);
  border: 1px solid var(--c-bg);
  box-shadow: none;
}
.pricing-card .tier-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--c-text-primary);
}
.pricing-card .price {
  font-size: 3rem;
  font-weight: 900;
  margin: 1rem 0;
}
.pricing-card .price-freq { color: var(--c-text-secondary); }
.pricing-card .btn { width: 100%; margin: 1.5rem 0; }
.pricing-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.pricing-card .features-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pricing-card .features-list li::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: bold;
}

/* Feature Showcase Section */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 768px) {
    .feature-showcase {
        grid-template-columns: 1fr 1fr;
    }
    .feature-showcase .text-content {
        order: 1;
    }
    .feature-showcase .image-content {
        order: 2;
    }
    .feature-showcase.reverse .text-content {
        order: 2;
    }
    .feature-showcase.reverse .image-content {
        order: 1;
    }
}
.feature-showcase .image-content img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}
.feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: color-mix(in srgb, var(--c-accent) 15%, transparent);
    color: var(--c-accent);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 99px;
    margin-bottom: 1rem;
}


/* Theme Toggle Button */
.theme-toggle {
  background: var(--c-surface);
  border: var(--border-width) solid var(--c-border);
  color: var(--c-text-secondary);
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .icon-dark,
[data-theme="dark"] .theme-toggle .icon-light {
    display: none;
}
[data-theme="dark"] .theme-toggle .icon-dark {
    display: block;
}


/* Mobile Nav Specific */
.mobile-nav-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 2000;
  cursor: pointer;
  color: var(--c-text-primary);
}
@media (min-width: 960px) {
    .mobile-nav-toggle { display: none; }
}

.mobile-nav-panel {
  display: none; /* Logic handled by JS */
  position: fixed;
  inset: 0;
  background-color: var(--c-bg);
  z-index: 1999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.mobile-nav-panel.is-open { display: flex; }
.mobile-nav-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.mobile-nav-panel a {
  display: block;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-text-primary);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}


/* 5. Theme-Specific Overrides
 * -------------------------------------------------------------------------- */

/* Theme 1: Pop Art Poster */
.theme-pop-art {
  --c-bg: #FDF498;
  --c-text-primary: #000000;
  --c-text-secondary: #5a5a5a;
  --c-accent: #F94C66;
  --c-surface: #ffffff;
  --c-border: #000000;
  --font-display: 'Impact', 'Arial Black', sans-serif;
  --radius: 4px;
}
.theme-pop-art .hero-background {
    opacity: 0.8;
    mix-blend-mode: multiply;
}
.theme-pop-art .btn-primary {
    background-color: #5534A5;
    color: white;
    border: 2px solid black;
    box-shadow: 4px 4px 0 black;
}
.theme-pop-art .btn-primary:hover {
    background-color: #F94C66;
    box-shadow: 2px 2px 0 black;
}
.theme-pop-art .card {
    border-width: 2px;
}


/* Theme 2: Analog Nostalgia */
.theme-analog-nostalgia {
  --c-bg: #F5EFE6;
  --c-text-primary: #4A3A2A;
  --c-text-secondary: #7B6855;
  --c-accent: #C06C59;
  --c-surface: #EAE0D5;
  --c-border: #DCD0C0;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --radius: 6px;
}
.theme-analog-nostalgia .hero-background {
    opacity: 0.7;
    filter: sepia(0.3) saturate(1.2);
}
.theme-analog-nostalgia .btn {
    border-radius: 99px;
}
.theme-analog-nostalgia .btn-primary {
    background-color: #A35746;
}
.theme-analog-nostalgia .site-header {
    background-color: color-mix(in srgb, var(--c-bg) 90%, transparent);
}


/* Theme 3: Cyberpunk Candy */
.theme-cyberpunk-candy {
  --c-bg: #0a0a1a;
  --c-text-primary: #e0e0ff;
  --c-text-secondary: #8a8aac;
  --c-accent: #ff00ff; /* Magenta */
  --c-surface: #1a1a3a;
  --c-border: rgba(255, 0, 255, 0.3);
  --font-body: 'Courier Prime', monospace;
  --font-display: 'Orbitron', sans-serif;
  --radius: 0px;
}
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Orbitron:wght@900&display=swap');

.theme-cyberpunk-candy .hero-background {
    opacity: 0.4;
    mix-blend-mode: screen;
}
.theme-cyberpunk-candy .btn-primary {
    background-color: transparent;
    border-color: var(--c-accent);
    color: var(--c-accent);
    text-shadow: 0 0 10px var(--c-accent);
}
.theme-cyberpunk-candy .btn-primary:hover {
    background-color: var(--c-accent);
    color: var(--c-bg);
    box-shadow: 0 0 20px var(--c-accent);
}
.theme-cyberpunk-candy .card {
    border-image: linear-gradient(to top right, #ff00ff, #00ffff) 1;
}
.theme-cyberpunk-candy .site-header {
    border-bottom-color: rgba(255, 0, 255, 0.5);
}

/* Theme 4: Golden Age Glamour */
.theme-golden-age-glamour {
  --c-bg: #1a1a1a;
  --c-text-primary: #f2e6d8;
  --c-text-secondary: #c9bba8;
  --c-accent: #d4af37; /* Gold */
  --c-surface: #2a2a2a;
  --c-border: #444;
  --font-display: 'Playfair Display', serif;
  --radius: 2px;
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

.theme-golden-age-glamour .hero-background {
    opacity: 0.8;
}
.theme-golden-age-glamour .hero-section {
    color: #ffffff;
}
.theme-golden-age-glamour .btn-primary {
    background-color: var(--c-accent);
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.theme-golden-age-glamour .btn-primary:hover {
    background-color: #fff;
    color: #1a1a1a;
}
.theme-golden-age-glamour .card {
    border-color: var(--c-accent);
}

/* Theme 5: Indie Zine */
.theme-indie-zine {
  --c-bg: #fdfdfa;
  --c-text-primary: #222222;
  --c-text-secondary: #666666;
  --c-accent: #ff4500; /* Tomato Red */
  --c-surface: #ffffff;
  --c-border: #222222;
  --font-display: 'Special Elite', cursive;
  --font-body: 'Courier Prime', monospace;
  --radius: 0px;
}
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime&display=swap');

.theme-indie-zine .hero-background {
    opacity: 0.9;
    mix-blend-mode: darken;
}
.theme-indie-zine h1, .theme-indie-zine h2, .theme-indie-zine h3 {
    text-transform: uppercase;
}
.theme-indie-zine .btn {
    border-width: 2px;
    border-style: solid;
}
.theme-indie-zine .btn-primary {
    background-color: var(--c-accent);
    color: var(--c-bg);
}
.theme-indie-zine .card {
    border-style: dashed;
    border-width: 2px;
}
.theme-indie-zine .feature-badge {
    background-color: var(--c-accent);
    color: var(--c-bg);
}

/* Theme 6: Monochrome Focus */
.theme-monochrome-focus {
  --c-bg: #000000;
  --c-text-primary: #ffffff;
  --c-text-secondary: #bbbbbb;
  --c-accent: #00ffff; /* Cyan */
  --c-surface: #111111;
  --c-border: #333333;
  --font-display: 'Roboto Mono', monospace;
  --radius: 0px;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@700&display=swap');

.theme-monochrome-focus .hero-background {
    opacity: 0.8;
}
.theme-monochrome-focus .btn-primary {
    background-color: var(--c-accent);
    color: var(--c-bg);
    font-weight: 700;
}
.theme-monochrome-focus .btn-primary:hover {
    background-color: white;
    color: black;
}
.theme-monochrome-focus .btn-secondary {
    border-color: var(--c-accent);
    color: var(--c-accent);
}
.theme-monochrome-focus a {
    color: var(--c-accent);
}
.theme-monochrome-focus .feature-badge {
    color: var(--c-accent);
    border: 1px solid var(--c-accent);
    background: transparent;
}

/* 6. Award-Worthy Themes
 * -------------------------------------------------------------------------- */

/* Theme 7: Generative Soundscape */
.theme-generative-soundscape {
  --c-bg: #050510;
  --c-text-primary: #e5e5ff;
  --c-accent: #00f0ff;
  --c-surface: #101020;
  --c-border: rgba(0, 240, 255, 0.2);
  --font-display: "Helvetica Neue", "Arial", sans-serif;
}
.theme-generative-soundscape .hero-background {
    opacity: 0.7;
    mix-blend-mode: screen;
}
.theme-generative-soundscape h1 {
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Theme 8: Digital Greenhouse */
.theme-digital-greenhouse {
  --c-bg: #020804;
  --c-text-primary: #d0e0d8;
  --c-accent: #33ff99;
  --c-surface: #0a1810;
  --c-border: rgba(51, 255, 153, 0.2);
}
.theme-digital-greenhouse .hero-background {
    opacity: 0.9;
    mix-blend-mode: lighten;
}
.theme-digital-greenhouse .btn-primary {
    background-color: var(--c-accent);
    color: #020804;
    font-weight: bold;
}

/* Theme 9: Kinetic Brutalism */
.theme-kinetic-brutalism {
  --c-bg: #e0e0e0;
  --c-text-primary: #000000;
  --c-accent: #ff0000;
  --c-surface: #cccccc;
  --c-border: #000000;
  --font-display: "Arial Black", "Impact", sans-serif;
  --radius: 0;
}
.theme-kinetic-brutalism .hero-brutalist {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background-color: var(--c-accent);
  color: var(--c-bg);
}
.kinetic-hero-text {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  height: 1em;
  width: 100%;
  text-align: center;
}
.kinetic-hero-text span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.kinetic-hero-text span:first-child {
  opacity: 1;
}

/* Theme 10: Swiss Data Modernism */
.theme-swiss-data-modernism {
  --c-bg: #f4f4f4;
  --c-text-primary: #111;
  --c-accent: #005fcc;
  --c-surface: #ffffff;
  --c-border: #e0e0e0;
  --font-display: "Helvetica", "Arial", sans-serif;
  --font-body: "Helvetica", "Arial", sans-serif;
}
.theme-swiss-data-modernism h1, .theme-swiss-data-modernism h2, .theme-swiss-data-modernism h3 {
    font-weight: 700;
}
.theme-swiss-data-modernism .hero-section {
    text-align: left;
}
.theme-swiss-data-modernism .hero-background { opacity: 0.5; }

/* Theme 11: Soft UI (Neumorphism) */
.theme-soft-ui {
  --c-bg: #e0e5ec;
  --c-text-primary: #596a7c;
  --c-accent: #6d5dfc;
  --neumorphism-shadow-light: rgba(255, 255, 255, 0.7);
  --neumorphism-shadow-dark: rgba(163, 177, 198, 0.6);
}
.theme-soft-ui .card, .theme-soft-ui .btn {
  background: var(--c-bg);
  border: none;
  box-shadow: -7px -7px 20px 0px var(--neumorphism-shadow-light),
              7px 7px 20px 0px var(--neumorphism-shadow-dark);
}
.theme-soft-ui .btn:hover {
  box-shadow: -4px -4px 10px 0px var(--neumorphism-shadow-light),
              4px 4px 10px 0px var(--neumorphism-shadow-dark);
}
.theme-soft-ui .btn-primary {
    color: var(--c-accent);
}

/* Theme 12: Interactive Object Study */
.theme-interactive-object-study {
    --c-bg: #f0f0f0;
    --c-text-primary: #333;
    --c-accent: #1a73e8;
    --c-surface: #fff;
    --c-border: #dcdcdc;
}
.theme-interactive-object-study .hero-background {
    object-fit: contain;
    opacity: 1;
}
.theme-interactive-object-study .hero-section h1, .theme-interactive-object-study .hero-section .subheader {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* 7. Final Masterful Themes
 * -------------------------------------------------------------------------- */

/* Theme 13: Vibrant & Gamified */
.theme-vibrant-gamified {
  --c-bg: #1a0f33;
  --c-text-primary: #ffffff;
  --c-accent: #f0ff00; /* Neon yellow */
  --c-surface: #2a1f49;
  --c-border: rgba(240, 255, 0, 0.4);
  --font-display: 'Press Start 2P', cursive;
  --radius: 4px;
}
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

.theme-vibrant-gamified .hero-background { opacity: 0.8; }
.theme-vibrant-gamified .btn-primary {
    background: #ff00ff; /* Magenta */
    color: white;
    border: 2px solid var(--c-text-primary);
    box-shadow: 4px 4px 0 var(--c-text-primary);
    image-rendering: pixelated;
}
.theme-vibrant-gamified .card {
    border-color: #00ffff; /* Cyan */
}

/* Theme 14: Tokyo/Seoul K-TV Pop */
.theme-ktv-pop {
  --c-bg: #0c0c1e;
  --c-text-primary: #f0f0ff;
  --c-accent: #ff00aa; /* Hot Pink */
  --c-surface: #1c1c3e;
  --c-border: rgba(255, 0, 170, 0.3);
}
.theme-ktv-pop .hero-background {
    opacity: 0.6;
    mix-blend-mode: screen;
}
.theme-ktv-pop h1 {
    font-weight: 700;
    text-shadow: 0 0 10px var(--c-accent), 0 0 20px rgba(255, 0, 170, 0.5);
}
.theme-ktv-pop .btn-primary {
    background: linear-gradient(45deg, #ff00aa, #00aaff);
    border: none;
}

/* Theme 15: Bauhaus Functionalism */
.theme-bauhaus {
  --c-bg: #f5f5f5;
  --c-text-primary: #000000;
  --c-accent: #ff0000; /* Red */
  --c-surface: #ffffff;
  --c-border: #000000;
  --font-display: 'Montserrat', sans-serif;
  --radius: 0;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

.theme-bauhaus .hero-background { opacity: 1; }
.theme-bauhaus .hero-section { background-color: #f5f5f5; text-align: left; }
.theme-bauhaus h1, .theme-bauhaus h2, .theme-bauhaus h3 { text-transform: uppercase; font-weight: 900; }
.theme-bauhaus .btn-primary {
    background-color: #005fcc; /* Blue */
    color: white;
}
.theme-bauhaus .card {
    border-color: #fce100; /* Yellow */
    border-width: 4px;
}

/* Theme 16: Organic Watercolor */
.theme-organic-watercolor {
  --c-bg: #fcfaf8;
  --c-text-primary: #3d3a4b;
  --c-accent: #d96666;
  --c-surface: #ffffff;
  --c-border: #e0d8d0;
  --font-display: 'Georgia', serif;
}
.theme-organic-watercolor .hero-background {
    opacity: 0.8;
    mix-blend-mode: multiply;
}
.theme-organic-watercolor .btn-primary {
    background-color: #5c8b8b;
    border-radius: 50px;
}

/* Theme 17: Surrealist Dreamscape */
.theme-surreal-dreamscape {
  --c-bg: #e6f0ff;
  --c-text-primary: #2c3e50;
  --c-accent: #ff6b6b;
  --c-surface: rgba(255, 255, 255, 0.7);
  --c-border: rgba(0,0,0,0.1);
}
.theme-surreal-dreamscape .hero-background {
    opacity: 0.9;
}
.theme-surreal-dreamscape .hero-section .container {
    background: rgba(255,255,255,0.2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: var(--radius);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* 8. THE FINAL FUSION THEME (LIGHT & DARK MODE)
 * Swiss Data Modernism x K-TV Pop
 * -------------------------------------------------------------------------- */

/* Default to Light Mode (Swiss Professional) */
.theme-final-fusion {
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 4px;
  --c-bg: #f4f5f7;
  --c-text-primary: #111827;
  --c-text-secondary: #6b7280;
  --c-accent: #d9008d; /* Strong Magenta */
  --c-accent-secondary: #ff8c00; /* Energetic Orange */
  --c-accent-tertiary: #009FBD; /* Electric Cyan */
  --c-accent-quaternary: #00C853; /* Vibrant Green */
  --c-accent-quinary: #6A0DAD; /* Vibrant Purple */
  --c-surface: #ffffff;
  --c-border: #e5e7eb;
}

/* Dark Mode Overrides (K-TV Energy) */
[data-theme="dark"] .theme-final-fusion {
  --c-bg: #0c0c1e;
  --c-text-primary: #f0f0ff;
  --c-text-secondary: #8a8aac;
  --c-accent: #ff00aa; /* Neon Magenta */
  --c-accent-secondary: #ffbf00; /* Energetic Orange */
  --c-accent-tertiary: #00f0ff; /* Neon Cyan */
  --c-accent-quaternary: #39FF14; /* Neon Green */
  --c-accent-quinary: #9370DB; /* Lighter Purple for dark mode */
  --c-surface: #14142c;
  --c-border: rgba(0, 170, 255, 0.3);
}

/* Shared styles for the theme */
.theme-final-fusion .hero-background {
  opacity: 0.6;
}
[data-theme="dark"] .theme-final-fusion .hero-background {
  mix-blend-mode: screen;
}

.theme-final-fusion h1,
.theme-final-fusion h2 {
    font-weight: 900;
}

[data-theme="dark"] .theme-final-fusion h1,
[data-theme="dark"] .theme-final-fusion h2 {
    text-shadow: 0 0 12px color-mix(in srgb, var(--c-accent-secondary) 30%, transparent);
}

[data-theme="dark"] .theme-final-fusion .hero-section h1 {
  color: #fff;
  text-shadow: 0 0 15px var(--c-accent), 0 0 25px color-mix(in srgb, var(--c-accent) 50%, transparent);
}

/* Light Mode Primary Button (Professional & Clean) */
.theme-final-fusion .btn-primary {
  background: linear-gradient(45deg, #ff00aa, #00aaff);
  border: none;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.theme-final-fusion .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px -5px color-mix(in srgb, #ff00aa 40%, transparent);
  color: #fff;
}

/* Dark Mode Primary Button (Vibrant & Energetic) */
[data-theme="dark"] .theme-final-fusion .btn-primary {
    background: linear-gradient(45deg, var(--c-accent), var(--c-accent-secondary));
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
[data-theme="dark"] .theme-final-fusion .btn-primary:hover {
    box-shadow: 0 10px 20px -5px color-mix(in srgb, var(--c-accent) 40%, transparent);
}

.theme-final-fusion .btn-secondary {
  background-color: var(--c-surface);
  color: var(--c-text-primary);
  border-color: var(--c-border);
}
.theme-final-fusion .btn-secondary:hover {
    border-color: var(--c-accent-secondary);
    color: var(--c-accent-secondary);
    background-color: color-mix(in srgb, var(--c-accent-secondary) 10%, transparent);
}

.theme-final-fusion .btn-ghost {
  background-color: transparent;
  color: var(--c-accent-secondary);
  border-color: var(--c-accent-secondary);
}

.theme-final-fusion .btn-ghost:hover {
  background-color: var(--c-accent-secondary);
  color: #fff;
}

[data-theme="dark"] .theme-final-fusion .btn-ghost {
    color: var(--c-accent-secondary);
    border-color: var(--c-accent-secondary);
    text-shadow: 0 0 8px color-mix(in srgb, var(--c-accent-secondary) 50%, transparent);
}

[data-theme="dark"] .theme-final-fusion .btn-ghost:hover {
    box-shadow: 0 0 15px color-mix(in srgb, var(--c-accent-secondary) 40%, transparent);
    color: var(--c-bg);
}

.theme-final-fusion .card {
  background-color: var(--c-surface);
  border-color: var(--c-border);
}
.theme-final-fusion .card:hover {
    border-color: var(--c-accent-secondary);
}
[data-theme="dark"] .theme-final-fusion .card:hover {
    box-shadow: 0 0 15px color-mix(in srgb, var(--c-accent-secondary) 20%, transparent);
}

.theme-final-fusion .btn-tertiary {
  background-color: transparent;
  color: var(--c-accent-tertiary);
  border-color: var(--c-accent-tertiary);
}
.theme-final-fusion .btn-tertiary:hover {
  background-color: var(--c-accent-tertiary);
  color: #fff;
  box-shadow: 0 8px 25px -5px var(--c-accent-tertiary);
}
[data-theme="dark"] .theme-final-fusion .btn-tertiary {
    text-shadow: 0 0 8px color-mix(in srgb, var(--c-accent-tertiary) 50%, transparent);
}
[data-theme="dark"] .theme-final-fusion .btn-tertiary:hover {
    box-shadow: 0 0 15px color-mix(in srgb, var(--c-accent-tertiary) 40%, transparent);
    color: var(--c-bg);
}

.theme-final-fusion .btn-quaternary {
  background-color: transparent;
  color: var(--c-accent-quaternary);
  border-color: var(--c-accent-quaternary);
}
.theme-final-fusion .btn-quaternary:hover {
  background-color: var(--c-accent-quaternary);
  color: #fff;
  box-shadow: 0 8px 25px -5px var(--c-accent-quaternary);
}
[data-theme="dark"] .theme-final-fusion .btn-quaternary {
    text-shadow: 0 0 8px color-mix(in srgb, var(--c-accent-quaternary) 50%, transparent);
}

.theme-final-fusion .btn-quinary {
  background-color: transparent;
  color: var(--c-accent-quinary);
  border-color: var(--c-accent-quinary);
}
.theme-final-fusion .btn-quinary:hover {
  background-color: var(--c-accent-quinary);
  color: #fff;
  box-shadow: 0 8px 25px -5px var(--c-accent-quinary);
}
[data-theme="dark"] .theme-final-fusion .btn-quinary {
    text-shadow: 0 0 8px color-mix(in srgb, var(--c-accent-quinary) 50%, transparent);
}
[data-theme="dark"] .theme-final-fusion .btn-quinary:hover {
    box-shadow: 0 0 15px color-mix(in srgb, var(--c-accent-quinary) 40%, transparent);
    color: var(--c-bg);
}
[data-theme="dark"] .theme-final-fusion .btn-quaternary:hover {
    box-shadow: 0 0 15px color-mix(in srgb, var(--c-accent-quaternary) 40%, transparent);
    color: var(--c-bg);
}

.theme-final-fusion .main-nav a[aria-current="page"],
.theme-final-fusion a {
  color: var(--c-accent);
}
.theme-final-fusion a:hover {
  color: var(--c-text-primary);
}

/* Fan Tier Card Specifics */
.pricing-card-fan {
  display: flex;
  flex-direction: column;
}

/* Mobile: Flatten structure to reorder */
.pricing-card-fan .fan-content,
.pricing-card-fan .fan-actions {
  display: contents;
}

.pricing-card-fan .tier-name {
  order: 1;
}

.pricing-card-fan .price {
  order: 2;
  margin-top: 0;
  margin-bottom: 1rem;
}

.pricing-card-fan .tier-desc {
  order: 3;
  margin: 0 0 1.5rem 0;
  color: var(--c-text-secondary);
}

.pricing-card-fan .btn {
  order: 4;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .pricing-card-fan {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  .pricing-card-fan .fan-content,
  .pricing-card-fan .fan-actions {
    display: block;
  }

  .pricing-card-fan .fan-content {
    text-align: left;
    flex: 1;
    padding-right: 2rem;
  }
  
  .pricing-card-fan .tier-name {
    margin-bottom: 0.25rem;
  }
  
  .pricing-card-fan .tier-desc {
      margin: 0;
  }

  .pricing-card-fan .fan-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    text-align: right;
    flex-shrink: 0;
  }
  
  .pricing-card-fan .price {
      font-size: 1.5rem;
      margin: 0;
  }
  
  .pricing-card-fan .btn {
      width: auto;
      margin: 0;
  }
}

/* 9. Page Specific Styles
 * -------------------------------------------------------------------------- */

/* About Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.team-card {
    padding: 1rem;
}
.team-card img {
    width: 100%;
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-form {
    margin-top: 4rem;
    text-align: left;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--c-text-secondary);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: var(--border-width) solid var(--c-border);
    background-color: var(--c-surface);
    color: var(--c-text-primary);
    font-size: 1rem;
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-accent-secondary);
}

/* FAQ Page */
.faq-container {
    margin-top: 4rem;
    text-align: left;
}
.faq-container h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: var(--border-width) solid var(--c-border);
    padding-bottom: 0.5rem;
}
details {
    background-color: var(--c-surface);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: var(--border-width) solid var(--c-border);
}
summary {
    padding: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--transition);
}
details[open] summary::after {
    transform: rotate(45deg);
}
details[open] summary {
    color: var(--c-accent);
}
details > p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
    color: var(--c-text-secondary);
}

/* Pricing Page */
.features-list-exhaustive {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
}
.features-list-exhaustive li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}
.features-list-exhaustive li::before {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}
.feature-included::before {
    content: '✔';
    color: #22c55e; /* A vibrant green */
}
.feature-excluded::before {
    content: '—';
    color: var(--c-text-secondary);
    opacity: 0.6;
}
.feature-excluded {
    color: var(--c-text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.blog-post-card {
    display: block;
    text-decoration: none;
    color: var(--c-text-primary);
}
.blog-post-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
}
.blog-post-card .post-content {
    padding: 1.5rem 0;
}
 .blog-post-card h3 {
    margin: 0 0 0.5rem 0;
}
 .blog-post-card p {
    color: var(--c-text-secondary);
    margin: 0;
}
.post-meta {
    font-size: 0.9rem;
    color: var(--c-text-secondary);
    margin-top: 1rem;
    display: block;
}

/* Elements Page */
.element-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--c-border);
}
.element-section:last-child {
    border-bottom: none;
}
.color-swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.color-swatch {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
}
.color-swatch .swatch {
    width: 100%;
    height: 80px;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    border: 1px solid var(--c-border);
}
.color-swatch p {
    margin: 0;
    font-weight: bold;
    font-size: 0.9rem;
}
.color-swatch span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--c-text-secondary);
}
