/* ============================
   Nudg Landing Page
   ============================ */

:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --accent: #F59E0B;
  --accent-dim: #B47408;
  --text: #FAFAFA;
  --text-muted: #888888;
  --text-dim: #555555;
  --border: #2a2a2a;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 32px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  font-weight: 300;
}

.hero-cta-note {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── Phone Frame ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 280px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(245, 158, 11, 0.08);
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px 4px;
  font-size: 11px;
  color: var(--text-dim);
}

.phone-screen {
  background: #111;
  border-radius: 30px;
  padding: 20px 18px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.call-active-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
  font-weight: 500;
}

.call-restaurant {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

/* Sound waves */
.call-waves {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 30px;
}

.call-waves span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 3px;
  animation: wave 1.2s ease-in-out infinite;
  opacity: 0.7;
}

.call-waves span:nth-child(1) { height: 10px; animation-delay: 0s; }
.call-waves span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.call-waves span:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.call-waves span:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.call-waves span:nth-child(5) { height: 10px; animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Script bubbles */
.call-script {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.script-line {
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 90%;
}

.script-nudg {
  background: rgba(245, 158, 11, 0.15);
  color: #f5c96a;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.script-staff {
  background: #1f1f1f;
  color: #aaaaaa;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.call-done {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
}

.call-confirmed {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #22c55e;
}

.call-total {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* ── How It Works ── */
.howitworks {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 56px;
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}

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

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--border);
  line-height: 1;
}

.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Features ── */
.features {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.feature-item h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Difference ── */
.difference {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.difference-inner {
  max-width: 700px;
  margin: 0 auto;
}

.diff-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.diff-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 28px;
}

.diff-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.diff-body em {
  font-style: normal;
  color: var(--text);
  font-weight: 500;
}

/* ── Closing ── */
.closing {
  padding: 120px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}

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

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: 240px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .howitworks, .features, .difference, .closing {
    padding: 60px 24px;
  }

  .section-title {
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
  }

  .phone-frame {
    width: 200px;
  }

  .phone-screen {
    padding: 14px 12px;
    min-height: 340px;
  }

  .script-line {
    font-size: 11px;
    padding: 6px 10px;
  }
}