/* ============================================
   Self-hosted fonts - eliminates Google Fonts request chain
   ============================================ */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/outfit-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/outfit-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/outfit-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-600.woff2') format('woff2');
}

/* ============================================
   SIVUT HUOMISEKSI - "Atomic Twilight" Design System
   50s-60s Atomic Age × 80s Synthwave (Restrained)
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Color Palette - The Twilight Spectrum */
  --void: #080c14;
  --deep: #0c1222;
  --night: #131d33;
  --dusk: #1e2d4d;
  --steel: #2a3f66;
  
  /* Text Colors */
  --cream: #faf6f0;
  --cream-soft: rgba(250, 246, 240, 0.85);
  --mist: #9ca8c4;
  --ghost: #8492b3;
  
  /* Accent Colors - The Glow */
  --coral: #e07a5f;
  --coral-soft: #d4887a;
  --coral-glow: rgba(224, 122, 95, 0.15);
  --teal: #5ec4b6;
  --teal-soft: #7dd3c8;
  --teal-glow: rgba(94, 196, 182, 0.12);
  --gold: #d4a574;
  --gold-soft: #e2bc92;
  
  /* Semantic Colors */
  --bg-primary: var(--deep);
  --bg-elevated: var(--night);
  --bg-card: linear-gradient(135deg, rgba(30, 45, 77, 0.6) 0%, rgba(19, 29, 51, 0.8) 100%);
  --text-primary: var(--cream);
  --text-secondary: var(--mist);
  --text-muted: var(--ghost);
  --accent-primary: var(--coral);
  --accent-secondary: var(--teal);
  
  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.5rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 5rem);
  
  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow-coral: 0 0 60px var(--coral-glow);
  --shadow-glow-teal: 0 0 60px var(--teal-glow);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  
  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle noise texture */
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)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: var(--text-4xl); font-weight: 700; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { color: var(--text-secondary); max-width: 65ch; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

/* Skip link for accessibility */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  background: var(--coral);
  color: var(--void);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: transform var(--duration-fast);
}

.skip-link:focus {
  transform: translate(-50%, var(--space-md));
  outline: 2px solid var(--void);
  outline-offset: 2px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 40px var(--coral-glow), 0 0 80px var(--coral-glow);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--deep) 0%, transparent 100%);
  transition: opacity var(--duration-normal);
}

.nav.scrolled::before { opacity: 0; }

.nav.scrolled {
  background: rgba(12, 18, 34, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--cream);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.nav-logo:hover .nav-logo-mark {
  transform: rotate(3deg) scale(1.05);
}

.nav-logo-mark svg {
  width: 20px;
  height: 20px;
  stroke: var(--deep);
  stroke-width: 2.5;
  fill: none;
}

/* nav-logo-icon - alias styling for consistency */
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.nav-logo:hover .nav-logo-icon {
  transform: rotate(3deg) scale(1.05);
}

.nav-logo-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--deep) !important;
  stroke-width: 2.5;
  fill: none !important;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--mist);
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: 2px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover, .nav-link[aria-current="page"] { color: var(--cream); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-soft) 100%);
  color: var(--cream);
  box-shadow: var(--shadow-md), 0 0 30px var(--coral-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 50px var(--coral-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--steel);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--coral);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast);
}

.btn:hover .btn-icon { transform: translateX(3px); }

/* --- Cards --- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.card-featured {
  border-color: rgba(224, 122, 95, 0.3);
  box-shadow: var(--shadow-glow-coral);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-4xl);
  overflow: hidden;
}

/* Background glow orbs (Synthwave touch) */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
  contain: strict;
}

/* Pause animations when not visible (controlled by JS) */
.animation-paused,
.animation-paused * {
  animation-play-state: paused !important;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--coral-glow) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
}

/* Hero background container */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Reactor core - glowing circular element */
.reactor-core {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(224, 122, 95, 0.15) 0%,
    rgba(224, 122, 95, 0.08) 40%,
    rgba(212, 165, 116, 0.05) 60%,
    transparent 70%
  );
  border: 1px solid rgba(224, 122, 95, 0.2);
  box-shadow:
    inset 0 0 60px rgba(224, 122, 95, 0.1),
    0 0 80px rgba(224, 122, 95, 0.15);
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Geometric shapes (Atomic Age touch) */
.hero-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  animation: rotate-float 30s linear infinite;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  right: 10%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 25%;
  left: 5%;
  transform: rotate(45deg);
}

.hero-shape-3 {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 20%;
  border-radius: 50%;
  border-color: rgba(224, 122, 95, 0.15);
}

@keyframes rotate-float {
  0% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(180deg) translateY(20px); }
  100% { transform: rotate(360deg) translateY(0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--coral);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}

.hero-badge::before,
.hero-eyebrow::before {
  content: '✦';
  font-size: 0.8em;
  opacity: 0.7;
}

.hero-title {
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-title span { display: block; }

.hero-hook {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--coral);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.25s forwards;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font-heading);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 55ch;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

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

/* --- Sections --- */
.section {
  position: relative;
  padding: var(--space-5xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

.section-title { margin-bottom: var(--space-md); }

.section-description {
  font-size: var(--text-lg);
  max-width: 55ch;
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(30, 45, 77, 0.3) 20%, rgba(30, 45, 77, 0.3) 80%, transparent 100%);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coral-glow) 0%, var(--teal-glow) 100%);
  border-radius: var(--radius-md);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--coral);
  stroke-width: 1.5;
  fill: none;
}

.feature-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.pricing-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  color: var(--deep);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-2xs) var(--space-md);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pricing-price .period {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 600;
}

/* --- Process Timeline --- */
.process-list { max-width: 700px; margin: 0 auto; }

.process-item {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  position: relative;
}

.process-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: calc(var(--space-xl) + 48px);
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--coral) 0%, var(--teal) 100%);
  opacity: 0.3;
}

.process-number {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--night);
  border: 2px solid var(--coral);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--coral);
  transition: all var(--duration-normal) var(--ease-out);
}

.process-item:hover .process-number {
  background: var(--coral);
  color: var(--deep);
  box-shadow: 0 0 30px var(--coral-glow);
}

.process-content { padding-top: var(--space-xs); }

.process-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.process-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--coral);
  stroke-width: 1.5;
  fill: none;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-group { margin-bottom: var(--space-lg); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.form-input, .form-textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--deep);
  border: 1px solid var(--steel);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  transition: all var(--duration-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--ghost); }

.form-textarea { min-height: 140px; resize: vertical; }

.form-hint {
  font-size: var(--text-xs);
  color: var(--ghost);
  margin-top: var(--space-2xs);
}

/* --- Image Placeholders --- */
.image-placeholder {
  position: relative;
  background: linear-gradient(135deg, var(--night) 0%, var(--deep) 100%);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

.image-placeholder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
  opacity: 0.4;
}

.image-placeholder-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--mist);
  stroke-width: 1;
  fill: none;
}

.image-placeholder-text {
  font-size: var(--text-sm);
  color: var(--mist);
  max-width: 300px;
}

.image-placeholder-prompt {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--ghost);
  font-style: italic;
  max-width: 400px;
}

/* --- Tables --- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th, .price-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-size: var(--text-sm);
}

.price-table thead { background: var(--night); }

.price-table th {
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
}

.price-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-table tbody tr:last-child { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

.price-table td:last-child {
  text-align: right;
  color: var(--coral);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  padding: var(--space-4xl) 0 var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: var(--space-md); }
.footer-brand p { font-size: var(--text-sm); color: var(--ghost); }

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: var(--space-lg);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { font-size: var(--text-sm); color: var(--ghost); }
.footer-links a:hover { color: var(--coral); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--text-xs);
  color: var(--ghost);
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--night);
  border: 1px solid var(--steel);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: var(--shadow-glow-coral);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--cream);
  stroke-width: 2;
  fill: none;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* --- Compact Hero --- */
.hero-compact {
  min-height: auto;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
}

.hero-compact .hero-title { font-size: var(--text-3xl); }

/* --- Parallax Background (JS-based for mobile support) --- */
.parallax-wrapper {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 140%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translateY(0);
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 34, 0.7) 0%,
    rgba(12, 18, 34, 0.45) 30%,
    rgba(12, 18, 34, 0.45) 70%,
    rgba(12, 18, 34, 0.75) 100%
  );
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

/* Reduced motion preference - disable parallax movement */
@media (prefers-reduced-motion: reduce) {
  .parallax-bg {
    top: 0;
    height: 100%;
    transform: none !important;
  }
}

/* --- Reactor Core Parallax Hero --- */
.reactor-parallax {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, var(--night) 0%, var(--deep) 50%, var(--void) 100%);
  contain: layout paint;
}

.reactor-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
  contain: layout style;
}

/* Outer rings - largest, slowest rotation */
.reactor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

.reactor-ring-outer {
  width: min(900px, 130vw);
  height: min(900px, 130vw);
  border-color: rgba(224, 122, 95, 0.08);
  animation: reactor-rotate 120s linear infinite;
}

.reactor-ring-outer::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px dashed rgba(224, 122, 95, 0.12);
  animation: reactor-rotate-reverse 90s linear infinite;
}

.reactor-ring-outer-2 {
  width: min(750px, 110vw);
  height: min(750px, 110vw);
  border-color: rgba(94, 196, 182, 0.06);
  animation: reactor-rotate-reverse 100s linear infinite;
}

/* Middle rings - single animation for better compositing */
.reactor-ring-mid {
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  border-color: rgba(224, 122, 95, 0.15);
  box-shadow:
    0 0 60px rgba(224, 122, 95, 0.08),
    inset 0 0 60px rgba(224, 122, 95, 0.05);
  animation: reactor-rotate 60s linear infinite;
}

.reactor-ring-mid-2 {
  width: min(400px, 65vw);
  height: min(400px, 65vw);
  border-color: rgba(212, 165, 116, 0.12);
  animation: reactor-rotate-reverse 45s linear infinite;
}

/* Energy lines radiating from center */
.reactor-energy-lines {
  position: absolute;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background:
    repeating-conic-gradient(
      from 0deg,
      transparent 0deg,
      transparent 8deg,
      rgba(224, 122, 95, 0.03) 8deg,
      rgba(224, 122, 95, 0.03) 10deg
    );
  border-radius: 50%;
  animation: reactor-rotate 30s linear infinite;
  mask-image: radial-gradient(circle, transparent 20%, black 40%, black 60%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, transparent 20%, black 40%, black 60%, transparent 80%);
}

/* Inner core - single animation for better compositing */
.reactor-ring-inner {
  width: min(200px, 35vw);
  height: min(200px, 35vw);
  border-color: rgba(224, 122, 95, 0.25);
  box-shadow:
    0 0 80px rgba(224, 122, 95, 0.15),
    0 0 120px rgba(224, 122, 95, 0.1),
    inset 0 0 40px rgba(224, 122, 95, 0.1);
  animation: reactor-rotate 20s linear infinite;
}

.reactor-core-center {
  position: absolute;
  width: min(80px, 15vw);
  height: min(80px, 15vw);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(224, 122, 95, 0.4) 0%,
    rgba(224, 122, 95, 0.2) 40%,
    rgba(212, 165, 116, 0.1) 70%,
    transparent 100%
  );
  box-shadow:
    0 0 60px rgba(224, 122, 95, 0.3),
    0 0 100px rgba(224, 122, 95, 0.2),
    0 0 140px rgba(224, 122, 95, 0.1);
  animation: reactor-core-glow 4s ease-in-out infinite;
}

/* Pulse rings that expand outward */
.reactor-pulse {
  position: absolute;
  width: min(100px, 18vw);
  height: min(100px, 18vw);
  border-radius: 50%;
  border: 2px solid rgba(224, 122, 95, 0.3);
  animation: reactor-pulse-expand 4s ease-out infinite;
}

.reactor-pulse-2 {
  animation-delay: 2s;
}

/* Floating particles */
.reactor-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral), 0 0 20px rgba(224, 122, 95, 0.5);
  animation: reactor-particle-float 6s ease-in-out infinite, reactor-particle-glow 3s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.7;
}

.reactor-particle-teal {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal), 0 0 20px rgba(94, 196, 182, 0.5);
}

.reactor-particle-gold {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(212, 165, 116, 0.5);
}

/* Overlay gradient */
.reactor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 34, 0.5) 0%,
    rgba(12, 18, 34, 0.2) 30%,
    rgba(12, 18, 34, 0.2) 70%,
    rgba(12, 18, 34, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Content above reactor */
.reactor-content {
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes reactor-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes reactor-rotate-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes reactor-pulse-ring {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes reactor-pulse-expand {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(6);
    opacity: 0;
  }
}

@keyframes reactor-core-glow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes reactor-particle-float {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -15px);
  }
  50% {
    transform: translate(-5px, -25px);
  }
  75% {
    transform: translate(-15px, -10px);
  }
}

@keyframes reactor-particle-glow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reactor-ring,
  .reactor-energy-lines,
  .reactor-core-center,
  .reactor-pulse,
  .reactor-particle {
    animation: none !important;
  }

  .reactor-pulse {
    display: none;
  }
}

/* Mobile adjustments for reactor */
@media (max-width: 768px) {
  .reactor-layer {
    /* Position at top instead of stretching full container */
    bottom: auto;
    height: 100vh;
    min-height: 600px;
  }

  .reactor-ring-outer,
  .reactor-ring-outer-2 {
    opacity: 0.6;
  }

  .reactor-ring-mid,
  .reactor-ring-mid-2 {
    opacity: 0.8;
  }

  .reactor-ring-inner {
    opacity: 1;
  }

  .reactor-core-center {
    opacity: 1;
    /* Make it more visible on mobile */
    width: 60px;
    height: 60px;
    box-shadow:
      0 0 40px rgba(224, 122, 95, 0.4),
      0 0 80px rgba(224, 122, 95, 0.3),
      0 0 120px rgba(224, 122, 95, 0.2);
  }

  .reactor-energy-lines {
    opacity: 0.6;
  }

  .reactor-particle {
    opacity: 0.6;
  }

  .reactor-pulse {
    opacity: 0.8;
  }
}

/* --- Link Glow --- */
.link-glow {
  color: var(--coral);
  transition: color var(--duration-fast);
}

.link-glow:hover {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212, 165, 116, 0.4);
}

/* --- Highlight Box --- */
.highlight-box {
  background: linear-gradient(135deg, var(--coral-glow) 0%, transparent 100%);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-lg);
}

.highlight-box p {
  margin: 0;
  font-style: italic;
  color: var(--cream);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(12, 18, 34, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle { display: flex; }
  
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }
  
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .hero-hook {
    font-size: var(--text-xl);
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat-value {
    font-size: var(--text-lg);
  }

  .process-item {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .process-item:not(:last-child)::after { display: none; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  
  .footer-brand { max-width: none; }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Reduce hero-compact padding on mobile */
  .hero-compact {
    padding-top: calc(var(--nav-height) + var(--space-lg));
    padding-bottom: var(--space-md);
    min-height: auto;
  }

  /* Full-width parallax reactor core on mobile */
  .hero-compact .hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
  }

  .hero-compact .hero-bg .reactor-core {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%);
    width: 120vw !important;
    height: 120vw !important;
    opacity: 0.8;
    background: radial-gradient(circle at 40% 40%,
      rgba(224, 122, 95, 0.25) 0%,
      rgba(224, 122, 95, 0.12) 30%,
      rgba(212, 165, 116, 0.06) 50%,
      transparent 65%
    );
    animation: none;
  }

  .hero-compact .hero-bg .hero-shape {
    display: none;
  }

  .hero-compact .hero-subtitle {
    margin-bottom: 0;
  }

  /* Reduce section padding on mobile */
  .section {
    padding: var(--space-xl) 0;
  }

  /* Use mobile-optimized hero image */
  .parallax-bg {
    background-image: url('hero-mobile.jpg') !important;
  }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  padding: var(--space-md) var(--space-lg);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.consent-banner[hidden] {
  display: block;
  transform: translateY(100%);
}

.consent-banner.visible {
  transform: translateY(0);
}

.consent-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.consent-content p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.consent-content a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.consent-content a:hover {
  color: var(--coral-soft);
}

.consent-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.consent-btn {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.consent-btn-primary {
  background: var(--accent-primary);
  color: var(--void);
}

.consent-btn-primary:hover {
  background: var(--coral-soft);
}

.consent-btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--steel);
}

.consent-btn-secondary:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .consent-content {
    flex-direction: column;
    text-align: center;
  }

  .consent-buttons {
    width: 100%;
    justify-content: center;
  }
}
