/* ============================================
   IntegrateMed V2 — Scientific Luxe
   Dark glassmorphism + editorial typography
   Design system: SKILL.md (Chatify) tokens
   ============================================ */

/* --- Google Fonts loaded in HTML ---
   Plus Jakarta Sans: 300,400,500,600,700,800,900
   JetBrains Mono: 400,500
   -------------------------------------------- */

/* --- Design Tokens --- */
:root {
  /* Core palette — SKILL.md + IntegrateMed fusion */
  --primary: #1856FF;
  --primary-glow: rgba(24, 86, 255, 0.35);
  --primary-subtle: rgba(24, 86, 255, 0.08);
  --secondary: #3A344E;
  --accent: #07CA6B;
  --accent-glow: rgba(7, 202, 107, 0.3);
  --warning: #E89558;
  --danger: #EA2143;
  --danger-subtle: rgba(234, 33, 67, 0.08);
  --info: #1856FF;

  /* Surfaces — dark mode */
  --bg-deep: #06080F;
  --bg-base: #0A0E1A;
  --bg-elevated: #111627;
  --bg-card: rgba(17, 22, 39, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  /* Text */
  --text-primary: #F0F2F8;
  --text-secondary: #8A8FA8;
  --text-tertiary: #5A5F78;
  --text-inverse: #0A0E1A;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(24, 86, 255, 0.25);

  /* Spacing & shape */
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --radius-pill: 100px;
  --max-width: 1200px;
  --nav-height: 72px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--primary-glow);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Noise texture overlay on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover {
  color: #4A7FFF;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-primary);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Mono label utility */
.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 0.56s; }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  pointer-events: none;
  max-width: 420px;
  text-align: center;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- Hero Screenshot --- */
.hero-screenshot {
  display: block;
  border-radius: 28px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: #2968FF;
  color: #fff;
  box-shadow: 0 8px 32px var(--primary-glow), 0 0 0 1px rgba(24,86,255,0.3);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-accent:hover {
  background: #0AE07A;
  color: var(--text-inverse);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  position: relative;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  height: var(--nav-height);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-brand:hover {
  color: var(--text-primary);
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  margin-left: 4px;
}

.nav-links a.nav-cta {
  color: #fff;
}

.nav-links a.nav-cta:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  }

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

  .nav-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}

/* Gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(24, 86, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(7, 202, 107, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(58, 52, 78, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Glowing orb top-right */
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24, 86, 255, 0.08) 0%, transparent 55%);
  border-radius: 50%;
  top: -150px;
  right: -100px;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-20px, 30px); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  animation: heroReveal 0.7s var(--ease-out) both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: 60px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  line-height: 1.05;
  animation: heroReveal 0.7s var(--ease-out) 0.1s both;
}

/* Gradient text highlight on key word */
.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #4A7FFF 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 480px;
  font-weight: 400;
  animation: heroReveal 0.7s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  animation: heroReveal 0.7s var(--ease-out) 0.3s both;
}

.hero-trust {
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  animation: heroReveal 0.7s var(--ease-out) 0.4s both;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
  animation: heroReveal 0.8s var(--ease-out) 0.2s both;
}

/* Glass frame behind screenshot */
.hero-image::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-subtle), rgba(7, 202, 107, 0.04));
  border: 1px solid var(--border-glow);
  border-radius: 36px;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -48%) rotate(-3deg);
  z-index: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

/* Glow behind screenshot */
.hero-image::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 320px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
}

.hero-image img {
  position: relative;
  max-width: 320px;
  border-radius: 28px;
  border: 1px solid var(--border-glass);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255,255,255,0.05);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero-subtitle, .hero-actions, .hero-trust, .hero-image,
  .reveal, .hero::after {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 80px 0 100px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-image::before {
    width: 260px;
    height: 320px;
  }

  .hero-image img {
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
}

/* --- Section --- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-deep);
}

/* Subtle top divider for alt sections */
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--primary-subtle);
  border: 1px solid rgba(24, 86, 255, 0.15);
  border-radius: var(--radius-pill);
}

.section-header h2 {
  font-size: 44px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

@media (max-width: 600px) {
  .section {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 30px;
  }
}

/* --- Feature Bento Grid --- */
#features {
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind features */
#features::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(24, 86, 255, 0.06) 0%, transparent 55%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-glass);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Glass shimmer on hover */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 50%, rgba(255,255,255,0.01) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: var(--radius);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Per-card accent line at top */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:nth-child(1)::after { background: linear-gradient(90deg, var(--primary), #4A7FFF); }
.feature-card:nth-child(2)::after { background: linear-gradient(90deg, var(--warning), #F0AD78); }
.feature-card:nth-child(3)::after { background: linear-gradient(90deg, var(--accent), #3AEAA0); }
.feature-card:nth-child(4)::after { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
  border: 1px solid transparent;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-2deg);
}

.feature-icon-blue {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: rgba(24, 86, 255, 0.15);
}

.feature-icon-orange {
  background: rgba(232, 149, 88, 0.1);
  color: var(--warning);
  border-color: rgba(232, 149, 88, 0.15);
}

.feature-icon-green {
  background: rgba(7, 202, 107, 0.1);
  color: var(--accent);
  border-color: rgba(7, 202, 107, 0.15);
}

.feature-icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
  border-color: rgba(139, 92, 246, 0.15);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 400;
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Screenshot Showcase / Gallery --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-text h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.showcase-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 420px;
}

.showcase-gallery {
  display: flex;
  justify-content: center;
}

.gallery-track {
  overflow: hidden;
  width: 300px;
}

.gallery-slide {
  display: none;
}

.gallery-slide.active {
  display: block;
  animation: galleryFadeIn 0.4s var(--ease-out);
}

@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateX(16px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.gallery-slide img {
  max-width: 300px;
  border-radius: 28px;
  border: 1px solid var(--border-glass);
}

.gallery-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
  font-weight: 500;
}

.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.gallery-arrow {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-arrow:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.gallery-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.gallery-dots {
  display: flex;
  gap: 10px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--text-tertiary);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease-out);
}

.gallery-dot.active {
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .showcase-text p {
    max-width: 100%;
    margin: 0 auto;
  }

  .showcase-text {
    display: flex;
    flex-direction: column;
  }

  .showcase-gallery {
    order: -1;
  }

  .gallery-nav {
    justify-content: center;
    order: -1;
    margin-top: 0;
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .gallery-track {
    width: 260px;
  }

  .gallery-slide img {
    max-width: 260px;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
  }

  .gallery-arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* --- Pricing --- */
.pricing-includes {
  list-style: none;
  max-width: 480px;
  margin: 0 auto 48px;
  display: grid;
  gap: 12px;
}

.pricing-includes li {
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pricing-includes li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-glass);
  border-radius: var(--radius);
  padding: 44px 36px;
  border: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pricing-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: rgba(24, 86, 255, 0.3);
  background: linear-gradient(180deg, rgba(24, 86, 255, 0.06) 0%, var(--bg-glass) 60%);
  box-shadow: 0 0 40px rgba(24, 86, 255, 0.08);
}

.pricing-card.featured:hover {
  border-color: rgba(24, 86, 255, 0.5);
  box-shadow: 0 0 60px rgba(24, 86, 255, 0.12), 0 20px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px);
}

/* Animated border glow for featured */
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 200%;
  animation: borderGlow 4s ease infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pricing-price {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  font-weight: 500;
}

.pricing-trial {
  display: inline-block;
  background: rgba(7, 202, 107, 0.08);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(7, 202, 107, 0.15);
  margin-bottom: 32px;
}

.pricing-fine-print {
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.8;
}

.pricing-fine-print a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-price {
    font-size: 44px;
  }
}

/* --- FAQ Section (index page — card grid) --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.faq-grid .faq-item {
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  padding: 28px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.faq-grid .faq-item:hover {
  border-color: var(--border-glass);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.faq-grid .faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.faq-grid .faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
}

.faq-grid .faq-item a {
  color: var(--primary);
  font-weight: 500;
}

.faq-grid .faq-item a:hover {
  text-decoration: underline;
}

/* --- Disclaimer Banner --- */
.disclaimer-banner {
  background: var(--danger-subtle);
  border-top: 2px solid var(--danger);
  padding: 44px 0;
}

.disclaimer-banner .container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-banner-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--danger);
}

.disclaimer-banner h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 8px;
}

.disclaimer-banner p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.disclaimer-banner a {
  color: var(--danger);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-deep);
  color: var(--text-tertiary);
  padding: 72px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.footer-brand span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  color: var(--text-tertiary);
}

.footer h4 {
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-tertiary);
  font-size: 14px;
  transition: color 0.25s;
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Below: Shared styles for support pages
   (Reused on support-v2.html if created)
   ============================================ */

/* --- Support Page Styles --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list .faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}

.faq-list .faq-item:hover,
.faq-list .faq-item.active {
  border-color: var(--border-glass);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.3s var(--ease-out);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Support contact */
.support-contact {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 44px;
  background: var(--bg-glass);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.support-contact h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.support-contact p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.support-contact a {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

/* Requirements grid */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.requirement-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}

.requirement-item:hover {
  border-color: var(--border-glass);
}

.requirement-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.requirement-item span {
  font-size: 14px;
  color: var(--text-tertiary);
}

@media (max-width: 600px) {
  .requirements-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Legal Page Layout --- */
.legal-page {
  padding: 48px 0 72px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--text-primary);
}

/* Callout boxes */
.callout {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  border-left: 3px solid;
}

.callout-warning {
  background: var(--danger-subtle);
  border-color: var(--danger);
}

.callout-warning strong {
  color: var(--danger);
}

.callout-info {
  background: var(--primary-subtle);
  border-color: var(--primary);
}

.callout-success {
  background: rgba(7, 202, 107, 0.06);
  border-color: var(--accent);
}

.callout p {
  margin-bottom: 0;
}

.callout p + p {
  margin-top: 8px;
}

/* Emergency banner */
.emergency-banner {
  background: var(--danger);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  text-align: center;
}

.emergency-banner p {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

/* Disclaimer page hero */
.disclaimer-hero {
  background: var(--danger-subtle);
  border-bottom: 2px solid var(--danger);
  padding: 40px 0;
  text-align: center;
}

.disclaimer-hero h1 {
  color: var(--danger);
  font-size: 28px;
  margin-bottom: 12px;
}

.disclaimer-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Theme Toggle
   ============================================ */
.theme-toggle {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  color: var(--text-secondary);
  padding: 0;
  flex-shrink: 0;
}

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

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
}

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

/* Hide the inactive icon */
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }

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

/* ============================================
   Light Mode — Token Overrides
   ============================================ */
[data-theme="light"] {
  /* Surfaces */
  --bg-deep: #F2F4F8;
  --bg-base: #FAFBFE;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.5);
  --bg-glass-hover: rgba(255, 255, 255, 0.8);

  /* Text */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-glass: rgba(0, 0, 0, 0.1);
  --border-glow: rgba(24, 86, 255, 0.2);

  /* Shadows — lighter */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(24, 86, 255, 0.12);

  /* Adjusted accent colors for light bg contrast */
  --primary-glow: rgba(24, 86, 255, 0.15);
  --primary-subtle: rgba(24, 86, 255, 0.06);
  --accent-glow: rgba(7, 202, 107, 0.15);
  --danger-subtle: rgba(234, 33, 67, 0.05);
}

/* Light mode — noise texture dimmed further */
[data-theme="light"] body::before {
  opacity: 0.25;
}

/* Light mode — nav glass */
[data-theme="light"] .nav {
  background: rgba(250, 251, 254, 0.75);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(250, 251, 254, 0.9);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Light mode — hero gradient mesh */
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(24, 86, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(7, 202, 107, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(24, 86, 255, 0.04) 0%, transparent 55%);
}

/* Light mode — hero image glow */
[data-theme="light"] .hero-image::before {
  background: linear-gradient(135deg, rgba(24, 86, 255, 0.05), rgba(7, 202, 107, 0.03));
  border-color: rgba(24, 86, 255, 0.12);
}

[data-theme="light"] .hero-image::after {
  background: radial-gradient(circle, rgba(24, 86, 255, 0.08) 0%, transparent 60%);
}

[data-theme="light"] .hero-image img {
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Light mode — feature cards */
[data-theme="light"] .feature-card {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .feature-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Light mode — gallery images */
[data-theme="light"] .gallery-slide img {
  border-color: rgba(0, 0, 0, 0.08);
}

/* Light mode — pricing cards */
[data-theme="light"] .pricing-card {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .pricing-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(180deg, rgba(24, 86, 255, 0.03) 0%, rgba(255, 255, 255, 0.6) 60%);
  box-shadow: 0 0 40px rgba(24, 86, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .pricing-card.featured:hover {
  box-shadow: 0 0 60px rgba(24, 86, 255, 0.08), 0 20px 48px rgba(0, 0, 0, 0.08);
}

/* Light mode — FAQ grid cards */
[data-theme="light"] .faq-grid .faq-item {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .faq-grid .faq-item:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

/* Light mode — mobile nav */
[data-theme="light"] .nav-links {
  background: rgba(250, 251, 254, 0.97);
}

/* Light mode — footer */
[data-theme="light"] .footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .footer-brand span {
  color: #fff;
}

[data-theme="light"] .footer h4 {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .footer-links a:hover {
  color: #fff;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
}

/* Light mode — section-alt */
[data-theme="light"] .section-alt {
  background: #F0F3F9;
}

[data-theme="light"] .section-alt::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
}

/* Light mode — toast */
[data-theme="light"] .toast {
  background: #111827;
  color: #fff;
  border-color: transparent;
}

/* Light mode — btn-outline text stays readable */
[data-theme="light"] .btn-outline {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Light mode — gallery controls */
[data-theme="light"] .gallery-arrow {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .gallery-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Light mode — support contact */
[data-theme="light"] .support-contact {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Light mode — requirement items */
[data-theme="light"] .requirement-item {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Light mode — FAQ list (support page) */
[data-theme="light"] .faq-list .faq-item {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ============================================
   Auto light mode via OS preference
   (only applies when no explicit data-theme)
   ============================================ */
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --bg-deep: #F2F4F8;
    --bg-base: #FAFBFE;
    --bg-elevated: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.5);
    --bg-glass-hover: rgba(255, 255, 255, 0.8);
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-tertiary: #9CA3AF;
    --text-inverse: #FFFFFF;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-glass: rgba(0, 0, 0, 0.1);
    --border-glow: rgba(24, 86, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(24, 86, 255, 0.12);
    --primary-glow: rgba(24, 86, 255, 0.15);
    --primary-subtle: rgba(24, 86, 255, 0.06);
    --accent-glow: rgba(7, 202, 107, 0.15);
    --danger-subtle: rgba(234, 33, 67, 0.05);
  }

  /* Repeat targeted overrides for auto-detect */
  html:not([data-theme]) body::before { opacity: 0.25; }

  html:not([data-theme]) .nav { background: rgba(250, 251, 254, 0.75); }
  html:not([data-theme]) .nav.scrolled { background: rgba(250, 251, 254, 0.9); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); }

  html:not([data-theme]) .hero::before {
    background:
      radial-gradient(ellipse 80% 60% at 20% 40%, rgba(24, 86, 255, 0.06) 0%, transparent 60%),
      radial-gradient(ellipse 60% 80% at 80% 20%, rgba(7, 202, 107, 0.04) 0%, transparent 50%),
      radial-gradient(ellipse 50% 50% at 60% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  }
  html:not([data-theme]) .hero::after { background: radial-gradient(circle, rgba(24, 86, 255, 0.04) 0%, transparent 55%); }
  html:not([data-theme]) .hero-image::before { background: linear-gradient(135deg, rgba(24, 86, 255, 0.05), rgba(7, 202, 107, 0.03)); border-color: rgba(24, 86, 255, 0.12); }
  html:not([data-theme]) .hero-image::after { background: radial-gradient(circle, rgba(24, 86, 255, 0.08) 0%, transparent 60%); }
  html:not([data-theme]) .hero-image img { box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05); }

  html:not([data-theme]) .feature-card { background: rgba(255, 255, 255, 0.6); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
  html:not([data-theme]) .feature-card:hover { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08); }

  html:not([data-theme]) .gallery-slide img { border-color: rgba(0, 0, 0, 0.08); }

  html:not([data-theme]) .pricing-card { background: rgba(255, 255, 255, 0.6); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
  html:not([data-theme]) .pricing-card:hover { box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08); }
  html:not([data-theme]) .pricing-card.featured { background: linear-gradient(180deg, rgba(24, 86, 255, 0.03) 0%, rgba(255, 255, 255, 0.6) 60%); box-shadow: 0 0 40px rgba(24, 86, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04); }
  html:not([data-theme]) .pricing-card.featured:hover { box-shadow: 0 0 60px rgba(24, 86, 255, 0.08), 0 20px 48px rgba(0, 0, 0, 0.08); }

  html:not([data-theme]) .faq-grid .faq-item { background: rgba(255, 255, 255, 0.6); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
  html:not([data-theme]) .faq-grid .faq-item:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06); }

  html:not([data-theme]) .section-alt { background: #F0F3F9; }
  html:not([data-theme]) .section-alt::before { background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent); }

  html:not([data-theme]) .nav-links { background: rgba(250, 251, 254, 0.97); }

  html:not([data-theme]) .footer { background: #111827; color: rgba(255, 255, 255, 0.5); }
  html:not([data-theme]) .footer-brand span { color: #fff; }
  html:not([data-theme]) .footer h4 { color: rgba(255, 255, 255, 0.7); }
  html:not([data-theme]) .footer-links a { color: rgba(255, 255, 255, 0.5); }
  html:not([data-theme]) .footer-links a:hover { color: #fff; }
  html:not([data-theme]) .footer-bottom { border-top-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.4); }

  html:not([data-theme]) .toast { background: #111827; color: #fff; border-color: transparent; }

  html:not([data-theme]) .btn-outline { color: #111827; border-color: rgba(0, 0, 0, 0.12); }
  html:not([data-theme]) .btn-outline:hover { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.2); }

  html:not([data-theme]) .gallery-arrow { background: rgba(255, 255, 255, 0.7); border-color: rgba(0, 0, 0, 0.08); }
  html:not([data-theme]) .gallery-arrow:hover { background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }

  html:not([data-theme]) .support-contact { background: rgba(255, 255, 255, 0.7); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
  html:not([data-theme]) .requirement-item { background: rgba(255, 255, 255, 0.7); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
  html:not([data-theme]) .faq-list .faq-item { background: rgba(255, 255, 255, 0.7); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }

  /* Auto icon swap */
  html:not([data-theme]) .theme-toggle .icon-moon { display: none; }
  html:not([data-theme]) .theme-toggle .icon-sun { display: block; }
}
