/* ============================================================
   LiveWidgets Landing – Apple-inspired design
   ============================================================ */

/* Self-hosted Inter font (no Google CDN — DSGVO-konform) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --blue: #2563EB;
  --blue-light: #60A5FA;
  --green: #10B981;
  --yellow: #F59E0B;
  --pink: #EC4899;
  --red: #EF4444;

  --bg: #06060A;
  --bg-card: #0E0E16;
  --bg-card-2: #141420;
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(124,58,237,0.3);

  --text: #F0F0F6;
  --text-muted: #8888A8;
  --text-dim: #7070A0;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;

  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-card: 0 0 0 1px var(--border), 0 16px 48px rgba(0,0,0,0.4);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Container ──────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--purple-light); }
.green { color: var(--green); }
.dim { color: var(--text-dim); }

code, .code-inline {
  font-family: 'SF Mono', 'Fira Code', monospace;
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 4px 24px rgba(124,58,237,0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 8px 32px rgba(124,58,237,0.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-white {
  background: #fff !important;
  color: #111 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3) !important;
}
.btn-white:hover {
  background: #f0f0f0 !important;
  transform: translateY(-1px) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

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

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 20px;
  background: rgba(6, 6, 10, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

/* ── Section shared ─────────────────────────────────── */
.section { padding: 120px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Animations (reveal on scroll) ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero-glow-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: glow-pulse 6s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  opacity: 0.2;
  animation: glow-pulse 8s ease-in-out infinite alternate-reverse;
}

@keyframes glow-pulse {
  from { opacity: 0.25; transform: translateX(-50%) scale(1); }
  to   { opacity: 0.45; transform: translateX(-50%) scale(1.1); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: hero-fade-up 0.8s 0.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50% { box-shadow: 0 0 14px var(--green); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
  opacity: 0;
  animation: hero-fade-up 0.9s 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: hero-fade-up 0.9s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-fade-up 0.9s 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(24px); }
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  opacity: 0;
  animation: hero-fade-up 0.9s 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Mockup */
.hero-mockup-wrap {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  opacity: 0;
  animation: hero-fade-up 1.1s 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 120px rgba(0,0,0,0.7),
    0 0 80px rgba(124,58,237,0.12);
  max-width: 860px;
  margin: 0 auto;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }
.mockup-url {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: monospace;
  flex: 1;
  max-width: 280px;
  margin: 0 auto;
}

.mockup-content {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.mockup-sidebar {
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  background: rgba(255,255,255,0.01);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  cursor: default;
}
.mockup-nav-item.active {
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
}
.mockup-icon { font-size: 1rem; }

.mockup-main {
  padding: 20px;
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mockup-title {
  font-size: 1rem;
  font-weight: 700;
}
.mockup-status.live {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  animation: live-blink 2s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mockup-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.msc-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.msc-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.msc-value.accent { color: var(--purple-light); }
.msc-value.green { color: var(--green); }
.msc-bar {
  margin-top: 8px;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
}
.msc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 2px;
  transition: width 1s ease;
}

.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mockup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
}
.mockup-item.done { background: rgba(255,255,255,0.03); color: var(--text-muted); }
.mockup-item.active-item {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--text);
}
.mockup-item.pending { color: var(--text-dim); }
.mi-multi.green { color: var(--green); }
.mi-multi.dim { color: var(--text-dim); }
.pulse-dot::before {
  content: '● ';
  color: var(--green);
  animation: dot-pulse 1.5s infinite;
}

/* ── Social Proof ───────────────────────────────────── */
.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.social-proof-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.sp-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}
.sp-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}
.sp-logo:hover { color: var(--text-muted); }
.sp-logo svg { opacity: 0.4; transition: opacity 0.2s; }
.sp-logo:hover svg { opacity: 0.7; }

/* ── Features ───────────────────────────────────────── */
.features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.08);
}
.feature-card:hover::before { opacity: 1; }

.feature-card-large {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, var(--bg-card) 60%);
  border-color: rgba(124,58,237,0.2);
}

.feature-card-highlight {
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, var(--bg-card) 60%);
  border-color: rgba(37,99,235,0.2);
}

.fc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.fc-icon-purple { background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.2); }
.fc-icon-blue   { background: rgba(37,99,235,0.15);  border: 1px solid rgba(37,99,235,0.2); }
.fc-icon-yellow { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.2); }
.fc-icon-green  { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.2); }
.fc-icon-pink   { background: rgba(236,72,153,0.15); border: 1px solid rgba(236,72,153,0.2); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.fc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fc-list li {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.fc-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* ── How it works ───────────────────────────────────── */
.how-it-works {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(124,58,237,0.04) 50%, var(--bg) 100%);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.step-reverse { direction: rtl; }
.step-reverse > * { direction: ltr; }

.step-number {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(124,58,237,0.4) 0%, rgba(37,99,235,0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.step-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
}
.step-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Step visuals */
.step-visual {
  position: relative;
}

/* Step 1: Login card */
.sv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 340px;
  margin: 0 auto;
}
.sv-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.sv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  flex-shrink: 0;
}
.sv-text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.sv-line {
  height: 10px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
}
.sv-line-lg { width: 80%; }
.sv-line-sm { width: 50%; }
.sv-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
.sv-button-twitch {
  background: #9146FF;
  color: #fff;
}

/* Step 2: Editor */
.sv-editor {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.sv-editor-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.sv-editor-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.sv-editor-bar span:nth-child(1) { background: #FF5F57; }
.sv-editor-bar span:nth-child(2) { background: #FEBC2E; }
.sv-editor-bar span:nth-child(3) { background: #28C840; }
.sv-editor-canvas {
  position: relative;
  height: 200px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 24px);
}
.sv-widget {
  position: absolute;
  background: rgba(124,58,237,0.15);
  border: 1.5px solid rgba(124,58,237,0.4);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-light);
  cursor: move;
}
.sv-widget-1 { top: 20px; left: 20px; }
.sv-widget-2 { top: 70px; left: 100px; animation: float-widget 3s ease-in-out infinite; }
@keyframes float-widget {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.sv-resize-handle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(124,58,237,0.5);
  border-bottom: 2px solid rgba(124,58,237,0.5);
}

/* Step 3: OBS */
.sv-obs {
  background: #1A1A2E;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.sv-obs-bar {
  background: #0D0D1F;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.sv-obs-body { padding: 20px; }
.sv-obs-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.sv-obs-url {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--text-muted);
  margin-bottom: 14px;
  word-break: break-all;
}
.sv-obs-url .accent { color: var(--purple-light); }
.sv-obs-btn {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

/* ── Widgets / Tabs ─────────────────────────────────── */
.widgets-section { background: var(--bg); }

.widgets-tabs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.wtab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  overflow-x: auto;
  scrollbar-width: none;
}
.wtab-nav::-webkit-scrollbar { display: none; }

.wtab-btn {
  flex: 1;
  min-width: 140px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.wtab-btn:hover { color: var(--text-muted); background: rgba(255,255,255,0.03); }
.wtab-btn.active {
  color: var(--text);
  border-bottom-color: var(--purple);
  background: rgba(124,58,237,0.05);
}

.wtab-content { min-height: 400px; }

.wtab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.wtab-panel.active { display: grid; }

.wtab-preview {
  padding: 40px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,58,237,0.06) 0%, transparent 70%);
}

.wtab-info {
  padding: 48px;
}
.wtab-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.wtab-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.wtab-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wtab-info ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.wtab-info ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--purple-light);
}

/* Overlay Previews */
.overlay-preview {
  background: rgba(10,10,18,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.op-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.op-title { font-size: 0.88rem; font-weight: 700; }
.op-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple-light);
  padding: 3px 8px;
  border-radius: 100px;
}
.op-badge.accent { background: rgba(124,58,237,0.2); }
.op-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.op-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 10px;
}
.ops-label { font-size: 0.65rem; color: var(--text-dim); margin-bottom: 4px; }
.ops-val { font-size: 0.9rem; font-weight: 700; }
.ops-val.accent { color: var(--purple-light); }
.ops-val.green { color: var(--green); }
.op-list { display: flex; flex-direction: column; gap: 3px; }
.op-item {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
}
.op-item.done { color: var(--text-muted); background: rgba(255,255,255,0.02); }
.op-item.current {
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--text);
}
.op-item.pending { color: var(--text-dim); }
.op-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Bracket */
.bracket-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.bracket-col { display: flex; flex-direction: column; gap: 12px; }
.bracket-match {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.bm-player {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.bm-player:last-child { border-bottom: none; }
.bm-player.winner {
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
  font-weight: 600;
}
.bm-player.dim { color: var(--text-dim); }
.bracket-arrow { color: var(--text-dim); font-size: 1rem; }
.bracket-col-final { align-self: center; }
.bracket-match-final { opacity: 0.6; }

/* Wager */
.wager-display { text-align: center; padding: 8px 0; }
.wager-amounts {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.wager-current { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.wager-sep { font-size: 1.4rem; color: var(--text-dim); }
.wager-target { font-size: 1.2rem; color: var(--text-muted); }
.wager-bar-wrap { margin-bottom: 10px; }
.wager-bar {
  height: 10px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}
.wager-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(124,58,237,0.5);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.wager-label { font-size: 0.75rem; color: var(--text-dim); }

/* Blink */
.blink { animation: blink 1.2s ease-in-out infinite; color: var(--green); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ── CTA Section ────────────────────────────────────── */
.cta-section { padding: 80px 0 120px; }

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(37,99,235,0.1) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 14px; font-size: 1rem; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9898C0;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8888A8;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: span 1; }

  .step, .step-reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }

  .wtab-panel { grid-template-columns: 1fr; }
  .wtab-preview {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: auto;
  }

  .hero-mockup { display: none; }

  .mockup-content { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .mockup-stats-row { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .cta-card { padding: 48px 24px; }

  .hero-stats { gap: 0; }
  .stat { padding: 0 20px; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 1.8rem; }
  .stat-number { font-size: 1.3rem; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .stat-divider { display: none; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wtab-btn { min-width: 120px; font-size: 0.78rem; padding: 12px 14px; }
}

/* ── Contact Section ─────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 4px;
}

.ci-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
a.ci-value:hover { color: var(--primary); }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Honeypot – hidden from real users */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.required { color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238888A8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

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

.char-count {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: right;
  margin-top: -4px;
}

.captcha-group input {
  max-width: 160px;
}

.captcha-q {
  color: var(--text);
  font-weight: 700;
  font-family: monospace;
  font-size: 1rem;
}

/* Alerts */
.form-alert {
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 0;
  min-height: 0;
  transition: all 0.2s;
}
.form-alert--success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 12px 16px;
}
.form-alert--error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  padding: 12px 16px;
}

/* Spinner */
.hidden { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 0.8s linear infinite; }

/* Responsive contact */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .contact-info-item { flex: 1; min-width: 160px; }
}

@media (max-width: 600px) {
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; }
}

/* ── Cookie Banner ─────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 560px;
  background: rgba(20, 20, 28, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: cookieSlideUp 0.3s ease;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}
.cookie-link {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.cookie-link:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn-primary {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; bottom: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
