/* ============================================
   VYBORA LANDING PAGE — Premium Dark-Orange
   ============================================
   Colors: #0D0D0D base, #1A1A1A elevated
   Accent: #E8734A (orange), #F59E0B (amber)
   No external resources. System fonts only.
   ============================================ */

:root {
  --bg-base: #0D0D0D;
  --bg-elevated: #1A1A1A;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.06);
  --text-primary: #F5F5F5;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --accent-orange: #E8734A;
  --accent-amber: #F59E0B;
  --accent-gradient: linear-gradient(135deg, #E8734A, #F59E0B);
  --glow-orange: rgba(232, 115, 74, 0.15);
  --glow-amber: rgba(245, 158, 11, 0.10);
  --font-heading: "JetBrains Mono", "SF Mono", "Cascadia Code", monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, monospace;
  --transition: 200ms ease;
  --transition-slow: 500ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), backdrop-filter var(--transition),
              border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.nav-scrolled {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #e0e0e0;
}

.nav-link-login {
  color: #E8734A;
  font-weight: 600;
}

.nav-link-login:hover {
  color: #F59E0B;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  position: relative;
}

/* Rotierende Wörter im Hero-Titel */
#rotating-word {
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Deutschlandflagge — kleines CSS-Badge oben rechts am Logo */
.de-flag {
  display: inline-block;
  position: relative;
  top: -4px;
  margin-left: 6px;
  width: 14px;
  height: 10px;
  border-radius: 2px;
  overflow: hidden;
  vertical-align: top;
  flex-shrink: 0;
  /* Reset text-fill damit die Farben sichtbar sind */
  -webkit-text-fill-color: initial;
  background: linear-gradient(
    to bottom,
    #000 0%, #000 33.3%,
    #DD0000 33.3%, #DD0000 66.6%,
    #FFCE00 66.6%, #FFCE00 100%
  );
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.nav-cta {
  font-family: var(--font-heading);
  padding: 10px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-cta:hover {
  border-color: var(--accent-orange);
  background: rgba(232, 115, 74, 0.05);
  box-shadow: 0 0 20px var(--glow-orange);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #000;
  box-shadow: 0 0 30px var(--glow-orange), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--glow-orange), 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
  border-radius: 12px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(
    ellipse at center,
    var(--glow-orange) 0%,
    var(--glow-amber) 40%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 0
  );
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  position: relative;
  z-index: 1;
}

/* --- Hero Mockup --- */
.hero-mockup {
  margin-top: 60px;
  width: 100%;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.mockup-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 60px var(--glow-orange);
}

.mockup-header {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.mockup-body {
  padding: 24px;
}

.mockup-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-msg {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  max-width: 85%;
  line-height: 1.5;
  text-align: left;
}

.mockup-user {
  background: rgba(232, 115, 74, 0.1);
  border: 1px solid rgba(232, 115, 74, 0.2);
  align-self: flex-end;
  color: var(--text-primary);
}

.mockup-ai {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  align-self: flex-start;
  color: var(--text-secondary);
}

.mockup-code {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-orange);
  line-height: 1.6;
  align-self: flex-start;
  max-width: 90%;
}

/* Typing indicator animation */
.typing-indicator {
  display: inline-flex;
  gap: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* --- Features Section --- */
.features {
  padding: 120px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-slow);
}

.feature-card:hover {
  border-color: rgba(232, 115, 74, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 40px rgba(232, 115, 74, 0.05);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(232, 115, 74, 0.08);
  color: var(--accent-orange);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-orange);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- How it Works --- */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-elevated);
  position: relative;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
  padding: 0 20px;
}

.step-number {
  font-family: var(--font-heading);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-amber));
  margin-top: 28px;
  flex-shrink: 0;
  opacity: 0.3;
}

/* --- Trust Section --- */
.trust {
  padding: 120px 0;
}

.trust-content {
  text-align: center;
}

.trust-text {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  display: block;
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 8px;
  display: block;
}

/* --- Final CTA --- */
.final-cta {
  padding: 120px 0;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--glow-orange), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-by {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* --- Scroll Fade-in Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.feature-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.feature-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.feature-card.fade-in:nth-child(4) { transition-delay: 0.3s; }

.step.fade-in:nth-child(2) { transition-delay: 0.15s; }
.step.fade-in:nth-child(3) { transition-delay: 0.3s; }

/* Note: nth-child counts connectors too, so steps are 1,3,5 */
.steps > .step:nth-of-type(2).fade-in { transition-delay: 0.15s; }
.steps > .step:nth-of-type(3).fade-in { transition-delay: 0.3s; }

/* --- Waitlist Forms --- */
.waitlist-hidden { display: none; }

.waitlist-inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.waitlist-inline-centered {
  justify-content: center;
}

.waitlist-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #f5f5f5;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}

.waitlist-input::placeholder { color: #555; }

.waitlist-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(232, 115, 74, 0.15);
}

.waitlist-success-msg {
  margin-top: 8px;
  padding: 14px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 10px;
  color: #4ade80;
  font-size: 1rem;
  font-weight: 500;
}

.waitlist-error-msg {
  margin-top: 8px;
  color: #f87171;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .trust-stats {
    flex-direction: column;
    gap: 40px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-mockup {
    margin-top: 40px;
  }

  .mockup-msg {
    max-width: 95%;
  }

  .cta-box {
    padding: 60px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* --- Floating Icons (Vibing Universe) --- */
.floating-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  top: 0;
}

.floating-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-orange);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Individual icon positions & animations (no inline styles — CSP blocks them) */
.fi-code     { left:3%;  width:32px; height:32px; animation: floatUp 28s linear infinite;     animation-delay:-2s; }
.fi-chat     { left:12%; width:26px; height:26px; animation: floatUpDrift 35s linear infinite; animation-delay:-8s; }
.fi-lightning{ left:22%; width:24px; height:24px; animation: floatUp 22s linear infinite;     animation-delay:-15s; }
.fi-rocket   { left:35%; width:38px; height:38px; animation: floatUpSlow 40s linear infinite;  animation-delay:-5s; }
.fi-star     { left:48%; width:20px; height:20px; animation: floatUpDrift 30s linear infinite; animation-delay:-12s; }
.fi-brush    { left:58%; width:28px; height:28px; animation: floatUp 33s linear infinite;     animation-delay:-20s; }
.fi-gear     { left:70%; width:30px; height:30px; animation: floatUpSlow 38s linear infinite;  animation-delay:-3s; }
.fi-heart    { left:82%; width:22px; height:22px; animation: floatUpDrift 26s linear infinite; animation-delay:-18s; }
.fi-bulb     { left:92%; width:34px; height:34px; animation: floatUp 32s linear infinite;     animation-delay:-10s; }
.fi-cursor   { left:42%; width:24px; height:24px; animation: floatUpSlow 36s linear infinite;  animation-delay:-25s; }
.fi-music    { left:75%; width:20px; height:20px; animation: floatUpDrift 29s linear infinite; animation-delay:-14s; }
.fi-puzzle   { left:18%; width:36px; height:36px; animation: floatUpSlow 42s linear infinite;  animation-delay:-30s; }

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.12;
  }
  90% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-120px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes floatUpSlow {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.10;
  }
  50% {
    transform: translateY(50vh) rotate(180deg) scale(1.1);
  }
  90% {
    opacity: 0.10;
  }
  100% {
    transform: translateY(-120px) rotate(360deg) scale(1);
    opacity: 0;
  }
}

@keyframes floatUpDrift {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.14;
  }
  25% {
    transform: translateY(75vh) translateX(30px) rotate(90deg);
  }
  50% {
    transform: translateY(50vh) translateX(-20px) rotate(180deg);
  }
  75% {
    transform: translateY(25vh) translateX(15px) rotate(270deg);
  }
  90% {
    opacity: 0.14;
  }
  100% {
    transform: translateY(-120px) translateX(0) rotate(360deg);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .trust-stats {
    gap: 32px;
  }
}

/* ============================================
   NEW SECTIONS — Anti-base44 Landing Page
   ============================================ */

/* --- Hero Badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(232, 115, 74, 0.3);
  background: rgba(232, 115, 74, 0.06);
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 6px var(--accent-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* --- Ghost Button --- */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 14px 24px;
  font-size: 0.95rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--accent-orange);
  background: rgba(232, 115, 74, 0.05);
}

/* --- Hero Actions (two buttons) --- */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Mockup Enhancements --- */
.mockup-dot-red    { background: #FF5F57; }
.mockup-dot-yellow { background: #FEBC2E; }
.mockup-dot-green  { background: #28C840; }

.mockup-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-commit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(40, 200, 64, 0.06);
  border: 1px solid rgba(40, 200, 64, 0.15);
  margin-top: 8px;
  align-self: flex-start;
  max-width: 95%;
}

.commit-icon {
  width: 18px;
  height: 18px;
  stroke: #28C840;
  flex-shrink: 0;
}

.commit-label {
  font-size: 0.75rem;
  color: #28C840;
  font-family: var(--font-mono);
  font-weight: 600;
}

.commit-hash {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* --- Pain Section --- */
.pain-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(30, 10, 10, 0.8) 50%, var(--bg-base) 100%);
  position: relative;
}

.pain-header {
  text-align: center;
  margin-bottom: 64px;
}

.pain-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #EF4444;
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.gradient-text-red {
  background: linear-gradient(135deg, #EF4444, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pain-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -40px;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pain-card {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.12);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #EF4444, transparent);
}

.pain-card:hover {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.05);
  transform: translateY(-4px);
}

.pain-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pain-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #EF4444;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pain-quote {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
  padding: 12px 16px;
  border-left: 2px solid rgba(239, 68, 68, 0.3);
  margin-bottom: 16px;
  background: rgba(239, 68, 68, 0.03);
  border-radius: 0 8px 8px 0;
}

.pain-solution {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(40, 200, 64, 0.05);
  border: 1px solid rgba(40, 200, 64, 0.12);
}

.solution-check {
  color: #28C840;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pain-solution strong {
  color: var(--text-primary);
}

/* --- Comparison Table --- */
.comparison-section {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.comparison-table {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 48px;
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.comp-feature-col {
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.comp-col {
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.comp-col-bad {
  color: #EF4444;
  border-left: 1px solid var(--border-subtle);
  background: rgba(239, 68, 68, 0.03);
}

.comp-col-good {
  color: var(--accent-orange);
  border-left: 1px solid var(--border-subtle);
  background: rgba(232, 115, 74, 0.04);
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition);
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comp-row-alt {
  background: rgba(255, 255, 255, 0.01);
}

.comp-feature {
  padding: 16px 24px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.comp-val {
  padding: 16px 24px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid var(--border-subtle);
}

.comp-bad {
  color: var(--text-muted);
  background: rgba(239, 68, 68, 0.02);
}

.comp-good {
  color: var(--text-secondary);
  background: rgba(40, 200, 64, 0.02);
}

.comp-x {
  color: #EF4444;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.comp-check {
  color: #28C840;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.trust-badge:hover {
  border-color: var(--accent-orange);
  color: var(--text-primary);
}

.trust-flag {
  font-size: 1rem;
}

.trust-icon {
  width: 16px;
  height: 16px;
  stroke: var(--accent-orange);
  stroke-width: 2;
  flex-shrink: 0;
}

/* --- Migration Section --- */
.migration-section {
  padding: 80px 0;
}

.migration-box {
  background: linear-gradient(135deg, rgba(232, 115, 74, 0.08), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(232, 115, 74, 0.2);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.migration-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232, 115, 74, 0.08), transparent 70%);
  pointer-events: none;
}

.migration-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.migration-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  position: relative;
}

.migration-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

/* --- Final CTA Enhancements --- */
.cta-mono {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.cta-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
  margin-bottom: 0;
}

/* --- VS Cards (Overview Page) --- */
.vs-card {
  display: block;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.vs-card:hover {
  border-color: rgba(232, 115, 74, 0.3);
  transform: translateY(-6px);
}

.vs-card-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.vs-badge-red {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.vs-badge-orange {
  background: rgba(249, 115, 22, 0.10);
  color: #F97316;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.vs-card-link {
  margin-top: 16px;
  color: var(--accent-orange);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap var(--transition);
}

/* --- Responsive for new sections --- */
@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .comp-header,
  .comp-row {
    grid-template-columns: 1fr;
  }

  .comp-feature-col,
  .comp-col,
  .comp-feature,
  .comp-val {
    border-left: none;
  }

  .comp-col-bad,
  .comp-col-good {
    display: none;
  }

  .comp-feature {
    font-weight: 600;
    padding-bottom: 4px;
  }

  .comp-bad { display: none; }

  .comp-good {
    border-top: 1px solid var(--border-subtle);
    background: rgba(40, 200, 64, 0.03);
    border-radius: 0 0 8px 8px;
  }

  .migration-box {
    padding: 40px 24px;
  }

  .trust-badges {
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   WAITLIST FORMS (inline in hero + CTA)
   ============================================ */
.hero-waitlist-form,
.cta-waitlist-form {
  position: relative;
  z-index: 1;
}

.waitlist-input-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-input-group--large {
  max-width: 560px;
}

.waitlist-input--large {
  font-size: 1.05rem;
  padding: 16px 22px;
}

.waitlist-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 12px;
  text-align: center;
}

.waitlist-feedback {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.wl-success {
  color: #4ade80;
}

.wl-error {
  color: #f87171;
}

.waitlist-submitted .waitlist-input-group {
  display: none;
}

.waitlist-submitted .waitlist-note {
  display: none;
}

.code-comment {
  color: #666;
}

@media (max-width: 480px) {
  .waitlist-input-group {
    flex-direction: column;
  }
  .waitlist-input {
    min-width: unset;
    width: 100%;
  }
}

/* ============================================
   A/B WAITLIST WIDGET (floating / sticky bar)
   ============================================ */

/* --- Variant A: Floating Button + Modal --- */
.wl-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 115, 74, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wl-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(232, 115, 74, 0.5);
}

.wl-fab svg {
  width: 24px;
  height: 24px;
  stroke: #000;
  stroke-width: 2;
  fill: none;
}

.wl-fab-hidden { display: none; }

/* Modal overlay */
.wl-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.wl-modal-overlay.wl-modal-open {
  opacity: 1;
  pointer-events: auto;
}

.wl-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wl-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.wl-modal p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.wl-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.wl-modal-close:hover {
  color: var(--text-primary);
}

.wl-modal .waitlist-input-group {
  flex-direction: column;
}

.wl-modal .waitlist-input {
  width: 100%;
  min-width: unset;
}

.wl-modal .btn {
  width: 100%;
}

/* --- Variant B: Sticky Bottom Bar --- */
.wl-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.wl-bar.wl-bar-visible {
  transform: translateY(0);
}

.wl-bar-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.wl-bar .waitlist-input {
  max-width: 260px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.wl-bar .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.wl-bar-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 8px;
  line-height: 1;
}

.wl-bar-close:hover {
  color: var(--text-primary);
}

.wl-bar-hidden { display: none; }

@media (max-width: 600px) {
  .wl-bar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }
  .wl-bar-text {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
  }
  .wl-bar .waitlist-input {
    flex: 1;
    max-width: unset;
  }
}
