/* =====================================================
   SKYOS DESIGN SYSTEM v1.0
   ThinSky Modern Web Design Framework
   Synthesizing Trust + Disruption + Technical Excellence
   ===================================================== */

/* =====================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ===================================================== */
:root {
  /* === PRIMARY COLORS === */
  --sky-primary: #0C96D7;           /* ThinSky Blue - from logo */
  --sky-primary-light: #3DB2E9;     /* Hover state */
  --sky-primary-dark: #0A7BB3;      /* Active state */
  --sky-primary-glow: rgba(12, 150, 215, 0.15);

  /* === SECONDARY COLORS === */
  --sky-slate: #0F172A;             /* Dark Navy - backgrounds */
  --sky-slate-light: #1E293B;       /* Elevated surfaces */
  --sky-slate-muted: #334155;       /* Borders, dividers */

  /* === ACCENT COLORS === */
  --sky-success: #10B981;           /* Green - savings, positive */
  --sky-success-glow: rgba(16, 185, 129, 0.15);
  --sky-warning: #F59E0B;           /* Orange - attention */
  --sky-danger: #EF4444;            /* Red - alerts, errors */
  --sky-error: #EF4444;             /* Alias for danger */
  --sky-accent: #8B5CF6;            /* Purple - special elements */

  /* === NEUTRAL COLORS === */
  --sky-white: #FFFFFF;
  --sky-gray-50: #F8FAFC;
  --sky-gray-100: #F1F5F9;
  --sky-gray-200: #E2E8F0;
  --sky-gray-300: #CBD5E1;
  --sky-gray-400: #94A3B8;
  --sky-gray-500: #64748B;
  --sky-gray-600: #475569;
  --sky-gray-700: #334155;
  --sky-gray-800: #1E293B;
  --sky-gray-900: #0F172A;
  --sky-black: #020617;

  /* === SEMANTIC THEME COLORS (Dark Mode Default) === */
  --sky-bg: #0F172A;
  --sky-bg-elevated: #1E293B;
  --sky-bg-muted: #334155;
  --sky-text-primary: #F1F5F9;
  --sky-text-secondary: #CBD5E1;
  --sky-text-muted: #94A3B8;
  --sky-border: #334155;
  --sky-border-light: rgba(255, 255, 255, 0.08);

  /* === TOOL BRAND COLORS === */
  --tool-wazuh: #3AAFA9;
  --tool-sonarqube: #4E9BCD;
  --tool-teleport: #7B61FF;
  --tool-velociraptor: #F97316;
  --tool-openvas: #66BB6A;
  --tool-keycloak: #4D4D4D;

  /* === TYPOGRAPHY === */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  --font-display: 'Inter', sans-serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.75rem + 0.3vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-xl: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-2xl: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
  --text-3xl: clamp(1.5rem, 1.25rem + 1.2vw, 1.875rem);
  --text-4xl: clamp(1.875rem, 1.5rem + 1.8vw, 2.25rem);
  --text-5xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
  --text-6xl: clamp(2.75rem, 2rem + 3.5vw, 3.75rem);
  --text-7xl: clamp(3rem, 2.25rem + 4vw, 4.5rem);

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;

  /* === SPACING SCALE === */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* === LAYOUT === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* === BORDERS & RADIUS === */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 4px;

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px var(--sky-primary-glow);
  --shadow-glow-success: 0 0 30px var(--sky-success-glow);

  /* === TRANSITIONS === */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --duration-instant: 50ms;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;

  /* === Z-INDEX SCALE === */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* === LIGHT MODE THEME === */
html.light,
[data-theme="light"] {
  --sky-bg: #F8FAFC;
  --sky-bg-elevated: #FFFFFF;
  --sky-bg-muted: #E2E8F0;
  --sky-text-primary: #0F172A;
  --sky-text-secondary: #475569;
  --sky-text-muted: #64748B;
  --sky-border: #CBD5E1;
  --sky-border-light: rgba(0, 0, 0, 0.06);

  /* Light mode slate adjustments */
  --sky-slate: #F1F5F9;
  --sky-slate-light: #FFFFFF;
  --sky-slate-muted: #E2E8F0;

  /* Light mode shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.06);

  /* Light mode glows */
  --sky-primary-glow: rgba(12, 150, 215, 0.1);
  --sky-success-glow: rgba(16, 185, 129, 0.1);
}

/* Theme toggle button styles */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--sky-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-default);
  color: var(--sky-text-secondary);
}

.theme-toggle:hover {
  background: var(--sky-bg-muted);
  border-color: var(--sky-primary);
  color: var(--sky-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

/* Sun icon (shown in dark mode) */
.theme-toggle .icon-sun {
  display: block;
}

.theme-toggle .icon-moon {
  display: none;
}

/* Moon icon (shown in light mode) */
html.light .theme-toggle .icon-sun,
[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

html.light .theme-toggle .icon-moon,
[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* Smooth theme transition */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* =====================================================
   2. RESET & BASE STYLES
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--sky-text-primary);
  background: var(--sky-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--sky-primary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Selection */
::selection {
  background: var(--sky-primary);
  color: var(--sky-white);
}

/* =====================================================
   3. TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--sky-text-primary);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  color: var(--sky-text-secondary);
  line-height: var(--leading-relaxed);
}

a {
  color: var(--sky-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

a:hover {
  color: var(--sky-primary-light);
}

code, pre, kbd, samp {
  font-family: var(--font-mono);
}

code {
  padding: var(--space-1) var(--space-2);
  background: var(--sky-slate-light);
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}

pre {
  padding: var(--space-4);
  background: var(--sky-black);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

/* =====================================================
   4. LAYOUT UTILITIES
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.container-lg {
  max-width: var(--container-lg);
}

.container-2xl {
  max-width: var(--container-2xl);
}

/* Section spacing */
.section {
  padding-block: var(--space-24);
}

.section-sm {
  padding-block: var(--space-16);
}

.section-lg {
  padding-block: var(--space-32);
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* =====================================================
   5. ANIMATED BACKGROUNDS
   ===================================================== */

/* Gradient Mesh Background */
.bg-mesh {
  position: relative;
  background: var(--sky-slate);
}

.bg-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(12, 150, 215, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 40% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Blueprint Grid */
.bg-blueprint {
  background-image:
    linear-gradient(rgba(12, 150, 215, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 150, 215, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Animated Grid */
.bg-animated-grid {
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(12, 150, 215, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 150, 215, 0.05) 1px, transparent 1px);
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Noise texture overlay */
.bg-noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 1;
}

/* =====================================================
   6. GLASS MORPHISM EFFECTS
   ===================================================== */
.glass {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-primary {
  background: rgba(12, 150, 215, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(12, 150, 215, 0.2);
}

/* =====================================================
   7. ANIMATION UTILITIES
   ===================================================== */

/* Fade In */
.animate-fade-in {
  animation: fadeIn var(--duration-normal) var(--ease-out) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Slide Up */
.animate-slide-up {
  animation: slideUp var(--duration-normal) var(--ease-out) forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide In Left */
.animate-slide-left {
  animation: slideLeft var(--duration-normal) var(--ease-out) forwards;
}

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

/* Scale In */
.animate-scale-in {
  animation: scaleIn var(--duration-normal) var(--ease-spring) forwards;
}

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

/* Float */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Pulse Glow */
.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--sky-primary-glow);
  }
  50% {
    box-shadow: 0 0 20px 10px var(--sky-primary-glow);
  }
}

/* Typing cursor */
.animate-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Stagger delay classes */
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }

/* =====================================================
   8. RESPONSIVE BREAKPOINTS
   ===================================================== */
@media (max-width: 1280px) {
  .container { padding-inline: var(--space-8); }
}

@media (max-width: 1024px) {
  .section { padding-block: var(--space-16); }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-4); }
  .section { padding-block: var(--space-12); }
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 { grid-template-columns: 1fr; }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}

/* =====================================================
   9. REDUCED MOTION PREFERENCE
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =====================================================
   10. LIGHT MODE COMPONENT OVERRIDES
   ===================================================== */

/* Navigation */
html.light .nav,
html.light .nav.scrolled,
[data-theme="light"] .nav,
[data-theme="light"] .nav.scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom-color: var(--sky-border);
}

/* Glass effects for light mode */
html.light .glass,
[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .glass-light,
[data-theme="light"] .glass-light {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.06);
}

/* Background mesh adjustment */
html.light .bg-mesh,
[data-theme="light"] .bg-mesh {
  background: var(--sky-slate);
}

html.light .bg-mesh::before,
[data-theme="light"] .bg-mesh::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(12, 150, 215, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

/* Blueprint grid for light mode */
html.light .bg-blueprint,
[data-theme="light"] .bg-blueprint {
  background-image:
    linear-gradient(rgba(12, 150, 215, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 150, 215, 0.06) 1px, transparent 1px);
}

/* Animated grid for light mode */
html.light .bg-animated-grid,
[data-theme="light"] .bg-animated-grid {
  background-image:
    linear-gradient(to right, rgba(12, 150, 215, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 150, 215, 0.08) 1px, transparent 1px);
}

/* Background grid for light mode */
html.light .bg-grid,
[data-theme="light"] .bg-grid {
  opacity: 0.4;
}

/* Terminal/code blocks - keep dark for readability */
html.light .terminal,
html.light pre,
html.light code,
[data-theme="light"] .terminal,
[data-theme="light"] pre,
[data-theme="light"] code {
  background: #1E293B;
  color: #E2E8F0;
}

/* Cards and elevated surfaces */
html.light .card,
html.light .tool-card,
html.light .feature-card,
html.light .comparison-card,
html.light .testimonial-card,
html.light .step-card,
html.light .defense-card,
html.light .pricing-card,
html.light .blog-card,
html.light .verify-card,
html.light .quick-start,
[data-theme="light"] .card,
[data-theme="light"] .tool-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .comparison-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .step-card,
[data-theme="light"] .defense-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .verify-card,
[data-theme="light"] .quick-start {
  background: var(--sky-bg-elevated);
  border-color: var(--sky-border);
  box-shadow: var(--shadow-md);
}

/* Section backgrounds */
html.light .section-dark,
[data-theme="light"] .section-dark {
  background: #E2E8F0;
}

html.light .section-slate,
[data-theme="light"] .section-slate {
  background: var(--sky-slate);
}

/* Modals */
html.light .modal-content,
html.light .contact-modal .modal-content,
[data-theme="light"] .modal-content,
[data-theme="light"] .contact-modal .modal-content {
  background: var(--sky-bg-elevated);
  border-color: var(--sky-border);
}

/* Form inputs */
html.light input,
html.light textarea,
html.light select,
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: var(--sky-bg);
  border-color: var(--sky-border);
  color: var(--sky-text-primary);
}

html.light input::placeholder,
html.light textarea::placeholder,
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: var(--sky-text-muted);
}

/* Buttons secondary */
html.light .btn-secondary,
[data-theme="light"] .btn-secondary {
  background: var(--sky-bg-elevated);
  border-color: var(--sky-border);
  color: var(--sky-text-primary);
}

html.light .btn-secondary:hover:not(:disabled),
[data-theme="light"] .btn-secondary:hover:not(:disabled) {
  background: var(--sky-bg-muted);
  border-color: var(--sky-primary);
}

/* Footer */
html.light footer,
html.light .footer,
[data-theme="light"] footer,
[data-theme="light"] .footer {
  background: #E2E8F0;
  border-top-color: var(--sky-border);
}

/* Dividers */
html.light .section-divider,
[data-theme="light"] .section-divider {
  background: linear-gradient(90deg, transparent, var(--sky-border), transparent);
}

/* Hero overlays - keep dark for readability on images */
html.light .hero-overlay,
[data-theme="light"] .hero-overlay {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(241, 245, 249, 0.88) 50%, rgba(226, 232, 240, 0.85) 100%);
}

/* Tool page specific hero adjustments - keep dark for image backgrounds */
html.light .tool-hero .hero-overlay,
[data-theme="light"] .tool-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.82) 50%, rgba(15, 23, 42, 0.75) 100%);
}

html.light .tool-hero .hero-content,
html.light .tool-hero h1,
html.light .tool-hero p,
html.light .tool-hero .stat-value,
html.light .tool-hero .stat-label,
[data-theme="light"] .tool-hero .hero-content,
[data-theme="light"] .tool-hero h1,
[data-theme="light"] .tool-hero p,
[data-theme="light"] .tool-hero .stat-value,
[data-theme="light"] .tool-hero .stat-label {
  color: #FFFFFF;
}

/* Accordion */
html.light .accordion-item,
[data-theme="light"] .accordion-item {
  background: var(--sky-bg-elevated);
  border-color: var(--sky-border);
}

html.light .accordion-trigger,
[data-theme="light"] .accordion-trigger {
  color: var(--sky-text-primary);
}

html.light .accordion-content,
[data-theme="light"] .accordion-content {
  color: var(--sky-text-secondary);
}

/* Stats */
html.light .stat-value,
[data-theme="light"] .stat-value {
  color: var(--sky-text-primary);
}

html.light .stat-label,
[data-theme="light"] .stat-label {
  color: var(--sky-text-secondary);
}

/* Links in content */
html.light .verify-link,
html.light .blog-link,
html.light .faq-link,
[data-theme="light"] .verify-link,
[data-theme="light"] .blog-link,
[data-theme="light"] .faq-link {
  color: var(--sky-primary);
}

/* Scroll progress bar */
html.light .scroll-progress,
[data-theme="light"] .scroll-progress {
  background: var(--sky-primary);
}

/* Verify page specific */
html.light .verify-steps,
html.light .verify-email,
[data-theme="light"] .verify-steps,
[data-theme="light"] .verify-email {
  background: var(--sky-bg-muted);
}

/* Blog page */
html.light .blog-meta,
[data-theme="light"] .blog-meta {
  color: var(--sky-text-muted);
}

/* Nav links */
html.light .nav-link,
[data-theme="light"] .nav-link {
  color: var(--sky-text-primary);
}

html.light .nav-link:hover,
[data-theme="light"] .nav-link:hover {
  color: var(--sky-primary);
}
