/* ==========================================================================
   Wine List — Order Confidently
   Dark bordeaux theme
   ========================================================================== */

:root {
  --bg: #0e0b0c;
  --bg-soft: #131012;
  --surface: #171316;
  --surface-2: #1d171b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f6f1ee;
  --muted: #a9a1a3;
  --muted-2: #837b7e;
  --accent: #c04753;
  --accent-soft: rgba(192, 71, 83, 0.14);
  --accent-glow: rgba(192, 71, 83, 0.35);
  --accent-hover: #d25a66;
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Background texture: faint bordeaux glow behind the hero
   -------------------------------------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% -12%, rgba(192, 71, 83, 0.09), transparent 65%),
    radial-gradient(ellipse 55% 40% at 88% 108%, rgba(192, 71, 83, 0.05), transparent 60%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(14, 11, 12, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; }

.brand span { white-space: nowrap; }

.brand .brand-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--muted);
}

.nav-links a { transition: color 0.18s ease; }
.nav-links a:hover { color: var(--text); }

.badge-sm { display: none; }

/* --------------------------------------------------------------------------
   Buttons & badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px var(--accent-glow);
  background: var(--accent-hover);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.appstore-badge {
  display: inline-block;
  height: 56px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.appstore-badge:hover { transform: translateY(-1px); opacity: 0.94; }
.appstore-badge svg, .appstore-badge img { height: 100%; width: auto; display: block; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 84px 0 72px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin-bottom: 22px;
}

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

.hero p.lede {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.fact b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.fact span { font-size: 13.5px; color: var(--muted-2); }

/* Hero phone visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .phone {
  position: relative;
  width: min(340px, 74%);
  border-radius: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, 0.035),
    0 40px 90px rgba(0, 0, 0, 0.65),
    0 0 110px var(--accent-glow);
  background: #000;
}

.hero-visual .phone img { width: 100%; height: auto; }

.hero-visual .ring {
  position: absolute;
  inset: auto;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: -1;
  transform: translateY(-46%);
}
.hero-visual .ring::before,
.hero-visual .ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-visual .ring::after { inset: 28%; }

.hero-visual .spin-label {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 11, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.hero-visual .spin-label b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */
section { padding: 76px 0; }

.sec-head {
  max-width: 640px;
  margin-bottom: 46px;
}

.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 12px;
}

.sec-head p { color: var(--muted); font-size: 17px; }

.sec-head.center { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.features { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 30%, transparent); }

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

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 71, 83, 0.4);
}

.feature .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature .ico svg { width: 21px; height: 21px; }

.feature h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  overflow: hidden;
}

.step .num {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.045);
  line-height: 1;
  user-select: none;
}

.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

.step .chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Screenshots
   -------------------------------------------------------------------------- */
.screenshots { overflow: hidden; }

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(230px, 34vw);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 26px;
  scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }

.scroll-row figure {
  scroll-snap-align: center;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.scroll-row figure:hover { transform: translateY(-4px) scale(1.01); }
.scroll-row figure img { width: 100%; height: auto; }

.scroll-hint {
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Privacy
   -------------------------------------------------------------------------- */
.privacy { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 30%, transparent); }

.privacy-more {
  text-align: center;
  margin-top: 34px;
  font-size: 15.5px;
}

.privacy-more a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(192, 71, 83, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.privacy-more a:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

/* --------------------------------------------------------------------------
   Support
   -------------------------------------------------------------------------- */
.support .card {
  background: linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support .card::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: 50%;
  top: -220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
}

.support h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.025em; margin-bottom: 10px; }
.support p { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }

.support .mail {
  color: var(--muted-2);
  font-size: 13.5px;
  margin-top: 16px;
}
.support .mail a { color: var(--muted); border-bottom: 1px solid var(--line); }
.support .mail a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  font-size: 13.5px;
  color: var(--muted-2);
}

.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-links { display: flex; gap: 20px; margin-left: auto; }
.foot-links a { transition: color 0.16s ease; }
.foot-links a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Sub pages (privacy / support)
   -------------------------------------------------------------------------- */
.page-hero { padding: 72px 0 30px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 46px); letter-spacing: -0.025em; margin-bottom: 8px; }
.page-hero .meta { color: var(--muted-2); font-size: 14px; }

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 24px 90px;
}

.doc h2 {
  font-size: 21px;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.doc h3 { font-size: 16.5px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--accent); border-bottom: 1px solid rgba(192, 71, 83, 0.4); }
.doc strong { color: var(--text); font-weight: 600; }

.page-ctas {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 24px 90px;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature:hover, .scroll-row figure:hover, .btn-primary:hover, .appstore-badge:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-visual .ring { display: none; }
  .hero { padding-top: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .badge-sm { display: inline-block; height: 38px; margin-left: auto; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 38px; }
  .hero-facts { gap: 20px; flex-wrap: wrap; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn-ghost { width: 100%; }
  .support .card { padding: 44px 24px; }
}
