/* =============================================
   Nouvelle — Landing Page Styles
   ============================================= */

/* --- Custom Properties --- */
:root {
  --gold: #C5A55A;
  --gold-light: #D4BC7C;
  --gold-pale: #F5EDDA;
  --cream: #FBF8F1;
  --ivory: #EDE7DA;
  --deep: #1C1714;
  --wine: #6B2D3E;
  --wine-light: #8A3A4F;
  --sage: #7A8C6E;
  --gray: #6B6259;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;

  --gold-frame: linear-gradient(135deg, #C5A55A 0%, #D4BC7C 40%, #E8D9A0 50%, #D4BC7C 60%, #C5A55A 100%);
  --wine-gradient: linear-gradient(135deg, #6B2D3E 0%, #8A3A4F 100%);

  --nav-height: 64px;
}

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

/* --- Base --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 30px;
  line-height: 1.6;
  color: var(--deep);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--wine);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--wine-light);
}

ul {
  list-style: none;
}

s {
  color: var(--gray);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-body);
  font-weight: 600;
  z-index: 9999;
  border-radius: 0;
}

.skip-link:focus {
  top: 8px;
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Container --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--deep);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--deep);
}

.btn--wine {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}

.btn--wine:hover {
  background: var(--wine-light);
  border-color: var(--wine-light);
  color: var(--cream);
}

.btn--full {
  display: block;
  width: 100%;
}

/* --- Gold Frame --- */
.gold-frame {
  padding: 3px;
  background: var(--gold-frame);
  border-radius: 4px;
}

.gold-frame__inner {
  background: var(--cream);
  padding: 32px;
  border-radius: 2px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* --- Ornamental Divider --- */
.ornament {
  display: flex;
  justify-content: center;
  margin: 16px 0 32px;
}

.ornament--light svg circle,
.ornament--light svg path {
  fill: var(--gold-light);
}

.ornament--light svg line {
  stroke: var(--gold-light);
}

/* --- Shimmer Animation --- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 25%,
    #E8D9A0 50%,
    var(--gold-light) 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}

/* --- Diamond Pattern Background --- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30,0 60,30 30,60 0,30' fill='%23C5A55A' /%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.06;
  pointer-events: none;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(251, 248, 241, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-pale);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav__wordmark:hover {
  color: var(--gold-light);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 500;
  color: var(--deep);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header:not(.scrolled) .nav__link {
  color: var(--deep);
}

.nav__link:hover {
  color: var(--gold);
}

.nav__cta {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--gold);
  color: var(--deep);
  border-radius: 0;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav__cta:hover {
  background: var(--gold-light);
  color: var(--deep);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px 24px 80px;
  background-color: var(--ivory);
  text-align: center;
  overflow: hidden;
}

.hero__ornament {
  position: absolute;
  z-index: 1;
}

.hero__ornament--tl { top: 24px; left: 24px; }
.hero__ornament--tr { top: 24px; right: 24px; }
.hero__ornament--bl { bottom: 24px; left: 24px; }
.hero__ornament--br { bottom: 24px; right: 24px; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--deep);
  margin-bottom: 16px;
}

.hero__title em {
  font-style: italic;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(26px, 3.2vw, 30px);
  font-weight: 400;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.04em;
}

/* =============================================
   SECTIONS (shared)
   ============================================= */
.section {
  padding: 96px 0;
}

.section--ivory {
  background-color: var(--ivory);
}

.section--cream {
  background-color: var(--cream);
}

.section--deep {
  background-color: var(--deep);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  text-align: center;
  color: var(--deep);
  line-height: 1.2;
}

.section--deep .section__title {
  color: var(--cream);
}

/* --- Scroll Reveal --- */
.section {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 16px;
}

.step {
  text-align: center;
}

.step__number {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 12px;
}

.step__text {
  font-family: var(--font-body);
  font-size: 25px;
  color: var(--deep);
  line-height: 1.6;
}

/* =============================================
   MENU DEMO
   ============================================= */
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

.demo__card-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 20px;
  text-align: center;
}

.demo__menu {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
  gap: 0;
}

.demo__menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gold-pale);
  font-family: var(--font-body);
  font-size: 24px;
}

.demo__menu-item:last-child {
  border-bottom: none;
}

.demo__day {
  font-weight: 600;
  color: var(--wine);
  min-width: 90px;
}

.demo__meal {
  flex: 1;
  color: var(--deep);
}


/* Grocery */
.demo__grocery-group {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--wine);
  margin-top: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.demo__grocery-group:first-child {
  margin-top: 0;
}

.demo__checklist li {
  padding: 4px 0;
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--deep);
}

.demo__checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.demo__checklist input[type="checkbox"] {
  accent-color: var(--sage);
  width: 16px;
  height: 16px;
}

.demo__checklist s {
  color: var(--gray);
}

.demo__estimate {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gold-pale);
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--deep);
  text-align: center;
}

/* =============================================
   WHO IT'S FOR
   ============================================= */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.persona__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 12px;
}

.persona__text {
  font-family: var(--font-body);
  font-size: 25px;
  color: var(--deep);
  line-height: 1.6;
}

/* =============================================
   COMPARISON
   ============================================= */
.comparison__frame {
  max-width: 800px;
  margin: 16px auto 0;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 25px;
}

.comparison__table th {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  padding: 16px 12px;
  text-align: left;
  border-bottom: 2px solid var(--gold-pale);
  color: var(--deep);
}

.comparison__highlight {
  color: var(--wine);
}

.comparison__table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--gold-pale);
  vertical-align: top;
}

.comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.comparison__table td:first-child {
  font-weight: 600;
  color: var(--deep);
}

.comparison__ours {
  color: var(--sage);
  font-weight: 600;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.testimonial__text {
  font-family: var(--font-body);
  font-size: 25px;
  font-style: italic;
  color: var(--deep);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial__author {
  font-family: var(--font-body);
  font-size: 23px;
  font-weight: 600;
  color: var(--gray);
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 16px;
}

.pricing__card .gold-frame__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--wine);
  padding: 4px 16px;
  margin-bottom: 16px;
  border-radius: 0;
}

.pricing__name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 8px;
}

.pricing__price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing__period {
  font-family: var(--font-body);
  font-size: 23px;
  color: var(--gray);
  margin-bottom: 24px;
}

.pricing__features {
  text-align: left;
  width: 100%;
  margin-bottom: 24px;
}

.pricing__features li {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--deep);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.pricing__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.pricing__card--featured {
  transform: scale(1.05);
}

.pricing__card--featured .gold-frame__inner {
  background: var(--ivory);
}

/* =============================================
   FINAL CTA
   ============================================= */
.cta {
  text-align: center;
  max-width: 640px;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.cta__subtitle {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--gold-pale);
  margin-bottom: 32px;
  line-height: 1.5;
}

.cta__note {
  font-family: var(--font-body);
  font-size: 21px;
  color: var(--gray);
  margin-top: 16px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background-color: var(--deep);
  border-top: 1px solid rgba(197, 165, 90, 0.2);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 21px;
  color: var(--gray);
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: 21px;
  color: var(--gray);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--gold);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .steps,
  .personas,
  .testimonials,
  .pricing {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .pricing__card--featured {
    transform: none;
  }

  .comparison__table {
    font-size: 23px;
  }
}

@media (max-width: 720px) {
  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(251, 248, 241, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid var(--gold-pale);
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    color: var(--deep);
    font-size: 26px;
  }

  /* Hero */
  .hero__ornament { display: none; }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* Sections */
  .section {
    padding: 64px 0;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .demo__menu-item {
    flex-wrap: wrap;
  }

  .demo__day {
    min-width: auto;
  }

  .comparison__frame .gold-frame__inner {
    padding: 16px 12px;
  }

  .comparison__table th,
  .comparison__table td {
    padding: 10px 8px;
    font-size: 21px;
  }
}
