/* ========================================
   ProductionComms.com — SaaS Landing Page
   ======================================== */

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

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Colors — Dark first (this is the default) */
  --color-bg: #0a0a0f;
  --color-surface: #111118;
  --color-surface-2: #16161f;
  --color-surface-3: #1c1c28;
  --color-border: #2a2a3a;
  --color-border-subtle: #1e1e2e;

  --color-text: #e8e8ed;
  --color-text-muted: #8b8b9e;
  --color-text-faint: #5a5a6e;

  --color-accent: #7c6aef;
  --color-accent-hover: #9484f7;
  --color-accent-glow: rgba(124, 106, 239, 0.15);
  --color-accent-glow-strong: rgba(124, 106, 239, 0.3);

  --color-green: #34d399;
  --color-red: #f87171;
  --color-yellow: #fbbf24;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Type */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 180ms var(--ease);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100dvh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: var(--color-accent-glow-strong);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border-subtle);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.nav-logo-icon { color: var(--color-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition);
  font-weight: 500;
}

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

.nav-donate-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-donate-heart {
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.nav-donate-link:hover .nav-donate-heart {
  color: rgba(255,255,255,0.6);
}

.nav-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--color-accent);
  color: white;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 30px var(--color-accent-glow-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  color: var(--color-text);
  border-color: var(--color-text-faint);
  background: var(--color-surface);
}

.btn-secondary {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-3);
  border-color: var(--color-text-faint);
}

.btn-full { width: 100%; justify-content: center; }

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-16)) 0 var(--space-16);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, var(--color-accent-glow-strong) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  display: none;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-12);
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-visual {
  flex: 0 0 auto;
  width: 440px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.28em;
  font-weight: 700;
  color: var(--color-yellow);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  vertical-align: middle;
  position: relative;
  top: -0.15em;
  margin-left: 0.12em;
  white-space: nowrap;
  -webkit-text-fill-color: var(--color-yellow);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-yellow);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #a78bfa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: nowrap;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero Mockup */
.hero-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 80px var(--color-accent-glow);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.mockup-dots span:first-child { background: #f87171; }
.mockup-dots span:nth-child(2) { background: #fbbf24; }
.mockup-dots span:last-child { background: #34d399; }

.mockup-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-faint);
  background: var(--color-surface);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  flex: 1;
  text-align: center;
}

.mockup-body {
  padding: var(--space-5);
}

.mockup-panels {
  display: flex;
  gap: var(--space-3);
}

.mockup-panel {
  flex: 1;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.mockup-panel-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--color-accent), #a78bfa);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  width: 100%;
}

.mockup-panel-status {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.mockup-panel-status.green {
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-green);
}

.mockup-panel-status.red {
  background: rgba(248, 113, 113, 0.15);
  color: var(--color-red);
}

.mockup-panel-status.muted {
  background: rgba(90, 90, 110, 0.15);
  color: var(--color-text-faint);
}

.mockup-switch {
  width: 36px;
  height: 64px;
  background: var(--color-surface-3);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  position: relative;
  margin: var(--space-1) 0;
}

.mockup-switch-handle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s var(--ease);
}

.mockup-switch-handle.up {
  top: 3px;
  border-color: var(--color-green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

.mockup-switch-handle.down {
  bottom: 3px;
  border-color: var(--color-red);
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.4);
}

.mockup-switch-handle.center {
  top: 50%;
  transform: translate(-50%, -50%);
}

.mockup-vol {
  width: 100%;
  height: 4px;
  background: var(--color-surface-3);
  border-radius: 2px;
  overflow: hidden;
}

.mockup-vol-bar {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.6;
}

/* ========================================
   Sections — Shared
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Features
   ======================================== */
.features {
  padding: var(--space-24) 0;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
}

.features-grid .feature-card {
  flex: 0 1 calc(33.333% - var(--space-6) * 2 / 3);
  min-width: 280px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--color-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  color: var(--color-accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========================================
   Hardware
   ======================================== */
.hardware {
  padding: var(--space-24) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.hardware-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: center;
}

.hardware-grid .hardware-card {
  flex: 0 1 calc(33.333% - var(--space-8) * 2 / 3);
  min-width: 300px;
}

.hardware-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.hardware-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--color-accent-glow);
}

.hardware-img-wrap {
  position: relative;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  min-height: 200px;
}

.hardware-img-wrap img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.hardware-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.hardware-info {
  padding: var(--space-6);
}

.hardware-info h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.hardware-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.hardware-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.hardware-specs span {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-subtle);
}

/* ========================================
   Pricing
   ======================================== */
.pricing {
  padding: var(--space-24) 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  transition: all 0.3s var(--ease);
}

.pricing-card:hover {
  border-color: var(--color-border);
}

.pricing-card.supporter {
  border-color: var(--color-accent);
  box-shadow: 0 0 40px var(--color-accent-glow);
}

.pricing-highlight {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.pricing-card-header h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pricing-amount {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.pricing-currency {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-muted);
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-green);
}

.pricing-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  padding: var(--space-24) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  margin: 0 auto var(--space-5);
}

.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.footer-logo { color: var(--color-accent); }

.footer-legal {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  transition: color var(--transition);
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(80px + var(--space-12));
    gap: var(--space-8);
  }

  .hero-visual {
    width: 100%;
    max-width: 480px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 768px) {
  .nav-links { gap: var(--space-3); }
  .nav-link { display: none; }

  .features-grid {
    flex-direction: column;
    gap: var(--space-4);
  }

  .features-grid .feature-card {
    flex: 1 1 100%;
  }

  .hardware-grid {
    flex-direction: column;
    gap: var(--space-6);
  }

  .hardware-grid .hardware-card {
    flex: 1 1 100%;
    min-width: unset;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 1rem + 4vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

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

  .mockup-panels {
    gap: var(--space-2);
  }

  .mockup-panel {
    padding: var(--space-3) var(--space-2);
  }

  .feature-card {
    padding: var(--space-6);
  }
}

/* Terms & Conditions Modal */
.terms-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.terms-overlay.hidden {
  display: none;
  opacity: 0;
}

.terms-modal {
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.terms-content {
  padding: var(--space-8) var(--space-8) var(--space-6);
}

.terms-content h1 {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.terms-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.terms-content h2 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.terms-content p {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.terms-content p.all-caps {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.terms-content p.terms-subsection {
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-border);
  margin-left: var(--space-2);
}

.terms-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.terms-copyright {
  text-align: center;
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: 10px;
}

.terms-close-btn {
  display: block;
  width: 100%;
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.terms-close-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-terms-link {
  cursor: pointer;
}

/* Cookie consent bottom banner */
.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  padding: 16px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-overlay.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner {
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.cookie-text a,
.cookie-terms-link {
  color: #667eea;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
  cursor: pointer;
}

.cookie-text a:hover,
.cookie-terms-link:hover {
  text-decoration-color: #667eea;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.cookie-btn-accept:hover {
  opacity: 0.9;
}

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