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

:root {
  --bg: #0D1B2A;
  --bg-2: #122338;
  --bg-3: #162a42;
  --fg: #E8EDF2;
  --fg-muted: #8A9BB0;
  --accent: #F59E0B;
  --accent-dim: #C97D0A;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: rgba(232, 237, 242, 0.08);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--fg);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
}

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-scene {
  position: relative;
  width: 100%;
  height: 360px;
}

/* Ship */
.ship-hull {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.ship-body {
  width: 280px;
  height: 90px;
  background: linear-gradient(180deg, #1e3a5f 0%, #0f2540 100%);
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-top: 2px solid rgba(245, 158, 11, 0.4);
}

.ship-window {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.ship-wake {
  position: absolute;
  bottom: -12px; left: 0; right: 0;
  height: 20px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
  filter: blur(4px);
}

/* Crane */
.crane-arm {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.crane-tower {
  width: 8px; height: 180px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(245, 158, 11, 0.5) 100%);
  margin: 0 auto;
  border-radius: 4px;
}

.crane-beam {
  position: absolute;
  top: 0; left: -100px;
  width: 200px; height: 6px;
  background: var(--accent);
  border-radius: 3px;
}

.crane-cable {
  position: absolute;
  top: 6px; left: -5px;
  width: 2px; height: 60px;
  background: rgba(232, 237, 242, 0.3);
}

.crane-container {
  position: absolute;
  bottom: -36px; left: -50px;
  width: 80px; height: 40px;
  background: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: 1px;
}

/* Data streams */
.data-streams {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  pointer-events: none;
}

.stream {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.15);
  animation: pulse-ring 3s ease-in-out infinite;
}

.s1 { width: 100%; height: 100%; top: 0; left: 0; animation-delay: 0s; }
.s2 { width: 70%; height: 70%; top: 15%; left: 15%; animation-delay: 1s; }
.s3 { width: 40%; height: 40%; top: 30%; left: 30%; animation-delay: 2s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

/* === HERO STATS === */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 60px auto 0;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 28px 32px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* === SECTION COMMON === */
.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* === PROBLEM === */
.problem {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-header {
  margin-bottom: 60px;
}

.problem-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  max-width: 560px;
}

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

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: border-color 0.2s;
}

.problem-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

.problem-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}

.problem-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.howitworks-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.howitworks h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 64px;
}

.process-track {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.step-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.process-connector {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.process-connector::after {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  opacity: 0.3;
  margin-top: 48px;
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 60px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

.feature-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}

/* === FOOTER === */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { display: none; }
  .hero-stats {
    flex-direction: column;
    gap: 0;
  }
  .stat-divider {
    width: 100%; height: 1px;
  }
  .problem-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .process-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-connector::after { display: none; }
  .nav { padding: 16px 24px; }
  .hero, .problem, .howitworks, .features, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}