/* ============================================
   CAPSULE — Landing Page Styles
   ============================================ */

/* --- Tokens --- */
:root {
  --bg: #0D0D14;
  --bg-surface: #13131F;
  --bg-card: #1A1A2A;
  --fg: #F4F0E8;
  --fg-muted: #8B8A9E;
  --accent: #FF6B35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --accent-glow: rgba(255, 107, 53, 0.06);
  --border: rgba(244, 240, 232, 0.07);
  --border-accent: rgba(255, 107, 53, 0.25);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: var(--bg); }

img { display: block; max-width: 100%; }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
}
.nav-inner { max-width: 1100px; margin: 0 auto; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  text-decoration: none;
}

/* --- Shared --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 32px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255,107,53,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(30,20,60,0.6) 0%, transparent 60%),
    var(--bg);
}

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

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  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: var(--space-lg);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 64px;
  font-weight: 300;
}

/* Device mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  margin: 0 auto 64px;
}

.capsule-device {
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 20px;
  box-shadow:
    0 0 0 1px rgba(255,107,53,0.1),
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 0 120px -20px rgba(255,107,53,0.08);
}

.capsule-screen {
  background: #1E1B2E;
  border-radius: 24px;
  padding: 32px 24px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capsule-ui-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.capsule-lock-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.2), 0 0 20px -5px rgba(255,107,53,0.1); }
  50% { box-shadow: 0 0 0 12px rgba(255,107,53,0), 0 0 40px -5px rgba(255,107,53,0.2); }
}

.capsule-countdown {
  text-align: center;
}

.countdown-num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 4px;
}

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

.capsule-from {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 400;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.proof-line {
  width: 40px;
  height: 1px;
  background: var(--border-accent);
}

.proof-text {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ============================================
   HOW
   ============================================ */
.how {
  padding: var(--space-2xl) 32px;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 16px;
  align-items: start;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.25;
}

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

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* ============================================
   USE CASES
   ============================================ */
.usecases {
  padding: var(--space-2xl) 32px;
  border-top: 1px solid var(--border);
}

.usecases-inner {
  max-width: 900px;
  margin: 0 auto;
}

.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s;
}

.usecase-card:hover { border-color: var(--border-accent); }

.usecase-card--wide { grid-column: 1 / -1; }

.usecase-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.usecase-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 10px;
}

.usecase-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   SEAL
   ============================================ */
.seal {
  padding: var(--space-2xl) 32px;
  border-top: 1px solid var(--border);
}

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

.seal-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-circle {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,107,53,0.15);
  animation: rotate-ring 12s linear infinite;
}

.seal-ring--1 { width: 200px; height: 200px; animation-duration: 20s; }
.seal-ring--2 { width: 150px; height: 150px; animation-duration: 14s; animation-direction: reverse; }
.seal-ring--3 { width: 100px; height: 100px; animation-duration: 10s; }

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.seal-center {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.seal-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   CLOSING
   ============================================ */
.closing {
  padding: var(--space-2xl) 32px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-muted);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 120px 24px 80px; }
  .hero-headline { font-size: 44px; }
  .hero-sub { font-size: 16px; }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-arrow { display: none; }

  .usecase-grid { grid-template-columns: 1fr; }
  .usecase-card--wide { grid-column: 1; }

  .seal-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .seal-visual { display: none; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .step { padding: 20px; }
  .usecase-card { padding: 24px; }
  .section-title { font-size: 26px; }
}