/* ============================================
   Flexys.AI Theme — Light default + Dark toggle
   ============================================ */

/* --- CSS Variables: Light (default) --- */
:root {
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --surface-elevated: #F5F7FA;
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.06);
  --primary: #00597D;
  --primary-light: #0088B0;
  --primary-glow: rgba(0,89,125,0.15);
  --primary-glow-subtle: rgba(0,89,125,0.08);
  --text: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #5A6675;
  --link-color: #00597D;
  --success: #10B981;
  --success-text: #047857;
  --warning: #F59E0B;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --gold: #B8860B;
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.06);

  /* Navigation (petrol brand bar) */
  --nav-bg: rgba(0,89,125,0.95);
  --nav-hover-bg: rgba(255,255,255,0.12);
  --nav-active-bg: rgba(255,255,255,0.18);
  --nav-text: rgba(255,255,255,0.85);
  --nav-border: rgba(255,255,255,0.14);

  /* Forms */
  --form-input-border: rgba(0,0,0,0.12);
  --error-bg: rgba(239,68,68,0.08);
  --error-border: rgba(239,68,68,0.15);
  --error-text: #DC2626;
  --success-form-bg: rgba(16,185,129,0.08);
  --success-form-border: rgba(16,185,129,0.15);
  --success-form-text: #059669;

  /* Tables & misc */
  --table-hover: rgba(0,0,0,0.02);
  --noise-opacity: 0;
  --toggle-track: #CBD5E0;
  --card-hover-shadow: 0 4px 20px rgba(0,0,0,0.08);

  /* Hero / gradient text */
  --hero-text-color: #1A1A2E;
  --gradient-text-end: #00597D;

  /* Industry overlay */
  --industry-overlay-end: rgba(0,0,0,0.9);

  /* Badges */
  --badge-popular-bg: rgba(245,158,11,0.12);
  --badge-popular-text: #B45309;
  --badge-setup-bg: rgba(16,185,129,0.12);
  --badge-setup-text: #059669;
  --badge-coming-bg: rgba(245,158,11,0.1);
  --badge-coming-text: #B45309;
  --badge-discount-bg: rgba(16,185,129,0.1);
  --badge-discount-text: #059669;

  /* Jury */
  --jury-input-bg: #F5F7FA;
  --jury-input-border: rgba(0,0,0,0.15);
  --jury-input-focus-bg: #FFFFFF;
  --jury-input-placeholder: rgba(0,0,0,0.35);
  --star-empty: rgba(0,0,0,0.15);
  --score-bar-bg: rgba(0,0,0,0.06);
  --score-ring-bg: rgba(0,0,0,0.06);

  /* Participants / Awards */
  --participant-favicon-bg: rgba(0,0,0,0.04);
  --award-card-cat-bg: rgba(0,0,0,0.05);
}

/* --- CSS Variables: Dark --- */
[data-theme="dark"] {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-elevated: #1a1a24;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.06);
  --primary-light: #00A3D9;
  --link-color: #00A3D9;
  --primary-glow: rgba(0,89,125,0.3);
  --primary-glow-subtle: rgba(0,89,125,0.15);
  --text: #F1F1F3;
  --text-secondary: #B0B8C4;
  --text-muted: #8B95A5;
  --success-text: #6EE7B7;
  --gold: #E0B44A;
  --glass-bg: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.06);

  --nav-bg: rgba(0,62,87,0.95);
  --nav-hover-bg: rgba(255,255,255,0.12);
  --nav-active-bg: rgba(255,255,255,0.18);
  --nav-text: rgba(255,255,255,0.85);
  --nav-border: rgba(255,255,255,0.14);
  --accent: #F59E0B;
  --accent-hover: #D97706;

  --form-input-border: rgba(255,255,255,0.1);
  --error-bg: rgba(239,68,68,0.1);
  --error-border: rgba(239,68,68,0.2);
  --error-text: #FCA5A5;
  --success-form-bg: rgba(16,185,129,0.1);
  --success-form-border: rgba(16,185,129,0.2);
  --success-form-text: #6EE7B7;

  --table-hover: rgba(255,255,255,0.02);
  --noise-opacity: 0.015;
  --toggle-track: #374151;
  --card-hover-shadow: 0 0 20px rgba(0,89,125,0.15);

  --hero-text-color: #F1F1F3;
  --gradient-text-end: #33AACC;

  --industry-overlay-end: rgba(0,0,0,0.92);

  --badge-popular-bg: rgba(245,158,11,0.2);
  --badge-popular-text: #FBBF24;
  --badge-setup-bg: rgba(16,185,129,0.2);
  --badge-setup-text: #6EE7B7;
  --badge-coming-bg: rgba(245,158,11,0.15);
  --badge-coming-text: #FBBF24;
  --badge-discount-bg: rgba(16,185,129,0.15);
  --badge-discount-text: #6EE7B7;

  --jury-input-bg: #1e1e2d;
  --jury-input-border: rgba(255,255,255,0.18);
  --jury-input-focus-bg: #16162a;
  --jury-input-placeholder: rgba(255,255,255,0.3);
  --star-empty: rgba(255,255,255,0.2);
  --score-bar-bg: rgba(255,255,255,0.06);
  --score-ring-bg: rgba(255,255,255,0.06);

  --participant-favicon-bg: rgba(255,255,255,0.05);
  --award-card-cat-bg: rgba(255,255,255,0.06);
}

/* --- Base --- */
html, body {
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Focus Visible (global) --- */
:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* --- Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--primary-glow-subtle); }
  50% { box-shadow: 0 0 40px var(--primary-glow); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Skip to content (accessibility) --- */
.skip-link {
  position: fixed;
  top: -999px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

/* --- Navigation --- */
.dark-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
}
@media (min-width: 768px) {
  .dark-nav { padding: 0.75rem 2rem; }
}
.dark-nav a {
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
  font-size: 0.9rem;
}
.dark-nav a:hover {
  color: #fff;
  background-color: var(--nav-hover-bg);
}
.dark-nav .nav-cta {
  background-color: var(--accent);
  color: #1A1A2E !important;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.2s, transform 0.2s;
}
.dark-nav .nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Active nav link */
.dark-nav a.nav-active {
  color: #fff;
  background-color: var(--nav-active-bg);
}
/* Logo link: no nav-pill padding/background/hover box */
.dark-nav a:has(img) {
  padding: 0;
  border-radius: 0;
}
.dark-nav a:has(img):hover,
.dark-nav a:has(img).nav-active {
  background-color: transparent;
}

/* Focus styles for accessibility */
.dark-nav a:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.glass-card:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}
button:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* Mobile menu */
#mobileMenu {
  border-top: 1px solid var(--nav-border);
  padding-top: 0.5rem;
}
#mobileMenu a {
  color: var(--nav-text);
  padding: 0.75rem 1rem;
}
#mobileMenu a:hover {
  color: #fff;
  background-color: var(--nav-hover-bg);
}
#mobileMenu .btn-primary {
  background: var(--accent);
  color: #1A1A2E;
}
.dark-nav .theme-menu-toggle {
  color: var(--nav-text);
}

/* --- Glass Card --- */
.glass-card {
  box-sizing: border-box;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
}

/* --- Surface Card (for pricing, forms) --- */
.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--primary-glow);
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1rem;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background-color: rgba(0,89,125,0.05);
}

.btn-round {
  border-radius: 9999px;
}

/* --- Hero Section --- */
.dark-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  background: linear-gradient(160deg, #00597D 0%, #00405B 100%);
}
.dark-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .dark-hero {
    min-height: 60vh;
    padding: 3rem 1rem !important;
  }
  .dark-hero::before {
    width: 500px;
    height: 500px;
  }
  .dark-footer { padding: 3rem 1rem 2rem; }
  .dark-cta { padding: 3rem 1rem; }
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  background: linear-gradient(90deg, var(--hero-text-color) 40%, var(--primary-light) 50%, var(--hero-text-color) 60%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s ease infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 100%; }
  50% { background-position: 0%; }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
/* Hero text on petrol background (both themes) */
.dark-hero .hero-headline {
  background: linear-gradient(90deg, #ffffff 40%, #BFE8F7 50%, #ffffff 60%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dark-hero .hero-sub { color: rgba(255,255,255,0.88); }
.dark-hero .hero-eyebrow { color: #BFE8F7 !important; }
.dark-hero .hero-microcopy { color: rgba(255,255,255,0.72) !important; }
.dark-hero .btn-primary { background: var(--accent); color: #1A1A2E; }
.dark-hero .btn-primary:hover { background: var(--accent-hover); }
.dark-hero .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.dark-hero .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

/* --- Page Header (inner pages) --- */
.dark-page-header {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.dark-page-header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow-subtle) 0%, transparent 70%);
  pointer-events: none;
}
.dark-page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 0.75rem;
  position: relative;
}
.dark-page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
  position: relative;
}

/* --- Sections --- */
.dark-section {
  padding: 5rem 1.5rem;
  background: var(--bg);
}
@media (max-width: 768px) {
  .dark-section { padding: 3rem 1rem; }
}
.dark-section-alt {
  padding: 5rem 1.5rem;
  background: var(--surface);
}
@media (max-width: 768px) {
  .dark-section-alt { padding: 3rem 1rem; }
}

/* Section dividers */
.dark-section + .dark-section-alt::before,
.dark-section-alt + .dark-section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.section-tight-bottom { padding-bottom: 2.5rem; }

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.75rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin: 0.85rem auto 0;
}
.section-subtitle {
  color: var(--text-secondary);
  font-weight: 400;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
}
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 2rem 1rem; }
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem 0.5rem;
    margin: 0 -1rem;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature-grid > .feature-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .feature-dots { display: none; }
}
.carousel-dots { display: none; }
@media (max-width: 640px) {
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
  }
  .carousel-dots button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .carousel-dots button::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.2s, transform 0.2s;
  }
  .carousel-dots button.active::before {
    background: var(--primary);
    transform: scale(1.3);
  }
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(0,89,125,0.15);
  color: var(--primary-light);
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Services Grid (4 cols for diensten page) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .services-grid > .glass-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  .services-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 0.25rem;
  }
  .about-team-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem !important;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
  }
  .about-team-grid::-webkit-scrollbar { display: none; }
  .about-team-grid > .glass-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  .about-team-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 0.25rem;
  }
  .jury-intro-cards {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem !important;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
  }
  .jury-intro-cards::-webkit-scrollbar { display: none; }
  .jury-intro-cards > .glass-card {
    flex: 0 0 60%;
    scroll-snap-align: center;
  }
  .jury-intro-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 0.25rem;
  }
  .jury-criteria-cards {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem !important;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
  }
  .jury-criteria-cards::-webkit-scrollbar { display: none; }
  .jury-criteria-cards > .glass-card {
    flex: 0 0 45%;
    scroll-snap-align: center;
  }
  .jury-criteria-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 0.25rem;
  }
  .carousel-dot {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.2s, transform 0.2s;
  }
  .carousel-dot.active::before {
    background: var(--primary-light);
    transform: scale(1.3);
  }
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
  border-color: rgba(0,89,125,0.3);
}
.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--primary-glow-subtle);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 50px var(--primary-glow);
}
.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.25rem;
}
.pricing-card .plan-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}
.pricing-card .price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}
.pricing-card ul li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.pricing-card ul li .check {
  color: var(--success-text);
  margin-right: 0.5rem;
}
.pricing-card ul li .cross {
  color: var(--text-muted);
  margin-right: 0.5rem;
}
.pricing-card ul li.included-header {
  color: var(--link-color);
  font-weight: 600;
  padding-top: 0.6rem;
}
.pricing-card ul li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Pricing toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.pricing-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  background-color: var(--toggle-track);
  transition: background-color 0.2s;
}
.pricing-toggle-knob {
  position: absolute;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  transform: translateX(2px);
}

/* --- CTA Banner --- */
.dark-cta {
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.dark-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow-subtle) 0%, transparent 70%);
  pointer-events: none;
}
.dark-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 1rem;
  position: relative;
}
.dark-cta p {
  color: var(--text-secondary);
  margin: 0 0 2rem;
  font-size: 1.1rem;
  position: relative;
}

/* --- Footer --- */
.dark-footer {
  background: linear-gradient(180deg, #00597D 0%, #00405B 100%);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 4rem 1.5rem 2rem;
  color: rgba(255,255,255,0.78);
}
.dark-footer h3, .dark-footer [role="heading"] {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 1rem;
}
.dark-footer a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.dark-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dark-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 2rem;
  text-align: center;
}
.dark-footer .footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* --- Forms (login, signup) --- */
.dark-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.dark-form-card input[type="text"],
.dark-form-card input[type="email"],
.dark-form-card input[type="password"],
.dark-form-card input[type="tel"],
.dark-form-card select,
.dark-form-card textarea {
  background: var(--surface-elevated);
  border: 1px solid var(--form-input-border);
  color: var(--text);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}
.dark-form-card input:focus,
.dark-form-card select:focus,
.dark-form-card textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow-subtle);
}
.dark-form-card input::placeholder,
.dark-form-card textarea::placeholder {
  color: var(--text-muted);
}
.dark-form-card label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}
.dark-form-card select option {
  background: var(--surface);
  color: var(--text);
}

/* Error/success messages in forms */
.dark-form-card .form-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
.dark-form-card .form-success {
  background: var(--success-form-bg);
  border: 1px solid var(--success-form-border);
  color: var(--success-form-text);
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary-light); }
.faq-question .faq-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th {
  padding: 1rem;
  text-align: left;
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  background: var(--surface);
}
.comparison-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.comparison-table tr:hover td {
  background: var(--table-hover);
}

/* --- Legal Pages (privacy, terms, cookies) --- */
.dark-prose {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}
.dark-prose h2 {
  color: var(--text);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.dark-prose h3 {
  color: var(--text);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}
.dark-prose p {
  margin: 0 0 1rem;
}
.dark-prose ul, .dark-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.dark-prose li {
  margin-bottom: 0.5rem;
}
.dark-prose a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dark-prose a:hover {
  color: var(--text);
}

/* --- Industry/Target Cards --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .industry-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem 0.5rem;
    margin: 0 -1rem;
  }
  .industry-grid::-webkit-scrollbar { display: none; }
  .industry-grid > .industry-card {
    flex: 0 0 60%;
    scroll-snap-align: center;
  }
  .industry-dots { display: none; }
}
.industry-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.industry-card:hover {
  border-color: rgba(0,89,125,0.3);
  transform: translateY(-4px);
}
.industry-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.45) 45%, var(--industry-overlay-end) 100%);
}
.industry-card h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.process-step {
  text-align: center;
}
.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  background: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow-subtle);
}
.process-step h3 {
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.process-step p {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Setup Banner --- */
.setup-banner {
  background: linear-gradient(135deg, rgba(0,89,125,0.2) 0%, rgba(0,89,125,0.05) 100%);
  border: 1px solid rgba(0,89,125,0.2);
  border-radius: 1rem;
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* --- Badges --- */
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 9999px;
}
.badge-popular {
  background: var(--badge-popular-bg);
  color: var(--badge-popular-text);
}
.badge-setup {
  background: var(--badge-setup-bg);
  color: var(--badge-setup-text);
}
.badge-coming {
  background: var(--badge-coming-bg);
  color: var(--badge-coming-text);
  font-size: 0.65rem;
  padding: 1px 6px;
  margin-left: 4px;
}
.badge-discount {
  background: var(--badge-discount-bg);
  color: var(--badge-discount-text);
}

/* --- Booking/Shop wrapper --- */
.dark-widget-wrapper {
  min-height: 60vh;
  padding: 3rem 1.5rem;
  background: var(--bg);
}

/* --- 404 Page --- */
.dark-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg);
}
.dark-404 .error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--hero-text-color) 40%, var(--gradient-text-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin: 0;
}

/* --- About page --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: float 2s ease-in-out infinite;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

/* --- Utility classes --- */
.max-w-container { max-width: 1200px; margin-left: auto; margin-right: auto; }
.text-gradient {
  background: linear-gradient(135deg, var(--hero-text-color) 40%, var(--gradient-text-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glow { box-shadow: 0 0 30px var(--primary-glow-subtle); }
.glow-strong { box-shadow: 0 0 40px var(--primary-glow); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* --- Responsive helpers --- */
@media (max-width: 768px) {
  .dark-page-header { padding: 3rem 1rem 2rem; }
  .stats-bar .stat-number { font-size: 2rem; }
  .pricing-card.featured { transform: scale(1); }
}

/* --- Animated hero gradient (Linear/Vercel style) --- */
@keyframes hero-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.dark-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(0,89,125,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,136,176,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 60% 10%, rgba(0,60,100,0.1) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: hero-mesh 15s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-mesh {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

/* --- Bento Grid (Linear-style feature layout) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.bento-grid .bento-wide { grid-column: span 2; }
.bento-grid .bento-tall { grid-row: span 2; }
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid .bento-wide, .bento-grid .bento-tall { grid-column: span 1; grid-row: span 1; }
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.bento-card:hover {
  border-color: rgba(0,89,125,0.25);
  box-shadow: 0 0 40px var(--primary-glow-subtle);
}
.bento-card h3 {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.bento-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.bento-card .bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(0,89,125,0.12);
  color: var(--primary-light);
}
.bento-card .bento-visual {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 60%;
  opacity: 0.08;
  background: radial-gradient(circle at bottom right, var(--primary-light) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Noise texture overlay (subtle) --- */
.noise-overlay::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* --- Glow line divider (Stripe-style) --- */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.3;
  margin: 0;
  border: none;
}

/* --- Stats with glow numbers --- */
.stat-number-glow {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-light) 0%, #00BFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

/* --- Stagger animation for children --- */
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate-stagger].visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-animate-stagger].visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-animate-stagger].visible > *:nth-child(3) { transition-delay: 0.15s; }
[data-animate-stagger].visible > *:nth-child(4) { transition-delay: 0.2s; }
[data-animate-stagger].visible > *:nth-child(5) { transition-delay: 0.25s; }
[data-animate-stagger].visible > *:nth-child(6) { transition-delay: 0.3s; }
[data-animate-stagger].visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero image container --- */
.hero-image-wrap {
  position: relative;
  margin-top: 3rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .dark-hero .hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
    max-width: 1100px;
  }
  .dark-hero .hero-split .hero-image-wrap {
    max-width: 400px;
    margin: 0;
  }
  .dark-hero .hero-split .hero-bento-wrap {
    max-width: 480px;
  }
  .dark-hero .hero-split .hero-sub {
    margin-left: 0;
  }
  .dark-hero .hero-split .hero-ctas {
    justify-content: flex-start;
  }
}
.hero-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  position: relative;
  z-index: 1;
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 2rem;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

/* --- Hero bento collage --- */
.hero-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 0.6rem;
  aspect-ratio: 1 / 1;
}
.hero-bento-tile {
  position: relative;
  margin: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  grid-column: span 2;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.hero-bento-tile.tile-lg {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}
.hero-bento-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .92;
  border-radius: 0;
  position: static;
  z-index: auto;
}
.hero-bento-tile:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}
.hero-bento-label {
  position: absolute;
  z-index: 2;
  left: .5rem;
  bottom: .5rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .hero-bento-wrap { max-width: 360px; margin: 2rem auto 0; }
  .hero-bento { gap: .45rem; }
  .hero-bento-label { font-size: .66rem; }
}

/* --- Feature card with image --- */
.feature-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* --- Micro-interactions --- */

/* Card tilt on hover (subtle) */
.glass-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Smooth cursor tracking glow on glass cards */
.glass-card .card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(0,136,176,0.12) 0%, transparent 70%);
}
.glass-card:hover .card-glow {
  opacity: 1;
}

/* Process step connector line */
@media (min-width: 769px) {
  .process-grid {
    position: relative;
  }
  .process-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 28px);
    right: calc(16.66% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    opacity: 0.3;
  }
}

/* Pricing toggle - ensure knob is visible */
.pricing-toggle-knob {
  background: white !important;
}

/* Hero parallax-ready */
.dark-hero [data-parallax] {
  will-change: transform;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Override Tailwind defaults in dark mode only */
[data-theme="dark"] .bg-white { background-color: var(--surface) !important; }
[data-theme="dark"] .text-gray-900 { color: var(--text) !important; }
[data-theme="dark"] .text-gray-700 { color: var(--text-secondary) !important; }
[data-theme="dark"] .text-gray-600 { color: var(--text-secondary) !important; }
[data-theme="dark"] .text-gray-500 { color: var(--text-muted) !important; }
[data-theme="dark"] .text-gray-400 { color: var(--text-muted) !important; }
[data-theme="dark"] .border-gray-200 { border-color: var(--border) !important; }
[data-theme="dark"] .border-gray-300 { border-color: var(--form-input-border) !important; }
[data-theme="dark"] .border-gray-100 { border-color: var(--border) !important; }
[data-theme="dark"] .shadow-xl { box-shadow: 0 0 30px rgba(0,0,0,0.3) !important; }
[data-theme="dark"] .shadow-md { box-shadow: 0 0 15px rgba(0,0,0,0.2) !important; }

/* Dark-mode form inputs inside .bg-white containers */
[data-theme="dark"] .bg-white input[type="text"],
[data-theme="dark"] .bg-white input[type="email"],
[data-theme="dark"] .bg-white input[type="password"],
[data-theme="dark"] .bg-white input[type="tel"],
[data-theme="dark"] .bg-white select,
[data-theme="dark"] .bg-white textarea {
  background: var(--surface-elevated) !important;
  color: var(--text) !important;
  border-color: var(--form-input-border) !important;
}
[data-theme="dark"] .bg-white input::placeholder,
[data-theme="dark"] .bg-white textarea::placeholder { color: var(--text-muted) !important; }
[data-theme="dark"] .bg-white select option { background: var(--surface); color: var(--text); }
[data-theme="dark"] .bg-white .bg-gray-50 { background-color: var(--surface-elevated) !important; }
[data-theme="dark"] .bg-green-50 { background-color: rgba(16,185,129,0.1) !important; }
[data-theme="dark"] .bg-red-50 { background-color: rgba(239,68,68,0.1) !important; }
[data-theme="dark"] .bg-green-100 { background-color: rgba(16,185,129,0.15) !important; }
[data-theme="dark"] .text-green-800 { color: #6EE7B7 !important; }
[data-theme="dark"] .text-green-700 { color: #6EE7B7 !important; }
[data-theme="dark"] .text-green-600 { color: #34D399 !important; }
[data-theme="dark"] .text-red-700 { color: #FCA5A5 !important; }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9999;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* --- Testimonial Grid --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.testimonial-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text); font-style: italic; margin: 0; }
.testimonial-card .testimonial-author { font-style: normal; font-size: 0.75rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1rem; }

/* --- Service Category Header --- */
.service-category-header {
  grid-column: 1 / -1;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 1rem 0 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.service-category-header:first-child { margin-top: 0; }

/* --- Website Design Jury --- */
.jury-hero { text-align: center; padding: 3rem 1.5rem 2rem; }
.jury-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 1rem; }
.jury-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.jury-input-wrap { display: flex; gap: 0.75rem; max-width: 560px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.jury-input-wrap input { flex: 1; min-width: 0; padding: 1rem 1.2rem; background: var(--jury-input-bg); border: 2px solid var(--jury-input-border); border-radius: 12px; color: var(--text); font-size: 1.05rem; outline: none; transition: border-color 0.2s, background 0.2s; -webkit-appearance: none; appearance: none; }
.jury-input-wrap input::placeholder { color: var(--jury-input-placeholder); }
.jury-input-wrap input:focus { border-color: var(--primary); background: var(--jury-input-focus-bg); }
.jury-submit-btn { white-space: nowrap; padding: 1rem 1.75rem; font-size: 1rem; }
.jury-error { color: #ef4444; text-align: center; margin-top: 1rem; font-size: 0.9rem; }
.jury-progress { display: none; max-width: 1050px; margin: 2rem auto 0; padding: 0 1.5rem; }
.jury-progress.active { display: block; }
.jury-progress-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 768px) { .jury-progress-grid { grid-template-columns: repeat(2, 1fr); } }
.jury-member-card { background: var(--surface-elevated); border: 1px solid var(--glass-border); border-radius: 16px; padding: 1.25rem 1rem; text-align: center; transition: border-color 0.3s; }
.jury-member-card.done { border-color: var(--success); }
.jury-member-card.verdict-done { border-color: var(--primary); }
.jury-avatar { width: 64px; height: 64px; border-radius: 50%; display: inline-block; object-fit: cover; margin-bottom: 0.75rem; }
.jury-avatar-ring { display: inline-block; padding: 3px; border-radius: 50%; margin-bottom: 0.75rem; border: 3px solid var(--glass-border); transition: border-color 0.4s, box-shadow 0.4s; }
.jury-avatar-ring.thinking { border-color: var(--primary); animation: jury-pulse 1.5s ease-in-out infinite; }
.jury-avatar-ring.done-ring { border-color: var(--success); box-shadow: 0 0 12px rgba(34,197,94,0.3); animation: none; }
.jury-avatar-ring.verdict-ring { border-color: var(--primary); box-shadow: 0 0 12px rgba(0,89,125,0.4); animation: none; }
@keyframes jury-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,89,125,0.4); } 50% { box-shadow: 0 0 16px 4px rgba(0,89,125,0.3); } }
.jury-member-quote { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-top: 0.5rem; line-height: 1.5; min-height: 0; overflow: hidden; transition: min-height 0.3s; }
.jury-member-card .jury-score-preview { margin-top: 0.5rem; font-size: 1.3rem; font-weight: 800; }
.jury-member-card h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; }
.jury-member-status { color: var(--text-muted); font-size: 0.85rem; }
.jury-member-status .spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--glass-border); border-top-color: var(--primary); border-radius: 50%; animation: jury-spin 0.8s linear infinite; margin-right: 0.4rem; vertical-align: middle; }
@keyframes jury-spin { to { transform: rotate(360deg); } }
.jury-result { display: none; max-width: 1050px; margin: 2.5rem auto 0; text-align: center; padding: 0 1.5rem; }
.jury-result.active { display: block; }
.jury-score-badge { width: 120px; height: 120px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 1rem; border: 3px solid; }
.jury-score-badge.green { background: rgba(34,197,94,0.15); border-color: #22c55e; color: #22c55e; }
.jury-score-badge.yellow { background: rgba(234,179,8,0.15); border-color: #eab308; color: #eab308; }
.jury-score-badge.red { background: rgba(239,68,68,0.15); border-color: #ef4444; color: #ef4444; }
.jury-award { display: inline-block; background: linear-gradient(135deg, #eab308 0%, #f59e0b 100%); color: #000; font-weight: 700; padding: 0.5rem 1.5rem; border-radius: 99px; font-size: 0.95rem; margin-bottom: 1.5rem; }
.jury-scores-grid { max-width: 650px; margin: 1.5rem auto; text-align: left; }
.jury-score-item { background: var(--surface-elevated); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 0.5rem; overflow: hidden; cursor: pointer; transition: border-color 0.2s; }
.jury-score-item:hover { border-color: var(--primary); }
.jury-score-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; }
.jury-score-header .label { flex: 1; font-size: 0.9rem; font-weight: 500; color: var(--text); min-width: 0; }
.jury-score-header .chevron { color: var(--text-muted); font-size: 0.7rem; transition: transform 0.2s; flex-shrink: 0; }
.jury-score-item.open .chevron { transform: rotate(180deg); }
.jury-score-bar-wrap { flex: 0 0 120px; }

.jury-score-bar { height: 8px; background: var(--score-bar-bg); border-radius: 4px; overflow: hidden; }
.jury-score-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.jury-score-header .value { width: 36px; text-align: right; font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.jury-score-detail { display: none; padding: 0 1rem 0.75rem; }
.jury-score-item.open .jury-score-detail { display: block; }
.jury-score-detail p { margin: 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.jury-verdicts { max-width: 700px; margin: 2rem auto; text-align: left; }
.jury-verdict-card { background: var(--surface-elevated); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.jury-verdict-card h4 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; }
.jury-verdict-card .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.jury-verdict-card p { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.jury-verdict-card .vote { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 6px; margin-top: 0.5rem; }
.jury-verdict-card .vote.yes { background: rgba(34,197,94,0.15); color: #22c55e; }
.jury-verdict-card .vote.no { background: rgba(239,68,68,0.15); color: #ef4444; }
.jury-share-wrap { margin-top: 1.5rem; }
.jury-share-wrap button { background: var(--surface-elevated); border: 1px solid var(--glass-border); color: var(--text); padding: 0.75rem 1.5rem; min-height: 44px; border-radius: 10px; cursor: pointer; font-size: 0.9rem; transition: border-color 0.2s; }
.jury-share-wrap button:hover { border-color: var(--primary); }
.jury-tip { cursor: help; position: relative; }
.jury-tip-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--glass-border); color: var(--text-muted); font-size: 0.65rem; font-weight: 700; margin-left: 4px; vertical-align: middle; font-style: normal; }
.jury-tip:hover .jury-tip-icon { background: var(--primary); color: #fff; }
.jury-tip-popup { display: none; position: absolute; left: 0; bottom: calc(100% + 8px); width: 260px; padding: 0.7rem 0.9rem; background: var(--surface); border: 1px solid var(--glass-border); border-radius: 10px; color: var(--text); font-size: 0.8rem; line-height: 1.5; font-weight: 400; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,0.4); animation: jury-tip-in 0.2s ease; }
.jury-tip-popup.visible { display: block; }
@keyframes jury-tip-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) { .jury-tip-popup { width: 220px; left: -10px; } }

/* --- Jury v2: Star Ratings + Theme Cards --- */
.jury-stars { display: inline-flex; gap: 2px; font-size: 1.4rem; line-height: 1; }
.jury-stars .star-full { color: #eab308; }
.jury-stars .star-empty { color: var(--star-empty); }
.jury-star-badge { width: 140px; height: 140px; border-radius: 50%; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 1rem; border: 3px solid; gap: 0.25rem; }
.jury-star-badge.green { background: rgba(34,197,94,0.12); border-color: #22c55e; }
.jury-star-badge.yellow { background: rgba(234,179,8,0.12); border-color: #eab308; }
.jury-star-badge.red { background: rgba(239,68,68,0.12); border-color: #ef4444; }
.jury-star-badge .star-num { font-size: 1.6rem; font-weight: 800; }
.jury-star-badge.green .star-num { color: #22c55e; }
.jury-star-badge.yellow .star-num { color: #eab308; }
.jury-star-badge.red .star-num { color: #ef4444; }
.jury-theme-card { background: var(--surface-elevated); border: 1px solid var(--glass-border); border-radius: 16px; padding: 1.5rem; text-align: center; border-top: 3px solid var(--glass-border); }
.jury-theme-card .jury-emoji { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.jury-theme-card h3 { font-size: 1rem; font-weight: 600; margin: 0 0 0.25rem; }
.jury-score-group-header { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0; margin-top: 0.5rem; }
.jury-score-group-header .group-emoji { font-size: 1.2rem; }
.jury-score-group-header .group-name { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.jury-briefing-panel { background: var(--surface-elevated); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1.5rem; margin-top: 1.5rem; max-width: 700px; margin-left: auto; margin-right: auto; text-align: left; position: relative; }
.jury-briefing-panel h4 { margin: 0 0 0.75rem; font-size: 1rem; }
.jury-briefing-panel .briefing-content { white-space: pre-wrap; word-break: break-word; font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); max-height: 300px; overflow-y: auto; }
.jury-briefing-panel .briefing-content h1,.jury-briefing-panel .briefing-content h2,.jury-briefing-panel .briefing-content h3 { color: var(--text); font-size: 0.95rem; margin: 1rem 0 0.5rem; }
.jury-briefing-panel .briefing-content ul,.jury-briefing-panel .briefing-content ol { margin: 0.5rem 0; padding-left: 1.2rem; }
.jury-powered { text-align: center; margin-top: 2rem; padding: 1rem; color: var(--text-muted); font-size: 0.8rem; }
.jury-powered img { height: 24px; vertical-align: middle; margin-left: 0.4rem; opacity: 0.7; }
@media (max-width: 640px) {
  .jury-star-badge { width: 110px; height: 110px; }
  .jury-star-badge .star-num { font-size: 1.3rem; }
  .jury-stars { font-size: 1rem; }
  .jury-briefing-panel { padding: 1rem; }
  .jury-briefing-panel .briefing-content { font-size: 0.8rem; max-height: 250px; }
}

/* --- Jury Tablet (<768px) --- */
@media (max-width: 768px) {
  .jury-input-wrap { flex-direction: column; gap: 1rem; padding: 0 0.5rem; }
  .jury-input-wrap input { width: 100%; font-size: 1.05rem; padding: 1rem 1rem; }
  .jury-submit-btn { width: 100%; padding: 1rem; font-size: 1rem; }
}

/* --- Jury Mobile (<640px) --- */
@media (max-width: 640px) {
  .jury-progress-grid { gap: 0.75rem; }
  .jury-member-card { padding: 1rem 0.75rem; }
  .jury-member-card h3 { font-size: 0.95rem; }
  .jury-avatar-ring img { width: 56px !important; height: 56px !important; }
  .jury-avatar-ring { border-width: 2px; }
  .jury-score-badge { width: 100px; height: 100px; font-size: 2rem; }
  .jury-score-header { gap: 0.5rem; padding: 0.65rem 0.75rem; }
  .jury-score-header .label { font-size: 0.82rem; }
  .jury-score-bar-wrap { flex: 0 0 80px; }
  .jury-score-header .value { font-size: 0.9rem; }
  .jury-verdict-card { padding: 1rem; }
  .jury-verdict-card h4 { font-size: 0.9rem; flex-wrap: wrap; }
  .jury-verdict-card p { font-size: 0.82rem; }
  .jury-member-quote { max-height: 70px; }
  .jury-result { padding: 0 1rem; }
  .jury-progress { padding: 0 1rem; }
}

/* --- Participant Detail Cards --- */
.participant-card {
  background: var(--surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.participant-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.participant-card-header { display: flex; align-items: center; gap: 1rem; }
.participant-favicon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--participant-favicon-bg); object-fit: contain;
}
.participant-card-info { flex: 1; min-width: 0; }
.participant-name { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.participant-url { font-size: 0.82rem; color: var(--link-color); text-decoration: none; }
.participant-url:hover { text-decoration: underline; }
.participant-score { position: relative; flex-shrink: 0; width: 56px; height: 56px; }
.participant-score-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 1rem; font-weight: 800;
}
.score-fg { transition: stroke-dashoffset 0.8s ease; }
.participant-card-meta { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.participant-cat {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 99px;
  background: rgba(0,89,125,0.15); color: var(--link-color);
}
.participant-quote {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid var(--glass-border);
}
@media (max-width: 640px) {
  .participant-card { padding: 1rem; }
  .participant-card-header { gap: 0.75rem; }
  .participant-favicon { width: 32px; height: 32px; border-radius: 8px; }
  .participant-name { font-size: 0.95rem; }
  .participant-score { width: 48px; height: 48px; }
  .participant-score svg { width: 48px; height: 48px; }
  .participant-score-num { font-size: 0.85rem; }
}

/* --- Jury Criteria Weight Badge --- */
.jury-criteria-weight {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  background: rgba(0,89,125,0.15);
  color: var(--primary-light);
}

/* --- Jury Cards Swipe (<640px) --- */
@media (max-width: 640px) {
  .jury-intro-cards,
  .jury-criteria-cards {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .jury-intro-cards::-webkit-scrollbar,
  .jury-criteria-cards::-webkit-scrollbar { display: none; }
  .jury-intro-cards > .glass-card {
    flex: 0 0 72%;
    scroll-snap-align: center;
    min-width: 0;
  }
  .jury-criteria-cards > .glass-card {
    flex: 0 0 42%;
    scroll-snap-align: center;
    min-width: 0;
  }
  .jury-swipe-hint { display: block !important; }
}

/* --- Award Participants --- */
.award-section { position: relative; overflow: hidden; }
.award-countdown { display: flex; gap: 1.5rem; justify-content: center; margin: 1.5rem 0; flex-wrap: wrap; }
.award-countdown-unit { text-align: center; }
.award-countdown-num { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 0.6rem 1rem; min-width: 64px; display: block; }
.award-countdown-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.35rem; display: block; }
.award-trophy { font-size: 3.5rem; display: block; text-align: center; margin-bottom: 1rem; filter: drop-shadow(0 0 20px rgba(245,158,11,0.4)); }
.award-search-wrap { max-width: 500px; margin: 0 auto 1.25rem; position: relative; }
.award-search-wrap input { width: 100%; padding: 0.7rem 1rem 0.7rem 2.5rem; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 10px; color: var(--text); font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.award-search-wrap input:focus { border-color: var(--primary); }
.award-search-wrap svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); pointer-events: none; }
.award-cat-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-bottom: 1.5rem; }
.award-cat-pill { padding: 0.5rem 0.85rem; min-height: 36px; border-radius: 99px; border: 1px solid var(--glass-border); background: var(--glass-bg); color: var(--text-muted); font-size: 0.8rem; cursor: pointer; transition: all 0.25s; font-weight: 500; }
.award-cat-pill:hover { border-color: var(--primary); color: var(--text); }
.award-cat-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.award-grid { display: grid; gap: 0.75rem; max-width: 700px; margin: 0 auto; }
.award-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 14px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: default; position: relative; overflow: hidden; }
.award-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.award-rank { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.award-rank.gold { background: linear-gradient(135deg, #F59E0B, #D97706); color: #000; box-shadow: 0 0 12px rgba(245,158,11,0.4); }
.award-rank.silver { background: linear-gradient(135deg, #9CA3AF, #6B7280); color: #fff; }
.award-rank.bronze { background: linear-gradient(135deg, #D97706, #92400E); color: #fff; }
.award-rank.default { background: var(--surface); color: var(--text-muted); border: 1px solid var(--glass-border); }
.award-card-info { flex: 1; min-width: 0; }
.award-card-name { font-weight: 600; font-size: 0.95rem; margin: 0 0 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.award-card-url { color: var(--text-muted); font-size: 0.8rem; text-decoration: none; }
.award-card-url:hover { color: var(--primary-light); }
.award-card-cat { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 99px; background: var(--award-card-cat-bg); color: var(--text-muted); font-size: 0.7rem; vertical-align: middle; }
.award-card-score { flex-shrink: 0; text-align: center; position: relative; }
.award-card-score-num { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.award-card-score-max { font-size: 0.7rem; color: var(--text-muted); }
.award-score-ring { width: 52px; height: 52px; }
.award-score-ring circle { fill: none; stroke-width: 3; }
.award-score-ring .bg { stroke: var(--score-ring-bg); }
.award-score-ring .fg { stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1); }
.award-empty { text-align: center; padding: 3rem 1.5rem; }
.award-empty-cta { margin-top: 1.5rem; }
@keyframes award-shine { 0% { left: -60%; } 100% { left: 160%; } }
.award-card.gold-card::after { content: ''; position: absolute; top: 0; left: -60%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, rgba(245,158,11,0.06), transparent); animation: award-shine 4s ease-in-out infinite; pointer-events: none; }
@media (max-width: 640px) {
  .award-countdown { gap: 0.75rem; }
  .award-countdown-num { font-size: 1.5rem; min-width: 50px; padding: 0.4rem 0.6rem; }
  .award-card { padding: 0.75rem 1rem; gap: 0.75rem; }
  .award-card-name { font-size: 0.85rem; }
  .award-score-ring { width: 44px; height: 44px; }
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--primary);
  background-color: var(--nav-hover-bg);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Hide mobile-only elements on desktop (theme.css display:flex overrides Tailwind md:hidden) */
@media (min-width: 768px) {
  #mobileLangSelector { display: none !important; }
}

/* Theme toggle row inside mobile menu (full-width, distinct from round .theme-toggle) */
.theme-menu-toggle { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.75rem 1rem; border: none; border-radius: 0.5rem; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.theme-menu-toggle:hover { background: var(--nav-hover-bg, rgba(255,255,255,0.05)); }
.theme-menu-toggle svg { width: 20px; height: 20px; }
.theme-menu-toggle .icon-sun { display: none; }
.theme-menu-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-menu-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-menu-toggle .icon-moon { display: none; }

/* Nav text-white override: hamburger uses theme colors */
#menuToggle { color: var(--text); }
#menuToggle:hover { background-color: var(--nav-hover-bg); }

/* Nav logo: white wordmark on petrol header in both themes, no filter */
.dark-nav img[alt="Flexys.AI"] { filter: none; }

/* --- Mobile Touch Targets --- */
@media (max-width: 640px) {
  .btn-primary, .btn-outline, .nav-cta,
  .faq-question, #mobileMenu a {
    min-height: 44px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .dark-hero::after,
  [data-animate], [data-animate-stagger] > *,
  .hero-image-wrap::before,
  .glass-card, .industry-card,
  .btn-primary {
    animation: none !important;
    transition: none !important;
  }
  [data-animate] { opacity: 1; transform: none; }
  .hero-headline { animation: none !important; background-size: 100% !important; }
  .scroll-progress { display: none; }
  .spinner, .jury-avatar-ring.thinking { animation: none !important; }
}
