/* ============================================
   SKWIK — FROSTED GLASS DESIGN SYSTEM
   ============================================ */

/* --- DESIGN TOKENS --- */
:root {
  --primary: #1a3a6e;
  --secondary: #0d6efd;
  --accent: #38bdf8;

  --primary-light: color-mix(in oklch, var(--primary), white 60%);
  --primary-xlight: color-mix(in oklch, var(--primary), white 85%);
  --primary-dark: color-mix(in oklch, var(--primary), black 30%);
  --secondary-light: color-mix(in oklch, var(--secondary), white 50%);
  --secondary-xlight: color-mix(in oklch, var(--secondary), white 80%);
  --secondary-dark: color-mix(in oklch, var(--secondary), black 20%);
  --accent-light: color-mix(in oklch, var(--accent), white 50%);
  --accent-dark: color-mix(in oklch, var(--accent), black 30%);

  --bg-base: #070f1f;
  --bg-mid: #0b1629;
  --bg-surface: color-mix(in oklch, var(--primary), black 55%);

  --text-primary: #e8edf7;
  --text-secondary: color-mix(in oklch, var(--text-primary), transparent 30%);
  --text-muted: color-mix(in oklch, var(--text-primary), transparent 50%);
  --text-dark: #0d1523;

  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-raised: rgba(255, 255, 255, 0.10);
  --glass-bg-inset: rgba(0, 0, 0, 0.20);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-strong: rgba(255, 255, 255, 0.20);

  --shadow-low: 0 2px 8px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.15);
  --shadow-mid: 0 8px 24px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.20), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-high: 0 20px 60px rgba(0,0,0,0.50), 0 8px 24px rgba(0,0,0,0.30), 0 0 0 1px rgba(255,255,255,0.08);
  --shadow-glow: 0 0 40px rgba(56,189,248,0.15), 0 0 80px rgba(13,110,253,0.10);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --nav-height-full: 88px;
  --nav-height-compact: 64px;

  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.45s ease;
}

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

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- ATOMIC SURFACE CLASSES --- */
.surface {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-mid);
}

.surface-raised {
  background: var(--glass-bg-raised);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-high);
}

.surface-inset {
  background: var(--glass-bg-inset);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 16px rgba(0,0,0,0.3);
}

/* --- TYPOGRAPHY CLASSES --- */
.text-display {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.text-body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
}

.text-caption {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- ACTION CLASSES --- */
.action-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--secondary), color-mix(in oklch, var(--secondary), var(--accent) 40%));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 16px rgba(13,110,253,0.35), 0 1px 4px rgba(0,0,0,0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,110,253,0.50), 0 2px 8px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, color-mix(in oklch, var(--secondary), white 10%), color-mix(in oklch, var(--accent), var(--secondary) 50%));
}

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border-strong);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.action-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* --- SPACING UTILITIES --- */
.space-section { padding: var(--space-2xl) 0; }
.space-card { padding: var(--space-lg); }

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: color-mix(in oklch, var(--accent), transparent 80%);
  border: 1px solid color-mix(in oklch, var(--accent), transparent 60%);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-intro {
  max-width: 640px;
  margin: var(--space-sm) auto 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.4rem 0;
  background: rgba(7, 15, 31, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.nav-root.nav-compact {
  padding: 0.75rem 0;
  background: rgba(7, 15, 31, 0.88);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-brand { flex-shrink: 0; }

.nav-logo {
  height: 38px;
  width: auto;
  transition: height var(--transition-base);
}

.nav-compact .nav-logo { height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }

.nav-cta { margin-left: var(--space-sm); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  z-index: 1000;
  background: color-mix(in oklch, var(--bg-mid), transparent 5%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-border);
  padding: var(--space-xl) var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-drawer.drawer-open { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: background var(--transition-fast);
}

.drawer-close:hover { background: var(--glass-bg-raised); }

.drawer-links { display: flex; flex-direction: column; gap: 0.25rem; margin-top: var(--space-xl); }

.drawer-link {
  display: block;
  padding: 0.85rem var(--space-sm);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.drawer-link:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.drawer-cta { margin-top: var(--space-sm); text-align: center; justify-content: center; }

.drawer-contact-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.drawer-contact-item:hover { color: var(--accent); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.drawer-overlay.overlay-visible {
  opacity: 1;
  pointer-events: all;
}

/* Page push effect */
.page-wrapper {
  transition: transform var(--transition-slow), scale var(--transition-slow);
  transform-origin: left center;
}

.page-wrapper.page-pushed {
  transform: translateX(-60px);
  scale: 0.95;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--nav-height-full) + var(--space-xl));
  padding-bottom: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in oklch, var(--primary), transparent 30%) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, color-mix(in oklch, var(--secondary), transparent 70%) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, color-mix(in oklch, var(--accent), transparent 85%) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-mid) 100%);
  z-index: 0;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: -100px;
  left: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: 100px;
  right: -50px;
  animation: orbFloat 16s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: orbFloat 10s ease-in-out infinite 3s;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(8px);
}

.hero-headline {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.headline-accent {
  background: linear-gradient(135deg, var(--accent), var(--secondary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-btn-primary { padding: 1rem 2.2rem; font-size: 1rem; }
.hero-btn-ghost { padding: 1rem 2rem; font-size: 1rem; }

/* STATS BAR */
.stats-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: var(--space-xl);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-md) 0;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  min-width: 200px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--accent), transparent 80%);
  border: 1px solid color-mix(in oklch, var(--accent), transparent 60%);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-text { display: flex; flex-direction: column; gap: 0.15rem; }

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
  flex-shrink: 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-base) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-sm);
}

.feature-card {
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-high), var(--shadow-glow);
}

.feature-card-large {
  grid-column: span 7;
}

.feature-card:nth-child(2) { grid-column: span 5; }
.feature-card:nth-child(3) { grid-column: span 5; }
.feature-card:nth-child(4) { grid-column: span 7; }
.feature-card-wide { grid-column: span 12; }

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in oklch, var(--secondary), transparent 70%), color-mix(in oklch, var(--accent), transparent 75%));
  border: 1px solid color-mix(in oklch, var(--accent), transparent 55%);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px rgba(56,189,248,0.2);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-sm);
}

.feature-tag-item {
  padding: 0.25rem 0.75rem;
  background: color-mix(in oklch, var(--primary), transparent 50%);
  border: 1px solid color-mix(in oklch, var(--primary-light), transparent 50%);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-light);
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  position: relative;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, color-mix(in oklch, var(--primary), transparent 50%) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 30%, color-mix(in oklch, var(--secondary), transparent 75%) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-base) 0%, color-mix(in oklch, var(--bg-mid), var(--primary) 20%) 100%);
  z-index: 0;
}

.why-section .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.why-card {
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.12);
}

.why-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in oklch, var(--secondary), transparent 60%), color-mix(in oklch, var(--accent), transparent 65%));
  border: 1px solid color-mix(in oklch, var(--accent), transparent 50%);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 16px rgba(56,189,248,0.25);
}

.why-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

/* ============================================
   MODULES SECTION
   ============================================ */
.modules-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-mid) 100%);
}

.modules-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.module-item {
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.module-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}

.module-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: color-mix(in oklch, var(--accent), transparent 60%);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.module-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.module-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: var(--space-sm);
}

.module-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.module-features li i {
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   GDPR SECTION
   ============================================ */
.gdpr-section {
  position: relative;
  overflow: hidden;
}

.gdpr-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, color-mix(in oklch, var(--accent), transparent 82%) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 30%, color-mix(in oklch, var(--secondary), transparent 78%) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-base) 100%);
  z-index: 0;
}

.gdpr-section .container { position: relative; z-index: 1; }

.gdpr-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.gdpr-text-col .section-tag { display: inline-flex; }
.gdpr-text-col .section-title { text-align: left; margin-bottom: var(--space-md); }
.gdpr-text-col .text-body { margin-bottom: var(--space-sm); }

.gdpr-cards-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.gdpr-card {
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gdpr-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-high);
}

.gdpr-card-icon {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.gdpr-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-mid) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.process-step {
  position: relative;
}

.step-connector {
  display: none;
}

.step-card {
  padding: var(--space-lg);
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-high), var(--shadow-glow);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: color-mix(in oklch, var(--secondary), transparent 40%);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, color-mix(in oklch, var(--primary), transparent 45%) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 70%, color-mix(in oklch, var(--secondary), transparent 75%) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-base) 100%);
  z-index: 0;
}

.contact-section .container { position: relative; z-index: 1; }

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

/* Chat Form */
.chat-form-wrapper {
  overflow: hidden;
  padding: 0;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--glass-border);
}

.chat-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chat-header-text { display: flex; flex-direction: column; }
.chat-name { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.chat-status { font-size: 0.78rem; color: var(--accent); }

.chat-form { padding: var(--space-lg); }

.chat-messages { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-md); }

.chat-bubble-question {
  align-self: flex-start;
  max-width: 85%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
}

.chat-bubble-question p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.chat-bubble-answer {
  align-self: flex-end;
  width: 100%;
  max-width: 90%;
}

.chat-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.chat-input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

.chat-input::placeholder { color: var(--text-muted); }

.chat-textarea { resize: vertical; min-height: 100px; }

.chat-privacy-row { margin-top: 0.5rem; }

.chat-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.chat-privacy-label a { color: var(--accent); text-decoration: underline; }

.chat-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.chat-send-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Contact Info */
.contact-info-card {
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--glass-border);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item > i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--accent), transparent 80%);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info-item strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-item span,
.contact-info-item a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.contact-info-item a:hover { color: var(--accent); }

.map-wrapper {
  overflow: hidden;
  padding: 0;
}

.map-wrapper iframe {
  display: block;
  filter: brightness(0.8) saturate(0.8) hue-rotate(200deg);
  border-radius: var(--radius-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-base) 0%, color-mix(in oklch, var(--bg-base), var(--primary) 15%) 100%);
  border-top: 1px solid var(--glass-border);
  z-index: 0;
}

.site-footer .container { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: var(--space-lg);
}

.footer-logo { height: 36px; margin-bottom: var(--space-sm); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-address {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 2;
}

.footer-address a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-address a:hover { color: var(--accent); }

.footer-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer-nav-list { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover { color: var(--accent); }

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

.footer-copy, .footer-gdpr-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   COOKIE CONSENT — BELL/SHIELD ICON
   ============================================ */
.cookie-bell-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(13,110,253,0.45), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.2);
}

.cookie-bell-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(13,110,253,0.6), 0 4px 12px rgba(0,0,0,0.3);
}

.cookie-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  animation: badgePulse 2s ease-in-out infinite;
}

.cookie-badge.badge-hidden { display: none; }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.cookie-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 801;
  width: min(360px, calc(100vw - 32px));
  background: color-mix(in oklch, var(--bg-mid), transparent 5%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-high);
  padding: var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.cookie-panel.panel-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.cookie-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-panel-title i { color: var(--accent); }

.cookie-panel-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.cookie-panel-close:hover { background: var(--glass-bg-raised); color: var(--text-primary); }

.cookie-panel-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.cookie-toggles { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: var(--space-md); }

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cookie-toggle-row:last-child { border-bottom: none; }

.cookie-toggle-info { display: flex; flex-direction: column; gap: 0.15rem; }

.cookie-toggle-info strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cookie-toggle-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-toggle-locked {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  transition: background var(--transition-base);
}

.toggle-track::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-base);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-track {
  background: var(--secondary);
  border-color: var(--secondary-light);
}

.toggle-switch input:checked + .toggle-track::before { transform: translateX(20px); }

.cookie-panel-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.cookie-btn-reject { flex: 1; justify-content: center; padding: 0.65rem 1rem; font-size: 0.875rem; }
.cookie-btn-accept { flex: 1; justify-content: center; padding: 0.65rem 1rem; font-size: 0.875rem; }

.cookie-panel-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.cookie-panel-legal a { color: var(--accent); }

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
}

.legal-hero {
  padding: calc(var(--nav-height-full) + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--glass-border);
}

.legal-hero-tag { margin-bottom: var(--space-sm); }

.legal-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.legal-hero-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content-area {
  flex: 1;
  padding: var(--space-xl) 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Sticky TOC */
.legal-toc {
  position: sticky;
  top: calc(var(--nav-height-compact) + var(--space-md));
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}

.legal-toc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.toc-list { display: flex; flex-direction: column; gap: 0.2rem; }

.toc-link {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  line-height: 1.4;
}

.toc-link:hover { color: var(--text-secondary); background: var(--glass-bg); }
.toc-link.toc-active { color: var(--accent); border-left-color: var(--accent); background: color-mix(in oklch, var(--accent), transparent 90%); }

/* Mobile TOC dropdown */
.legal-toc-mobile {
  display: none;
  margin-bottom: var(--space-lg);
}

.toc-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toc-mobile-toggle:hover { background: var(--glass-bg-raised); }

.toc-mobile-list {
  display: none;
  padding: var(--space-sm);
  background: var(--glass-bg-inset);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.toc-mobile-list.toc-mobile-open { display: block; }

.toc-mobile-list .toc-link { font-size: 0.9rem; padding: 0.5rem 0.75rem; }

/* Legal Content */
.legal-doc { max-width: 760px; }

.legal-section { margin-bottom: var(--space-xl); }

.legal-section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--glass-border);
}

.legal-section-subheading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  margin-top: var(--space-md);
}

.legal-doc p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-doc ul, .legal-doc ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }

.legal-doc li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.35rem;
}

.legal-doc a { color: var(--accent); text-decoration: underline; }
.legal-doc a:hover { color: var(--accent-light); }

.legal-highlight {
  padding: var(--space-md);
  background: color-mix(in oklch, var(--accent), transparent 90%);
  border: 1px solid color-mix(in oklch, var(--accent), transparent 70%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.legal-highlight p { color: var(--text-primary); margin-bottom: 0; font-size: 0.9rem; }

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height-full) + var(--space-xl)) 0 var(--space-2xl);
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, color-mix(in oklch, var(--secondary), transparent 40%) 0%, transparent 70%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-mid) 50%, color-mix(in oklch, var(--accent), var(--bg-base) 70%) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thanks-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 30% 70%, color-mix(in oklch, var(--accent), transparent 80%) 0%, transparent 60%);
}

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

.thanks-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  margin: 0 auto var(--space-md);
}

.thanks-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.thanks-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto;
}

.thanks-body {
  padding: var(--space-2xl) 0;
  background: var(--bg-base);
  text-align: center;
}

.thanks-next-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.thanks-steps {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.thanks-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.thanks-step i { color: var(--accent); }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large,
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card-wide { grid-column: span 1; }

  .gdpr-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
  .gdpr-text-col .section-title { text-align: center; }
  .gdpr-text-col .section-tag { display: flex; justify-content: center; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: span 2; }

  .legal-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .stats-inner { flex-direction: column; gap: var(--space-sm); }
  .stat-divider { width: 100%; height: 1px; }
  .stat-item { min-width: unset; width: 100%; }

  .why-grid { grid-template-columns: 1fr; }
  .modules-layout { grid-template-columns: 1fr; }
  .module-item { flex-direction: column; gap: var(--space-sm); }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }

  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .legal-toc-mobile { display: block; }

  .thanks-steps { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-btn-primary, .hero-btn-ghost { justify-content: center; }

  .process-steps { grid-template-columns: 1fr; }

  .cookie-panel {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: 80px;
  }

  .cookie-bell-btn { bottom: 16px; right: 16px; }

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-aos] { will-change: transform, opacity; }

/* ============================================
   SELECTION & FOCUS
   ============================================ */
::selection {
  background: color-mix(in oklch, var(--accent), transparent 60%);
  color: var(--text-primary);
}

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

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--primary), white 30%);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }