/* =============================================================
   landing.css — Opus Menu landing page styles
   Extends css/style.css (variables already defined there)
   ============================================================= */

/* ─── Base resets & utilities ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font, 'Inter'), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg, #FAFAF8);
  color: var(--color-dark, #1C1C1E);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Shared buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-accent {
  background-color: var(--color-accent, #C8432A);
  color: #fff;
  border-color: var(--color-accent, #C8432A);
}

.btn-accent:hover {
  background-color: #b13925;
  border-color: #b13925;
  box-shadow: 0 4px 16px rgba(200, 67, 42, 0.35);
}

.btn-ghost {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark, #1C1C1E);
  border-color: rgba(28, 28, 30, 0.25);
}

.btn-outline:hover {
  border-color: var(--color-accent, #C8432A);
  color: var(--color-accent, #C8432A);
}

.btn-gold {
  background-color: var(--color-gold, #D4A843);
  color: #1C1C1E;
  border-color: var(--color-gold, #D4A843);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #c49832;
  border-color: #c49832;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn--full {
  width: 100%;
  margin-top: auto;
}

/* ─── Section helpers ─────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section--dark {
  background-color: var(--color-dark, #1C1C1E);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent, #C8432A);
  margin-bottom: 0.75rem;
}

.section-eyebrow--light {
  color: var(--color-gold, #D4A843);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-dark, #1C1C1E);
  margin-bottom: 1rem;
}

.section-title--light {
  color: #fff;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.65;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.65);
}

/* ─── Scroll fade-in animation ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid children */
.features-grid .fade-in:nth-child(1),
.pricing-grid .fade-in:nth-child(1),
.steps-grid .fade-in:nth-child(1) { transition-delay: 0s; }

.features-grid .fade-in:nth-child(2),
.pricing-grid .fade-in:nth-child(2),
.steps-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }

.features-grid .fade-in:nth-child(3),
.pricing-grid .fade-in:nth-child(3),
.steps-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }

.features-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.features-grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.features-grid .fade-in:nth-child(6) { transition-delay: 0.40s; }


/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-icon {
  color: var(--color-accent, #C8432A);
  font-size: 1.05rem;
  line-height: 1;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Scrolled state */
.nav-scrolled {
  background-color: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Scrolled logo color adjustment */
.nav-scrolled .nav-logo {
  color: #fff;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background-color: var(--color-dark, #1C1C1E);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem; /* navbar offset */
}

/* Subtle grain overlay */
.hero-bg-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(200, 67, 42, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(212, 168, 67, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 10% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(200, 67, 42, 0.12);
  border: 1px solid rgba(200, 67, 42, 0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e8836d;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent, #C8432A);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Headline */
.hero-headline {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fff;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-disclaimer {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01em;
}

/* ─── Phone mockup ────────────────────────────────────────── */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 67, 42, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.mockup-phone {
  position: relative;
  z-index: 1;
  width: 280px;
  background-color: #0f0f10;
  border-radius: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    0 8px 24px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 20px 14px 24px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.mockup-notch {
  width: 90px;
  height: 8px;
  background-color: rgba(255,255,255,0.08);
  border-radius: 100px;
  margin: 0 auto 16px;
}

.mockup-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.mockup-restaurant-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.mockup-lang-badge {
  font-size: 0.6875rem;
  background-color: rgba(212, 168, 67, 0.15);
  color: var(--color-gold, #D4A843);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.mockup-category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent, #C8432A);
  margin-top: 4px;
}

.mockup-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-item-info {
  flex: 1;
  min-width: 0;
}

.mockup-item-name {
  font-size: 0.7813rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-item-desc {
  font-size: 0.6563rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-item-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-gold, #D4A843);
  flex-shrink: 0;
}

.mockup-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4px 0;
}

.mockup-qr-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 0;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
}

.mockup-qr-icon {
  font-size: 1.125rem;
  line-height: 1;
  opacity: 0.3;
}


/* ═══════════════════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════════════════ */
.social-proof {
  background-color: #fff;
  border-bottom: 1px solid rgba(28,28,30,0.07);
  padding: 1.25rem 0;
}

.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-proof-stars {
  font-size: 1.125rem;
  color: var(--color-gold, #D4A843);
  letter-spacing: 0.05em;
}

.social-proof-text {
  font-size: 0.9375rem;
  color: #4b5563;
  font-weight: 500;
}

.social-proof-text strong {
  color: var(--color-dark, #1C1C1E);
}

.social-proof-avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }
.avatar--a { background-color: #7c3aed; }
.avatar--b { background-color: #0ea5e9; }
.avatar--c { background-color: #059669; }
.avatar--d { background-color: #d97706; }
.avatar--e { background-color: var(--color-accent, #C8432A); }


/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */
.features {
  background-color: var(--color-bg, #FAFAF8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: #fff;
  border: 1px solid rgba(28,28,30,0.07);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: rgba(200, 67, 42, 0.2);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(200, 67, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent, #C8432A);
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark, #1C1C1E);
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing {
  padding-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  line-height: 1;
}

.plan-price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
}

.plan-price-amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.plan-price-period {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.plan-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

.plan-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  padding: 0.3rem 0.75rem;
  background: rgba(200,67,42,0.15);
  border: 1px solid rgba(200,67,42,0.35);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f0a090;
  letter-spacing: 0.01em;
}
.plan-trial-badge--gold {
  background: rgba(212,168,67,0.15);
  border-color: rgba(212,168,67,0.35);
  color: #D4A843;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.plan-feature--included {
  color: rgba(255,255,255,0.85);
}

.plan-feature--excluded {
  color: rgba(255,255,255,0.25);
}

.plan-feature--note {
  color: rgba(212, 168, 67, 0.7);
}

.plan-feature-icon {
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 0.15rem;
  width: 14px;
  text-align: center;
}

.plan-feature--included .plan-feature-icon { color: #4ade80; }
.plan-feature--excluded .plan-feature-icon { color: rgba(255,255,255,0.2); }
.plan-feature--note .plan-feature-icon { color: var(--color-gold, #D4A843); }

/* Popular card */
.pricing-card--popular {
  border-color: var(--color-accent, #C8432A);
  background-color: rgba(200, 67, 42, 0.06);
  box-shadow: 0 0 0 1px var(--color-accent, #C8432A), 0 8px 40px rgba(200,67,42,0.18);
  transform: scale(1.02);
}

.pricing-card--popular:hover {
  transform: scale(1.02) translateY(-5px);
}

.pricing-card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: var(--color-accent, #C8432A);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(200,67,42,0.35);
}

/* Chef card */
.pricing-card--chef {
  border-color: rgba(212, 168, 67, 0.4);
  background-color: rgba(212, 168, 67, 0.04);
}

.pricing-card--chef:hover {
  border-color: var(--color-gold, #D4A843);
  box-shadow: 0 0 0 1px rgba(212,168,67,0.5), 0 20px 60px rgba(212,168,67,0.12);
}

.pricing-card--chef .plan-name {
  color: var(--color-gold, #D4A843);
}

.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
}

/* ── Cycle toggle ─────────────────────────────────────────── */
.pricing-cycle-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 0.25rem;
  width: fit-content;
  margin: 0 auto 2.5rem;
}
.cycle-btn {
  background: transparent;
  border: none;
  border-radius: 40px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.cycle-btn.active {
  background: var(--color-accent, #C8432A);
  color: #fff;
}
.cycle-save-badge {
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.1rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cycle-btn.active .cycle-save-badge {
  background: rgba(255,255,255,0.25);
}


/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.how-it-works {
  background-color: var(--color-bg, #FAFAF8);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.666% + 24px);
  right: calc(16.666% + 24px);
  height: 2px;
  background: linear-gradient(90deg,
    var(--color-accent, #C8432A) 0%,
    rgba(200,67,42,0.3) 50%,
    rgba(200,67,42,0.3) 100%);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-accent, #C8432A);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(200,67,42,0.3);
  flex-shrink: 0;
}

.step-connector {
  display: none; /* handled by ::before on parent */
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: rgba(200, 67, 42, 0.07);
  border: 1px solid rgba(200, 67, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent, #C8432A);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark, #1C1C1E);
}

.step-desc {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.65;
  max-width: 260px;
}

.how-cta {
  text-align: center;
  margin-top: 3.5rem;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer-dark {
  background-color: #111113;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo {
  color: #fff;
  font-size: 1.0625rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  max-width: 240px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: center;
}

.footer-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: rgba(255,255,255,0.9);
  background-color: rgba(255,255,255,0.06);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}

.footer-copy,
.footer-powered {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 900px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 3rem 1.5rem 4rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subheadline {
    max-width: 100%;
  }

  .hero-mockup {
    order: -1;
  }

  .mockup-phone {
    width: 240px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card--popular {
    transform: scale(1);
  }

  .pricing-card--popular:hover {
    transform: translateY(-5px);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .steps-grid::before {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 600px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 17, 19, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 999;
    padding: 2rem;
  }

  .nav-menu.nav-menu--open {
    display: flex;
  }

  .nav-menu .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.85);
    width: 100%;
    text-align: center;
  }

  .nav-menu .nav-cta {
    width: 100%;
    max-width: 260px;
    margin-top: 0.5rem;
    margin-left: 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-inner {
    padding: 2rem 1.25rem 3rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}


/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mockup-phone {
    animation: none;
  }

  .hero-badge-dot {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
