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

:root {
  --bg-primary: #080F1A;
  --bg-secondary: #0D1625;
  --bg-card: #111D2E;
  --bg-card-hover: #152438;
  --accent: #00D4C8;
  --accent-dim: rgba(0, 212, 200, 0.15);
  --accent-glow: rgba(0, 212, 200, 0.08);
  --text-primary: #E2EAF3;
  --text-secondary: #8AA3B8;
  --text-muted: #4A6278;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 200, 0.25);
  --wishlist: #00D4C8;
  --open: #F59E0B;
  --assigned: #4A6278;
  --positive: #10B981;
  --negative: #EF4444;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

html { font-size: 16px; scroll-behavior: smooth; }

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

/* =================== NAVBAR =================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.nav-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =================== SECTION UTILITIES =================== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 200, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-left { max-width: 520px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 460px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat {}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* =================== ROSTER PANEL =================== */
.roster-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,200,0.06);
}
.panel-header {
  background: var(--bg-secondary);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.panel-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.panel-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--positive);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.panel-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--positive);
  animation: pulse 2s ease-in-out infinite;
}
.panel-body { padding: 16px; }

.umlauf {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s;
}
.umlauf:last-child { margin-bottom: 0; }
.umlauf--top {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(0,212,200,0.06) 0%, var(--bg-secondary) 100%);
}
.umlauf--available { border-color: rgba(245,158,11,0.25); }
.umlauf-left {}
.umlauf-id {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.umlauf-route {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.umlauf-dates {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.umlauf-right {}
.wish-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
}
.wish-badge--wishlist {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}
.wish-badge--open {
  color: var(--open);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.wish-badge--assigned {
  color: var(--text-muted);
  background: rgba(74, 98, 120, 0.15);
  border: 1px solid rgba(74, 98, 120, 0.2);
}

.trade-zone {
  margin-top: 14px;
  padding: 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}
.trade-zone-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.trade-items { display: flex; flex-direction: column; gap: 8px; }
.trade-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trade-crew {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trade-detail {
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex: 1;
}
.trade-action {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  padding: 3px 10px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
}
.trade-action:hover { background: var(--accent-dim); }

.panel-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
}
.panel-footer-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =================== HOW IT WORKS =================== */
.howitworks {
  padding: 120px 0;
  position: relative;
}
.howitworks .section-title { margin-bottom: 64px; }
.steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  flex: 1;
}
.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), transparent);
  margin: 0 24px;
  align-self: flex-start;
  margin-top: 28px;
}

/* =================== FEATURES =================== */
.features {
  padding: 80px 0 120px;
  background: var(--bg-secondary);
}
.features .section-title { margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =================== UMLAUF SECTION =================== */
.umlauf-section {
  padding: 120px 0;
  background: var(--bg-primary);
}
.umlauf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.umlauf-copy {}
.umlauf-copy .section-title { margin-bottom: 28px; }
.umlauf-copy-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.umlauf-quote {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
}
.umlauf-quote p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  position: relative;
}
.quote-attr {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: normal;
}

.umlauf-comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.comparison-card--before {
  background: var(--bg-card);
}
.comparison-card--after {
  background: linear-gradient(135deg, rgba(0,212,200,0.05) 0%, var(--bg-card) 100%);
  border-color: var(--border-accent);
}
.comp-header {
  margin-bottom: 20px;
}
.comp-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.comparison-card--after .comp-label { color: var(--accent); }
.comp-list { list-style: none; }
.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}
.comp-item::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}
.comp-item--no::before {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.comp-item--no { color: var(--text-muted); }
.comp-item--yes::before {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* =================== CLOSING =================== */
.closing {
  position: relative;
  padding: 140px 0;
  background: var(--bg-secondary);
  text-align: center;
  overflow: hidden;
}
.closing-bg {
  position: absolute;
  inset: 0;
}
.closing-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0,212,200,0.1) 0%, transparent 65%);
}
.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
}
.closing-badge svg { color: var(--accent); flex-shrink: 0; }

/* =================== FOOTER =================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  padding: 40px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }
  .hero-left { max-width: 100%; }
  .hero-right { display: none; }
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  .step-connector {
    width: 1px;
    height: 40px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--border-accent), transparent);
    align-self: center;
  }
  .features-grid { grid-template-columns: 1fr; }
  .umlauf-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { flex-wrap: wrap; }
  .nav-tagline { display: none; }
  .section-inner { padding: 0 24px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .closing-headline { font-size: 1.6rem; }
  .closing-badges { gap: 8px; }
  .closing-badge { font-size: 0.75rem; padding: 6px 14px; }
}