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

:root {
  /* Warm light / "wine country" theme — matches the app. `--white` is the dark
     ink used for headings (named for parity with the original markup). */
  --bg:       #F4EDE3;
  --surface:  #FFFFFF;
  --surface2: #FBF4EB;
  --border:   #E7DCCE;
  --text:     #3A2C32;
  --muted:    #6E5A60;
  --dim:      #A8979E;
  --gold:     #C23A57;
  --gold-lt:  #D85E78;
  --gold-dk:  #7A2238;
  --white:    #2A1218;
  --danger:   #C0392B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244, 237, 227, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.1rem;
  color: var(--text);
}
.nav-logo-img { width: 32px; height: 32px; border-radius: 4px; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
/* The nav CTA is a button — keep its on-accent text, not the muted link colour. */
.nav-links a.btn-small, .nav-links a.btn-small:hover,
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }

/* Mobile toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: 0.2s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; font-weight: 600; font-size: 0.95rem;
  border-radius: 8px; transition: all 0.25s; cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--gold); color: #fff; padding: 14px 32px;
}
.btn-primary:hover { background: var(--gold-lt); }
.btn-ghost {
  border: 1px solid var(--gold); color: var(--gold); padding: 13px 32px;
}
.btn-ghost:hover { background: rgba(200, 150, 59, 0.1); }
.btn-small {
  background: var(--gold); color: #fff; padding: 8px 20px;
  font-size: 0.85rem; border-radius: 6px;
}
.btn-small:hover { background: var(--gold-lt); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(194,58,87,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(194,58,87,0.04) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-logo {
  width: 400px; margin: 0 auto 40px;
  filter: drop-shadow(0 4px 24px rgba(194,58,87,0.25));
}
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: 3.5rem;
  font-weight: 700; line-height: 1.15; margin-bottom: 20px;
  color: var(--white);
}
.hero-sub {
  font-size: 1.2rem; color: var(--muted); max-width: 500px;
  margin: 0 auto 36px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid var(--gold-dk);
  border-bottom: 2px solid var(--gold-dk);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--surface); }
.section-title {
  font-family: 'Playfair Display', serif; font-size: 2.4rem;
  font-weight: 700; text-align: center; margin-bottom: 12px;
  color: var(--white);
}
.section-sub {
  text-align: center; color: var(--muted); font-size: 1.05rem;
  max-width: 560px; margin: 0 auto 56px; font-weight: 300;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 28px;
  position: relative; z-index: 1;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s, opacity 0.35s, filter 0.35s;
}
.features-grid:hover .feature-card {
  opacity: 0.5; filter: blur(1px);
}
.features-grid:hover .feature-card:hover {
  opacity: 1; filter: none;
  transform: scale(1.08); z-index: 10;
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(194,58,87,0.25);
}
.feature-icon {
  width: 44px; height: 44px; margin-bottom: 20px; color: var(--gold);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  margin-bottom: 10px; color: var(--white);
}
.feature-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== STEPS ===== */
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.step {
  text-align: center; flex: 0 1 200px; padding: 0 12px;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  font-weight: 700; margin: 0 auto 16px;
}
.step h3 {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  margin-bottom: 8px; color: var(--white);
}
.step p { color: var(--muted); font-size: 0.9rem; }
.step-line {
  width: 48px; height: 2px; background: var(--border);
  margin-top: 24px; flex-shrink: 0;
}

/* ===== TASTING WHEEL ===== */
.wheel-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.wheel-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px; text-align: center;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s, z-index 0s;
  position: relative; z-index: 1;
}
.wheel-grid:hover .wheel-item {
  opacity: 0.5; filter: blur(1px);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s, opacity 0.35s, filter 0.35s;
}
.wheel-grid:hover .wheel-item:hover {
  opacity: 1; filter: none;
  transform: scale(1.15); z-index: 10;
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(194,58,87,0.25);
}
.wheel-label {
  display: block; font-family: 'Playfair Display', serif;
  font-weight: 600; color: var(--gold); font-size: 1rem;
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.wheel-desc {
  display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.5;
}

/* ===== COLOUR BAR ===== */
.colour-bar {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.colour-swatch {
  width: 100px; text-align: center;
}
.colour-swatch::before {
  content: ''; display: block; width: 100%; padding-bottom: 100%;
  background: var(--c); border-radius: 50%;
  border: 2px solid var(--border);
  margin-bottom: 8px;
  transition: transform 0.3s;
}
.colour-swatch:hover::before { transform: scale(1.1); }
.colour-swatch span {
  font-size: 0.75rem; color: var(--muted); white-space: nowrap;
}

/* ===== CTA ===== */
.section-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(194,58,87,0.06) 0%, transparent 70%),
    var(--bg);
}
.cta-buttons {
  display: flex; gap: 16px; justify-content: center; margin-bottom: 20px;
  flex-wrap: wrap;
}
.store-badge { transition: opacity 0.2s; }
.store-badge:hover { opacity: 0.8; }
.cta-note { color: var(--dim); font-size: 0.85rem; }

/* ===== SCREENSHOTS CAROUSEL ===== */
.carousel { position: relative; max-width: 1100px; margin: 44px auto 0; }
.shots-track {
  display: flex; gap: 20px; overflow-x: auto; align-items: flex-start;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 18px; scrollbar-width: thin;
  scrollbar-color: var(--gold-dk) transparent;
}
.shots-track::-webkit-scrollbar { height: 8px; }
.shots-track::-webkit-scrollbar-thumb { background: var(--gold-dk); border-radius: 4px; }
.shot {
  flex: 0 0 auto; scroll-snap-align: center; margin: 0;
  width: 230px; max-width: 86vw;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text);
  padding: 12px 14px; border-top: 1px solid var(--border); line-height: 1.4;
}
.carousel-btn {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--gold); color: #fff; border: none;
  font-size: 1.6rem; line-height: 1; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12); transition: opacity 0.2s;
}
.carousel-btn:hover { opacity: 0.85; }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
@media (max-width: 700px) {
  .carousel-btn { display: none; }
  .shot { width: 200px; }
}
.shot img { cursor: zoom-in; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.92); padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 94vw; max-height: 90vh; border-radius: 10px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.7);
}
.lightbox-close {
  position: absolute; top: 16px; right: 26px;
  background: transparent; border: none; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 780px; margin: 0 auto; align-items: start;
}
.price-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px 32px; position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(194,58,87,0.18);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
  white-space: nowrap;
}
.price-plan {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: var(--white); margin-bottom: 6px;
}
.price-amount {
  font-family: 'Playfair Display', serif; font-size: 2.6rem;
  font-weight: 700; color: var(--gold); margin-bottom: 6px; line-height: 1.1;
}
.price-was-line {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--muted); line-height: 1.1; margin-bottom: 2px;
}
.price-was-line .strike {
  text-decoration: line-through; text-decoration-color: #E03131; text-decoration-thickness: 3px;
}
.price-was-line .price-period { color: var(--muted); }
.price-period {
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  font-weight: 400; color: var(--muted);
}
.price-launch {
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500;
  color: var(--muted); margin-bottom: 22px; line-height: 1.4;
}
.discount-burst {
  position: absolute; top: -26px; right: -18px; z-index: 6;
  width: 104px; height: 104px;
  transform: rotate(-12deg);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45));
}
.price-features {
  list-style: none; margin: 0 0 28px; display: flex;
  flex-direction: column; gap: 12px;
}
.price-features li {
  position: relative; padding-left: 26px;
  color: var(--text); font-size: 0.92rem;
}
.price-features li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.price-cta { display: block; width: 100%; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border); padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: 0.95rem; color: var(--text);
}
.footer-logo { width: 24px; height: 24px; border-radius: 3px; }
.footer-copy { color: var(--dim); font-size: 0.8rem; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .wheel-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 16px;
  }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: 2.4rem; }
  .hero-logo { width: 160px; }
  .hero-sub { font-size: 1rem; }

  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }

  .features-grid { grid-template-columns: 1fr; }
  .wheel-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-line { width: 2px; height: 32px; margin: 0; }

  .colour-swatch { width: 72px; }

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