/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ===== VARIABLES ===== */
:root {
  --bg:          #060E16;
  --bg-1:        #0D1B2A;
  --bg-2:        #0F2236;
  --glass:       rgba(255,255,255,0.04);
  --glass-h:     rgba(255,255,255,0.075);
  --border:      rgba(255,255,255,0.07);
  --border-h:    rgba(255,255,255,0.14);
  --accent:      #2B81D6;
  --accent-dim:  rgba(43,129,214,0.12);
  --accent-glow: rgba(43,129,214,0.28);
  --teal:        #1DC8A8;
  --teal-dim:    rgba(29,200,168,0.12);
  --text:        #DDE6F0;
  --text-m:      #5B7A94;
  --text-f:      #1E3448;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 40px; --r-2xl: 56px;
  --ease:        cubic-bezier(0.32, 0.72, 0, 1);
  --ease-sp:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --fast: 200ms; --mid: 450ms; --slow: 700ms;
}

[data-theme="light"] {
  --bg:          #EDF1F8;
  --bg-1:        #FFFFFF;
  --bg-2:        #E3EAF4;
  --glass:       rgba(255,255,255,0.7);
  --glass-h:     rgba(255,255,255,0.92);
  --border:      rgba(0,0,0,0.07);
  --border-h:    rgba(0,0,0,0.14);
  --accent-dim:  rgba(43,129,214,0.09);
  --accent-glow: rgba(43,129,214,0.2);
  --teal-dim:    rgba(29,200,168,0.1);
  --text:        #0D1B2A;
  --text-m:      #4A6478;
  --text-f:      #96AABF;
}

/* ===== BASE ===== */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fixed noise grain */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1000;
  pointer-events: none; opacity: 0.022;
  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");
  background-size: 180px 180px;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  z-index: 999; border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(43,129,214,0.22);
  border-radius: 100px; padding: 5px 14px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 20px;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

.grad-text {
  background: linear-gradient(135deg, #DCE8F5 0%, #7BBEFF 45%, var(--teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="light"] .grad-text {
  background: linear-gradient(135deg, #0D1B2A 0%, var(--accent) 55%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-size: 0.9375rem; font-weight: 600;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 1px rgba(43,129,214,0.3), 0 8px 32px rgba(43,129,214,0.32);
}
.btn-primary:hover {
  background: #3892E8;
  box-shadow: 0 0 0 1px rgba(43,129,214,0.4), 0 14px 44px rgba(43,129,214,0.42);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass); border: 1px solid var(--border);
  color: var(--text); backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--glass-h); border-color: var(--border-h);
  transform: translateY(-1px);
}

.btn-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.9rem;
  transition: transform var(--fast) var(--ease-sp), background var(--fast);
}
.btn-primary:hover .btn-icon,
.btn-ghost:hover .btn-icon { transform: translate(2px,-2px) scale(1.08); }
.btn-primary .btn-icon { background: rgba(255,255,255,0.15); }

/* ===== NAVBAR ===== */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; display: flex; justify-content: center;
  padding: 20px 24px; pointer-events: none;
}
.navbar-pill {
  display: flex; align-items: center; gap: 28px;
  background: rgba(6,14,22,0.76);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 8px 8px 20px;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  pointer-events: all;
  transition: background var(--mid), border-color var(--mid);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
[data-theme="light"] .navbar-pill { background: rgba(255,255,255,0.86); }

/* ===== LIGHT MODE OVERRIDES ===== */
/* Device mockup */
[data-theme="light"] .device-frame {
  background: linear-gradient(180deg, #C4D4E3 0%, #A8BDD0 100%);
  border-color: rgba(0,0,0,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 0 0 1px rgba(0,0,0,0.06),
    0 40px 80px rgba(0,0,0,0.14),
    0 0 60px rgba(43,129,214,0.07);
}
[data-theme="light"] .device-chrome {
  background: #B0C8DC;
  border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .device-url {
  background: rgba(255,255,255,0.45);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .device-glow {
  background: radial-gradient(ellipse, rgba(43,129,214,0.12) 0%, transparent 70%);
}
/* Card inner highlights → subtle shadow instead of white glow */
[data-theme="light"] .feature-card-inner,
[data-theme="light"] .pricing-card-inner,
[data-theme="light"] .form-inner {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo-name { font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.02em; }
.nav-logo-sub { font-size: 0.6875rem; color: var(--text-m); letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 7px 13px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-m);
  transition: color var(--fast), background var(--fast);
}
.nav-link:hover { color: var(--text); background: var(--glass); }
.nav-link.active { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.theme-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-m); font-size: 1rem;
  transition: color var(--fast), background var(--fast), border-color var(--fast);
}
.theme-btn:hover { color: var(--text); background: var(--glass-h); border-color: var(--border-h); }

/* ===== HAMBURGER ===== */
.nav-hamburger {
  display: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--border);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; position: relative;
}
.ham-line {
  display: block; width: 16px; height: 1.5px;
  background: var(--text); border-radius: 2px; position: absolute;
  transition: transform var(--mid) var(--ease), opacity var(--fast);
}
.ham-line:nth-child(1) { transform: translateY(-4px); }
.ham-line:nth-child(3) { transform: translateY(4px); }
.nav-hamburger[aria-expanded="true"] .ham-line:nth-child(1) { transform: translateY(0) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] .ham-line:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
#mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(4,9,16,0.96);
  backdrop-filter: blur(36px); -webkit-backdrop-filter: blur(36px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity var(--mid) var(--ease);
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
[data-theme="light"] #mobile-menu { background: rgba(237,241,248,0.96); }

.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-nav-link {
  font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
  padding: 8px 24px; border-radius: var(--r-md);
  opacity: 0; transform: translateY(28px);
  transition: color var(--fast), opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.mobile-nav-link:hover { color: var(--accent); }
#mobile-menu.open .mobile-nav-link { opacity: 1; transform: translateY(0); }
#mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 50ms; }
#mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 90ms; }
#mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 130ms; }
#mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 170ms; }
#mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay: 210ms; }
#mobile-menu.open .mobile-nav-link:nth-child(6) { transition-delay: 250ms; }

.mobile-cta {
  margin-top: 40px; opacity: 0; transform: translateY(16px);
  transition: opacity var(--slow) var(--ease) 280ms, transform var(--slow) var(--ease) 280ms;
}
#mobile-menu.open .mobile-cta { opacity: 1; transform: translateY(0); }

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0; transform: translateY(36px); filter: blur(4px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease), filter var(--slow) var(--ease);
}
[data-reveal="left"]  { transform: translateX(-36px) translateY(0); }
[data-reveal="right"] { transform: translateX(36px) translateY(0); }
[data-reveal="scale"] { transform: scale(0.95) translateY(20px); }
[data-reveal].revealed {
  opacity: 1; transform: translateY(0) translateX(0) scale(1); filter: blur(0);
}

/* ===== HERO ===== */
#hero {
  min-height: 100dvh; display: flex; flex-direction: column;
  justify-content: center; padding: 130px 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
[data-theme="light"] .hero-grid { background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px); }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px; top: -250px; left: -150px;
  background: radial-gradient(circle, rgba(43,129,214,0.16) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 550px; height: 550px; bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(29,200,168,0.11) 0%, transparent 70%);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.hero-content { max-width: 560px; }
.hero-headline { margin-bottom: 24px; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--text-m); line-height: 1.75; margin-bottom: 40px; max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 1.875rem; font-weight: 800; letter-spacing: -0.035em;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 0.8125rem; color: var(--text-m); margin-top: 4px; }

/* ===== 3D DEVICE MOCKUP ===== */
.hero-device { perspective: 1400px; display: flex; justify-content: center; position: relative; }
.device-wrapper {
  transform: rotateX(6deg) rotateY(-14deg) rotateZ(1.5deg);
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.device-glow {
  position: absolute; bottom: -40px; left: 10%; right: 10%; height: 100px;
  background: radial-gradient(ellipse, rgba(43,129,214,0.35) 0%, transparent 70%);
  filter: blur(24px); pointer-events: none;
}
.device-frame {
  background: linear-gradient(180deg, #142336 0%, #0A1622 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 0 1px rgba(0,0,0,0.4),
    0 40px 80px rgba(0,0,0,0.7),
    0 0 100px rgba(43,129,214,0.1);
}
.device-chrome {
  background: #091420; border-radius: 8px 8px 0 0;
  padding: 10px 16px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.device-dots { display: flex; gap: 6px; }
.device-dot { width: 10px; height: 10px; border-radius: 50%; }
.device-dot:nth-child(1) { background: #FF5F57; }
.device-dot:nth-child(2) { background: #FEBC2E; }
.device-dot:nth-child(3) { background: #28C840; }
.device-url {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px; padding: 4px 12px;
  font-size: 11px; color: var(--text-m);
  font-family: 'SF Mono', 'Fira Code', monospace; text-align: center;
}
.device-screen { border-radius: 0 0 8px 8px; overflow: hidden; line-height: 0; }
.device-screen img { width: 100%; max-width: 560px; display: block; }

/* ===== TRUST BAR ===== */
#trust { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-size: 0.75rem; color: var(--text-f); text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap; }
.trust-items { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-m); font-weight: 500; }
.trust-item i { color: var(--teal); font-size: 1.125rem; }

/* ===== FEATURES ===== */
#features { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-header p {
  font-size: 1.0625rem; color: var(--text-m);
  max-width: 520px; margin: 16px auto 0; line-height: 1.75;
}

.features-bento {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px;
}
.feature-card:nth-child(1)  { grid-column: span 4; }
.feature-card:nth-child(2)  { grid-column: span 8; }
.feature-card:nth-child(3)  { grid-column: span 5; }
.feature-card:nth-child(4)  { grid-column: span 3; }
.feature-card:nth-child(5)  { grid-column: span 4; }
.feature-card:nth-child(6)  { grid-column: span 4; }
.feature-card:nth-child(7)  { grid-column: span 4; }
.feature-card:nth-child(8)  { grid-column: span 4; }
.feature-card:nth-child(9)  { grid-column: span 7; }
.feature-card:nth-child(10) { grid-column: span 5; }
.feature-card:nth-child(11) { grid-column: span 4; }
.feature-card:nth-child(12) { grid-column: span 4; }
.feature-card:nth-child(13) { grid-column: span 4; }
.feature-card:nth-child(14) { grid-column: span 12; }

/* Double-bezel */
.feature-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2px;
  transition: border-color var(--fast), transform var(--mid) var(--ease);
}
.feature-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.feature-card-inner {
  background: var(--bg-1); border-radius: calc(var(--r-lg) - 2px);
  padding: 28px; height: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
  display: flex; flex-direction: column; gap: 14px;
}

/* Wide card (2nd) */
.feature-card:nth-child(2) .feature-card-inner {
  flex-direction: row; align-items: flex-start; gap: 28px;
}
.feature-card:nth-child(2) .feature-content { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.feature-card:nth-child(2) .feature-shot {
  width: 260px; flex-shrink: 0; border-radius: var(--r-sm);
  overflow: hidden; border: 1px solid var(--border);
  align-self: center; opacity: 0.85;
  transition: opacity var(--fast), transform var(--mid) var(--ease);
}
.feature-card:nth-child(2):hover .feature-shot { opacity: 1; transform: scale(1.02); }
.feature-card:nth-child(2) .feature-shot img { width: 100%; display: block; }

/* Wide card (9th) – green highlight */
.feature-card:nth-child(9) {
  background: linear-gradient(135deg, rgba(29,200,168,0.07) 0%, var(--glass) 100%);
  border-color: rgba(29,200,168,0.18);
}
.feature-card:nth-child(9):hover { border-color: rgba(29,200,168,0.32); }

.feature-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--accent-dim); border: 1px solid rgba(43,129,214,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent); font-size: 1.25rem;
}
.feature-card:nth-child(9) .feature-icon,
.feature-card:nth-child(10) .feature-icon {
  background: var(--teal-dim); border-color: rgba(29,200,168,0.2); color: var(--teal);
}
.feature-card h3 { font-size: 1.0625rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-m); line-height: 1.65; }

/* ===== DEMO / SCREENSHOTS ===== */
#demo { padding: 120px 0; background: var(--bg-1); }

.demo-tabs {
  display: flex; align-items: center; gap: 4px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px;
  width: fit-content; margin: 0 auto 56px;
}
.demo-tab {
  padding: 8px 22px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600; color: var(--text-m);
  transition: all var(--fast) var(--ease);
}
.demo-tab.active { background: var(--accent); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.demo-tab:not(.active):hover { color: var(--text); background: var(--glass-h); }

.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* Slider */
.slider-outer { position: relative; padding: 0 60px; }
.slider-track { overflow: hidden; border-radius: var(--r-lg); }
.slider-container { display: flex; transition: transform var(--slow) var(--ease); will-change: transform; }
.slide { min-width: 100%; }
.slide-frame {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 8px;
}
.slide-chrome {
  background: #091420; border-radius: var(--r-sm) var(--r-sm) 0 0;
  padding: 10px 16px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
[data-theme="light"] .slide-chrome { background: #D8E2F0; }
.slide-d { display: flex; gap: 6px; }
.slide-d span { width: 8px; height: 8px; border-radius: 50%; }
.slide-d span:nth-child(1) { background: #FF5F57; }
.slide-d span:nth-child(2) { background: #FEBC2E; }
.slide-d span:nth-child(3) { background: #28C840; }
.slide-name { font-size: 11px; color: var(--text-m); font-weight: 600; }
.slide img { width: 100%; display: block; border-radius: 0 0 calc(var(--r-sm) - 2px) calc(var(--r-sm) - 2px); }

.slide-caption { text-align: center; margin-top: 20px; font-size: 0.8125rem; color: var(--text-m); }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-1); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 1.25rem; z-index: 2;
  transition: background var(--fast), border-color var(--fast), transform var(--fast) var(--ease-sp);
}
.slider-btn:hover { background: var(--glass-h); border-color: var(--border-h); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.sdot {
  height: 6px; width: 6px; border-radius: 3px;
  background: var(--text-f);
  transition: width var(--fast) var(--ease), background var(--fast);
}
.sdot.active { width: 24px; background: var(--accent); }

/* Videos grid */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2px; overflow: hidden;
  transition: border-color var(--fast), transform var(--mid) var(--ease);
}
.video-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.video-card-inner { border-radius: calc(var(--r-lg) - 2px); overflow: hidden; }
.video-card video {
  width: 100%; display: block; max-height: 200px; object-fit: cover;
  border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0;
}
.video-card-label {
  padding: 16px 20px; font-size: 0.875rem; font-weight: 600;
  background: var(--bg-1); border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.video-card-label i { color: var(--accent); }
.video-card-sub { font-size: 0.75rem; color: var(--text-m); font-weight: 400; margin-top: 2px; }

/* ===== PRICING ===== */
#pricing { padding: 120px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }

.pricing-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2px;
  transition: border-color var(--fast), transform var(--mid) var(--ease);
}
.pricing-card:hover { border-color: var(--border-h); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: rgba(43,129,214,0.38);
  background: linear-gradient(180deg, rgba(43,129,214,0.07) 0%, var(--glass) 60%);
}
.pricing-card-inner {
  background: var(--bg-1); border-radius: calc(var(--r-lg) - 2px);
  padding: 28px; height: 100%; display: flex; flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
}
.pricing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); border: 1px solid rgba(43,129,214,0.2);
  border-radius: 100px; padding: 3px 10px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent); margin-bottom: 20px;
  width: fit-content;
}
.pricing-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--accent-dim); border: 1px solid rgba(43,129,214,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.125rem; margin-bottom: 20px;
}
.pricing-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { font-size: 0.8125rem; color: var(--text-m); line-height: 1.65; margin-bottom: 20px; }
.pricing-price {
  font-size: 2.125rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sub { font-size: 0.9rem; font-weight: 600; color: var(--text-m); letter-spacing: 0; vertical-align: baseline; }
.pricing-note { font-size: 0.75rem; color: var(--text-m); margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }
.pricing-features { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pricing-feat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.8125rem; color: var(--text-m); line-height: 1.5;
}
.pricing-feat i { color: var(--teal); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ===== CONTACT ===== */
#contact { padding: 120px 0; background: var(--bg-1); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.contact-info { position: sticky; top: 100px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: 1.0625rem; color: var(--text-m); line-height: 1.75; margin-bottom: 40px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-md); color: var(--text);
  transition: border-color var(--fast), background var(--fast), transform var(--fast) var(--ease);
}
.contact-method:hover { border-color: var(--border-h); background: var(--glass-h); transform: translateX(4px); }
.cm-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--accent-dim); border: 1px solid rgba(43,129,214,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.125rem; flex-shrink: 0;
}
.cm-icon.wa { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.2); color: #25D366; }
.cm-label { font-size: 0.75rem; color: var(--text-m); letter-spacing: 0.04em; }
.cm-value { font-size: 0.9375rem; font-weight: 600; }

/* Form */
.form-wrap { background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2px; }
.form-inner {
  background: var(--bg-1); border-radius: calc(var(--r-xl) - 2px);
  padding: 40px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 24px; }
.form-label { font-size: 0.8125rem; font-weight: 700; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.07em; }
.form-input {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 13px 16px; color: var(--text);
  font-size: 0.9375rem; outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.form-input:focus { border-color: rgba(43,129,214,0.5); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-input::placeholder { color: var(--text-f); }
textarea.form-input { resize: vertical; min-height: 130px; }

.form-notice { font-size: 0.75rem; color: var(--text-m); margin-bottom: 20px; line-height: 1.6; }
.form-notice a { color: var(--accent); }
.form-notice a:hover { text-decoration: underline; }
.form-input.input-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.field-error { font-size: 0.75rem; color: #ef4444; font-weight: 500; margin-top: -4px; }

/* ===== FOOTER ===== */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 30px; }
.footer-logo-name { font-size: 1rem; font-weight: 800; }
.footer-tagline { font-size: 0.875rem; color: var(--text-m); line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.footer-heading { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-m); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 0.875rem; color: var(--text-m); transition: color var(--fast); }
.footer-link:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border); gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 0.8125rem; color: var(--text-f); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8125rem; color: var(--text-m); transition: color var(--fast); }
.footer-legal a:hover { color: var(--text); }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(140px);
  z-index: 300; width: calc(100% - 48px); max-width: 640px;
  background: rgba(9,18,28,0.94);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  padding: 20px 24px; display: flex; align-items: center; gap: 20px;
  opacity: 0; pointer-events: none;
  transition: transform var(--slow) var(--ease-sp), opacity var(--slow) var(--ease);
}
#cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: all; }
[data-theme="light"] #cookie-banner { background: rgba(255,255,255,0.94); }
.ck-text { font-size: 0.875rem; color: var(--text-m); flex: 1; line-height: 1.55; }
.ck-text a { color: var(--accent); }
.ck-actions { display: flex; gap: 8px; flex-shrink: 0; }
.ck-accept {
  padding: 9px 20px; border-radius: 100px; background: var(--accent); color: #fff;
  font-size: 0.8125rem; font-weight: 700; transition: background var(--fast);
}
.ck-accept:hover { background: #3892E8; }
.ck-reject {
  padding: 9px 16px; border-radius: 100px; background: var(--glass);
  border: 1px solid var(--border); color: var(--text-m);
  font-size: 0.8125rem; font-weight: 600;
  transition: color var(--fast), background var(--fast);
}
.ck-reject:hover { color: var(--text); background: var(--glass-h); }

/* ===== FLOATING CTA ===== */
.floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 150; display: flex; flex-direction: column; gap: 8px; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  transition: transform var(--fast) var(--ease-sp), box-shadow var(--fast);
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.wa { background: #25D366; color: #fff; }
.float-btn.wa:hover { box-shadow: 0 8px 28px rgba(37,211,102,0.42); }
.float-btn.mail { background: var(--accent); color: #fff; }
.float-btn.mail:hover { box-shadow: 0 8px 28px rgba(43,129,214,0.42); }
.float-label {
  position: absolute; right: 60px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity var(--fast), transform var(--fast) var(--ease);
}
.float-btn:hover .float-label { opacity: 1; transform: translateX(0); }

/* ===== LEGAL PAGES ===== */
.legal-hero { padding: 140px 0 60px; }
.legal-content { padding: 0 0 100px; }
.legal-container { max-width: 48rem; margin: 0 auto; }
.legal-section { margin-bottom: 2.5rem; scroll-margin-top: 100px; }
.legal-section h2 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.legal-section h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 0.5rem; }
.legal-section p { font-size: 0.9375rem; line-height: 1.75; color: var(--text-m); margin-bottom: 0.75rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--accent); }
.legal-section a:hover { text-decoration: underline; }
.legal-section address { font-style: normal; font-size: 0.9375rem; line-height: 1.75; color: var(--text-m); }
.legal-section ul { padding: 0; margin: 0.5rem 0 0.75rem; display: flex; flex-direction: column; gap: 4px; }
.legal-section ul li {
  font-size: 0.9375rem; line-height: 1.75; color: var(--text-m);
  padding-left: 1.25rem; position: relative;
}
.legal-section ul li::before {
  content: ''; position: absolute; left: 0; top: 0.75em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.legal-toc {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1.5rem; margin-bottom: 3rem;
}
.legal-toc-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-m); margin-bottom: 1rem; }
.legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 2rem; }
@media (max-width: 480px) { .legal-toc ol { grid-template-columns: 1fr; } }
.legal-toc a { font-size: 0.875rem; color: var(--text-m); display: flex; gap: 8px; align-items: flex-start; transition: color var(--fast); }
.legal-toc a:hover { color: var(--accent); }
.toc-n { font-size: 0.75rem; font-weight: 700; color: var(--accent); min-width: 1.25rem; }
.rights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 10px; margin-top: 1rem; }
.rights-item { background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 1rem 1.25rem; }
.rights-item strong { display: block; font-size: 0.875rem; font-weight: 700; margin-bottom: 3px; }
.rights-item span { font-size: 0.8125rem; color: var(--text-m); line-height: 1.5; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .features-bento { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(n) { grid-column: span 1; }
  .feature-card:nth-child(2) { grid-column: span 2; }
  .feature-card:nth-child(9) { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-content { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .navbar-pill { padding: 8px 8px 8px 16px; gap: 16px; }
  .features-bento { grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { grid-column: span 1; }
  .feature-card:nth-child(2) .feature-card-inner { flex-direction: column; }
  .feature-card:nth-child(2) .feature-shot { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .slider-outer { padding: 0 48px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .slider-outer { padding: 0 36px; }
  .slider-btn { width: 36px; height: 36px; font-size: 1rem; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .form-inner { padding: 24px; }
  .ls-mini-grid { grid-template-columns: 1fr; }
}

/* ===== LEISTUNGEN PAGE LAYOUT ===== */
.ls-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ls-section--rtl { direction: rtl; }
.ls-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 820px) {
  .ls-section {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
    margin-bottom: 64px !important;
  }
}

/* ===== TOUCH TARGETS ===== */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav-link { min-height: 44px; display: flex; align-items: center; }
  .mobile-nav-link { min-height: 48px; }
  .mobile-cta { min-height: 48px; }
  .theme-btn { min-width: 44px; min-height: 44px; }
}

/* ===== LANDSCAPE (Smartphone quer) ===== */
@media (max-height: 500px) and (orientation: landscape) {
  #hero { min-height: auto; padding: 100px 0 56px; }
  .hero-inner { gap: 32px; }
  nav#navbar { padding: 10px 24px; }
}
