/* ═══════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════ */
:root {
  --bg-deep: #06080d;
  --bg-card: #0f1422;
  --bg-card-hover: #141a2e;
  --accent-cyan: #00d4ff;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #3b82f6 50%, #8b5cf6 100%);
  --text-primary: #e8eaf0;
  --text-secondary: #8892a8;
  --text-dim: #4a5568;
  --border-subtle: rgba(255,255,255,0.06);
  --glow-cyan: 0 0 40px rgba(0,212,255,0.15);
  --icon-color: var(--accent-cyan);
}

/* ═══════════════════════════════════════
   RESET & BASE (Mobile First)
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body.preloading { overflow: hidden !important; }

/* ═══════════════════════════════════════
   GLOBAL ANIMATED BACKGROUND
   ═══════════════════════════════════════ */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background:
    radial-gradient(ellipse at 25% 15%, rgba(0,212,255,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 85%, rgba(139,92,246,0.035) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.025) 0%, transparent 55%);
  animation: bgFloat 20s ease-in-out infinite alternate;
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 20%, transparent 70%);
}

@keyframes bgFloat {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-2%, 2%) rotate(0.5deg) scale(1.02); }
  100% { transform: translate(1%, -1%) rotate(-0.3deg) scale(1.01); }
}

/* ═══════════════════════════════════════
   SVG ICON SYSTEM (uniform accent color)
   ═══════════════════════════════════════ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--icon-color);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 28px; height: 28px; }

/* ═══════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader video { width: 100vw; height: 100vh; object-fit: cover; }

.preloader-fallback { display: none; flex-direction: column; align-items: center; gap: 32px; }
.preloader-fallback.active { display: flex; }

.preloader-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader-ring {
  width: 64px;
  height: 64px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--accent-cyan);
  border-right-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.preloader-bar { width: 200px; height: 2px; background: var(--border-subtle); border-radius: 2px; overflow: hidden; }
.preloader-bar-fill { height: 100%; background: var(--accent-gradient); border-radius: 2px; animation: preloaderProgress 2.5s ease-in-out forwards; }

@keyframes preloaderProgress { 0%{width:0} 30%{width:40%} 60%{width:70%} 90%{width:90%} 100%{width:100%} }

.choice-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ═══════════════════════════════════════
   CHOICE SCREEN
   ═══════════════════════════════════════ */
#choice-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#choice-screen.visible { opacity: 1; visibility: visible; }
#choice-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.choice-bg { position: absolute; inset: 0; overflow: hidden; }
.choice-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0,212,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(139,92,246,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.04) 0%, transparent 60%);
  animation: meshFloat 12s ease-in-out infinite alternate;
}

@keyframes meshFloat { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-3%,3%) scale(1.05)} }

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

/* Choice Content – Mobile First */
.choice-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  max-width: 1100px;
  width: 100%;
}

.choice-header {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease 0.2s forwards;
}

.choice-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.choice-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}

.choice-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.choice-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.choice-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
}

.choice-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  text-align: left;
}

.choice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.4s ease;
}

.choice-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--glow-cyan);
  background: var(--bg-card-hover);
}

.choice-card:first-child:hover::before { background: linear-gradient(135deg, rgba(0,212,255,0.4), rgba(59,130,246,0.2), transparent); }
.choice-card:last-child:hover::before { background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(59,130,246,0.2), transparent); }

.choice-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
}

.choice-card:last-child .choice-card-icon {
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
}

.choice-card-icon .icon svg { width: 22px; height: 22px; }

.choice-card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.choice-card-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; font-weight: 300; }
.choice-card-arrow { display: flex; align-items: center; gap: 8px; margin-top: 1.25rem; font-size: 0.82rem; font-weight: 500; color: var(--text-dim); transition: color 0.3s, gap 0.3s; }
.choice-card:hover .choice-card-arrow { color: var(--accent-cyan); gap: 12px; }

/* Partners */
.choice-partners { margin-top: 2.5rem; opacity: 0; animation: fadeSlideUp 0.8s ease 0.8s forwards; }
.choice-partners-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.choice-partners-logos { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.partner-logo { display: flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 0.75rem; font-weight: 500; opacity: 0.5; transition: opacity 0.3s; }
.partner-logo:hover { opacity: 0.8; }
.partner-dot { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; }
.partner-dot .icon svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════
   PAGE CONTENT
   ═══════════════════════════════════════ */
/* ── Link Resets for Navigation ── */
a.nav-link, a.nav-back, a.nav-brand, a.choice-card,
a.nav-auth-login, a.nav-auth-register {
  text-decoration: none;
  color: inherit;
}

.nav-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

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

/* ═══════════════════════════════════════
   NAVIGATION – Mobile First
   ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6,8,13,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-brand {
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  z-index: 1002;
}

/* ── Burger Button (Mobile) ── */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0;
  transition: border-color 0.3s, background 0.3s;
}

.nav-burger:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1), opacity 0.25s ease, background 0.3s;
}

.nav-burger span:nth-child(1) { margin-bottom: 4px; }
.nav-burger span:nth-child(3) { margin-top: 4px; }

/* Burger → X animation */
.nav-burger.open span { background: var(--accent-cyan); }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile Menu Overlay ── */
.nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(6,8,13,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem 1rem;
  gap: 0.25rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  z-index: 1001;
  pointer-events: none;
}

.nav-links.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-link {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--accent-cyan); background: rgba(0,212,255,0.06); border-color: rgba(0,212,255,0.15); }

/* ── AI Core Nav Highlight ── */
.nav-link--ai {
  color: var(--accent-purple);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link--ai:hover {
  color: #a78bfa;
  background: rgba(139,92,246,0.08);
}
.nav-link--ai.active {
  color: var(--accent-purple);
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.25);
}
.nav-ai-sparkle {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  animation: aiSparkle 2s ease-in-out infinite;
}
@keyframes aiSparkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.6; transform: scale(0.8) rotate(15deg); }
}

.nav-back {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  margin-top: 0.25rem;
}

.nav-back:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }

/* ── Language Switch ── */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 0.5rem;
  padding: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.5px;
}
.nav-lang-btn:hover {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
}
.nav-lang-btn.active {
  color: #fff;
  background: rgba(0,212,255,0.15);
  box-shadow: 0 0 8px rgba(0,212,255,0.1);
}

/* ── Backdrop overlay when menu is open ── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-backdrop.open { display: block; opacity: 1; }

/* ═══════════════════════════════════════
   HERO – Mobile First
   ═══════════════════════════════════════ */
.hero {
  padding: 6.5rem 1.25rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(59,130,246,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139,92,246,0.05) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.6s ease 0.1s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  animation: fadeSlideUp 0.6s ease 0.2s both;
}

.hero h1 .gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeSlideUp 0.6s ease 0.35s both;
}

/* ═══════════════════════════════════════
   SECTIONS – Mobile First
   ═══════════════════════════════════════ */
.section {
  padding: 3rem 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section h2 .gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.85rem; letter-spacing: -0.02em; }

.section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.section p strong { color: var(--text-primary); font-weight: 500; }

.divider { border: none; height: 1px; background: var(--border-subtle); max-width: 960px; margin: 0 auto; }

/* Highlight */
.highlight-block {
  position: relative;
  padding: 1.5rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-cyan);
}

.highlight-block p { color: var(--text-primary); font-size: 1rem; font-weight: 400; font-style: italic; margin: 0; }

/* ═══════════════════════════════════════
   PRODUCT CARDS – Mobile First
   ═══════════════════════════════════════ */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.5rem; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: all 0.4s ease;
}

.product-card:hover { border-color: rgba(0,212,255,0.15); box-shadow: var(--glow-cyan); transform: translateY(-3px); }

.product-card-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }

.product-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
}

.product-card-icon .icon svg { width: 20px; height: 20px; }

.product-card h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0,212,255,0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0,212,255,0.2);
  margin-left: 0.6rem;
}

.product-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }
.product-card p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════
   FEATURES ROW – Mobile First
   ═══════════════════════════════════════ */
.features-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover { border-color: rgba(0,212,255,0.12); transform: translateY(-2px); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
}

.feature-icon .icon svg { width: 22px; height: 22px; }

.feature-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; font-weight: 300; margin-bottom: 0; }

/* ═══════════════════════════════════════
   STEPS – Mobile First
   ═══════════════════════════════════════ */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.step-card:hover { border-color: rgba(0,212,255,0.12); transform: translateY(-2px); }

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-primary); }
.step-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; font-weight: 300; margin-bottom: 0; }

/* ═══════════════════════════════════════
   USE CASES – Mobile First
   ═══════════════════════════════════════ */
.usecase-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
}

.usecase-card:hover { border-color: rgba(0,212,255,0.12); transform: translateY(-2px); }
.usecase-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; }
.usecase-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; font-weight: 300; }
.usecase-list { list-style: none; margin-top: 0.85rem; }
.usecase-list li { position: relative; padding-left: 1.15rem; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; font-weight: 300; margin-bottom: 0.25rem; }
.usecase-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-cyan); opacity: 0.5; }

/* ═══════════════════════════════════════
   FAQ – Mobile First
   ═══════════════════════════════════════ */
.faq-list { margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s;
}

.faq-question:hover { color: var(--accent-cyan); }

.faq-toggle {
  font-size: 1.2rem;
  color: var(--text-dim);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--accent-cyan); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; font-weight: 300; margin-bottom: 0; }

/* ═══════════════════════════════════════
   CONTACT – Mobile First
   ═══════════════════════════════════════ */
.contact-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin-top: 1.5rem;
}

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1.5rem; }

.contact-info-item { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon .icon svg { width: 18px; height: 18px; }

.contact-label { font-size: 0.7rem; color: var(--text-dim); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-value { font-size: 0.9rem; color: var(--text-primary); font-weight: 400; }
.contact-info-item a { color: var(--accent-cyan); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }

.form-input {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-input:focus { border-color: rgba(0,212,255,0.3); }
.form-input::placeholder { color: var(--text-dim); }
textarea.form-input { resize: vertical; min-height: 110px; }

/* ── Service Selection ── */
.service-selection {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-selection__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0;
  padding-left: 0.1rem;
}
.service-selection__hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  opacity: 0.55;
}
.service-selection__grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  user-select: none;
}
.service-card:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.04);
}
.service-card input[type="checkbox"] {
  display: none;
}
.service-card__icon { display: none; }
.service-card__title {
  flex: 1;
  font-size: 0.88rem;
  font-family: 'Outfit', sans-serif;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.2s;
}
/* Checkbox nach links */
.service-card__check {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 5px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  order: -1;                 /* ← neu */
}
/* Häkchen im Ruhezustand verstecken */
.service-card__check::after {
  content: '';
  display: none;              /* ← statt opacity: 0 */
  width: 5px;
  height: 9px;
  border: 2px solid #000;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.service-card:has(input[type="checkbox"]:checked) {
  border-color: rgba(0,212,255,0.45);
  background: rgba(0,212,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(0,212,255,0.12);
}
.service-card:has(input[type="checkbox"]:checked) .service-card__title {
  color: var(--text-primary);
}
.service-card:has(input[type="checkbox"]:checked) .service-card__check {
  background: var(--accent-cyan, #00d4ff);
  border-color: var(--accent-cyan, #00d4ff);
}
/* Häkchen bei checked einblenden */
.service-card:has(input[type="checkbox"]:checked) .service-card__check::after {
  display: block;             /* ← statt opacity: 1 */
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  background: var(--accent-gradient);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  margin-top: 0.5rem;
  width: 100%;
}

.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.25); }

/* ═══════════════════════════════════════
   FOOTER – Mobile First
   ═══════════════════════════════════════ */
.footer {
  padding: 3rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-links { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.75rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-secondary); }

.footer-info { margin-top: 1.5rem;color: var(--text-dim); font-size: 0.8rem; line-height: 1.8; }
.footer-info a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-info a:hover { color: var(--accent-cyan); }
.footer-copy { color: var(--text-dim); font-size: 0.7rem; margin-top: 1.5rem; }

/* ═══════════════════════════════════════
   PRICING – Mobile First
   ═══════════════════════════════════════ */
.pricing-category { margin-bottom: 2.5rem; }
.pricing-category-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-subtle); }
.pricing-category-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.15); }
.pricing-category-icon .icon svg { width: 18px; height: 18px; }
.pricing-category-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.pricing-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; margin-bottom: 0.5rem; overflow: hidden; transition: border-color 0.3s ease; }
.pricing-item:hover { border-color: rgba(0,212,255,0.15); }
.pricing-item-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.15rem; cursor: pointer; gap: 0.5rem; transition: background 0.2s; }
.pricing-item-header:hover { background: rgba(255,255,255,0.015); }
.pricing-item-name { font-size: 0.82rem; font-weight: 500; color: var(--text-primary); flex: 1; line-height: 1.4; }
.pricing-item-price { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 500; color: var(--accent-cyan); white-space: nowrap; flex-shrink: 0; }
.pricing-item-toggle { font-size: 1rem; color: var(--text-dim); transition: transform 0.3s, color 0.3s; flex-shrink: 0; margin-left: 0.35rem; }
.pricing-item.open .pricing-item-toggle { transform: rotate(45deg); color: var(--accent-cyan); }
.pricing-item-desc { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.pricing-item.open .pricing-item-desc { max-height: 300px; }
.pricing-item-desc-inner { padding: 0 1.15rem 1.15rem; font-size: 0.8rem; color: var(--text-secondary); line-height: 1.65; font-weight: 300; border-top: 1px solid var(--border-subtle); padding-top: 0.85rem; }
.pricing-note { margin-top: 2.5rem; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-left: 3px solid var(--accent-cyan); border-radius: 12px; font-size: 0.75rem; color: var(--text-dim); line-height: 1.7; }

/* Scroll Animations */
.anim-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   TABLET BREAKPOINT (min-width: 640px)
   ═══════════════════════════════════════ */
@media (min-width: 640px) {
  .choice-content { padding: 2rem; }
  .choice-header { margin-bottom: 3rem; }
  .choice-title { font-size: 2.5rem; }
  .choice-cards { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .choice-card { padding: 2.25rem 2rem; border-radius: 18px; }
  .choice-card-icon { width: 52px; height: 52px; }
  .choice-card-title { font-size: 1.35rem; }

  .nav { padding: 0 1.5rem; height: 64px; }
  .nav-burger { display: none; }
  .nav-backdrop { display: none !important; }
  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    gap: 0.25rem;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
  .nav-link { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
  .nav-back { display: none; }

  .hero { padding: 8rem 1.5rem 4rem; }
  .hero h1 { font-size: 2.5rem; }

  .section { padding: 4rem 1.5rem; }
  .section h2 { font-size: 1.9rem; }
  .highlight-block { padding: 1.75rem 2rem; }

  .product-card { padding: 2rem; }
  .product-card-icon { width: 42px; height: 42px; }
  .product-card h3 { font-size: 1.25rem; }

  .features-row { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-section { padding: 2.5rem 2rem; }

  .cta-btn { width: auto; }
  .pricing-category-title { font-size: 1.2rem; }
  .pricing-item-name { font-size: 0.85rem; }
  .pricing-item-price { font-size: 0.75rem; }
  .pricing-item-header { padding: 1.1rem 1.35rem; }
}

/* ═══════════════════════════════════════
   DESKTOP BREAKPOINT (min-width: 1024px)
   ═══════════════════════════════════════ */
@media (min-width: 1024px) {
  #choice-screen { justify-content: center; padding-top: 0; }
  .choice-content { padding: 2rem; }
  .choice-header { margin-bottom: 3.5rem; }
  .choice-brand { font-size: 0.85rem; }
  .choice-title { font-size: 3.2rem; }
  .choice-subtitle { font-size: 1.1rem; }
  .choice-cards { gap: 2rem; }
  .choice-card { padding: 3rem 2.5rem; border-radius: 20px; }
  .choice-card-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.5rem; }
  .choice-card-icon .icon svg { width: 26px; height: 26px; }
  .choice-card-title { font-size: 1.5rem; }
  .choice-card-desc { font-size: 0.95rem; }
  .choice-partners { margin-top: 3.5rem; }
  .choice-partners-logos { gap: 2.5rem; }

  .nav { padding: 0 2rem; height: 72px; }
  .nav-logo { height: 34px; }
  .nav-link { padding: 0.5rem 1.25rem; font-size: 0.85rem; border-radius: 10px; }

  .hero { padding: 10rem 2rem 6rem; }
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
  .hero-desc { font-size: 1.15rem; }
  .hero-badge { font-size: 0.72rem; }

  .section { padding: 5rem 2rem; }
  .section h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
  .section p { font-size: 1.05rem; }
  .highlight-block { padding: 2rem 2.5rem; }

  .product-card { padding: 2.5rem; border-radius: 20px; }
  .product-card-icon { width: 44px; height: 44px; border-radius: 12px; }
  .product-card h3 { font-size: 1.3rem; }
  .product-card p { font-size: 0.95rem; }

  .features-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .feature-item { padding: 2rem; }
  .feature-icon { width: 52px; height: 52px; }

  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .step-card { padding: 2rem 1.5rem; }
  .step-number { font-size: 2.5rem; }

  .contact-section { padding: 3.5rem; border-radius: 24px; }
  .contact-grid { gap: 3rem; }

  .footer { padding: 4rem 2rem; margin-top: 4rem; }

  .pricing-category-title { font-size: 1.35rem; }
  .pricing-category-icon { width: 40px; height: 40px; }
  .pricing-item-header { padding: 1.15rem 1.5rem; }
  .pricing-item-name { font-size: 0.92rem; }
  .pricing-item-price { font-size: 0.82rem; }
  .pricing-item-desc-inner { padding: 0 1.5rem 1.5rem; padding-top: 1rem; font-size: 0.85rem; }
}
/* ══════════════════════════════════════════
   AUTH PAGES (Login / Register)
   Einfügen in styles.css VOR den Responsive-Breakpoints
   ══════════════════════════════════════════ */

/* ── Auth Page Layout ── */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  padding: 2rem 1rem;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1.5rem;
}
.auth-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.auth-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ── Auth Form ── */
.auth-form .form-group {
  margin-bottom: 1.15rem;
}
.auth-form .form-input {
  font-size: 16px; /* Prevent iOS zoom */
}
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}
.auth-remember a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-forgot {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  transition: color 0.3s;
}
.auth-forgot:hover {
  color: var(--accent-blue);
}

/* ── Auth Button ── */
.auth-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  border: none;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
  min-height: 48px;
  text-align: center;
}
.auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0,212,255,0.2);
}
.auth-btn:active {
  transform: translateY(0);
}

/* ── Auth Footer ── */
.auth-footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.auth-footer p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.auth-footer a {
  color: var(--accent-cyan);
  font-weight: 600;
  transition: color 0.3s;
}
.auth-footer a:hover {
  color: var(--accent-blue);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .auth-card {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
  .auth-form-row {
    grid-template-columns: 1fr;
  }
  .auth-header h1 {
    font-size: 1.3rem;
  }
}

/* ══════════════════════════════════════════
   AUTH ERROR & DEV NOTICE
   ══════════════════════════════════════════ */
.auth-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  color: #ef4444;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.auth-error svg { flex-shrink: 0; }
.auth-dev-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: rgba(234,179,8,0.06);
  border: 1px solid rgba(234,179,8,0.15);
  color: #eab308;
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}
.auth-dev-notice svg { flex-shrink: 0; }
.nav-auth-register--logout {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}
.nav-auth-register--logout:hover {
  box-shadow: 0 4px 15px rgba(239,68,68,0.2) !important;
}

/* ── Look and Feel Video ── */
.ai-video {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  aspect-ratio: 16 / 9;
}
.ai-video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* vorher: cover */
  background: #000;
}
@media (max-width: 767px) {
  .ai-video {
    margin-top: 1.5rem;
    border-radius: 12px;
    aspect-ratio: 9 / 16;   /* nur falls Mobile-Hochformat-Video geliefert wird, sonst Zeile entfernen */
  }
}

@media (max-width: 767px) {
  .ai-video {
    margin-top: 1.5rem;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
  }
}