/* ========================================
   LookbookMenu — Premium Warm Palette Styles
   Mobile-first, scroll-friendly
   ======================================== */

/* ---------- CSS Variables (Warm Palette) ---------- */
:root {
  /* Warm palette */
  --bg: #fff7ed;              /* warm cream */
  --surface: #ffffff;
  --ink: #1f160f;             /* warm near-black */
  --muted: rgba(31,22,15,.68);

  --line: rgba(31,22,15,.10);

  --accent: #f97316;          /* orange */
  --accent-2: #f59e0b;        /* amber */
  --accent-ink: #1f160f;

  --shadow: 0 18px 50px rgba(31,22,15,.10);
  --shadow-soft: 0 12px 30px rgba(31,22,15,.08);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  /* Warm gradients for placeholders */
  --gradient-1: #fde8d7;
  --gradient-2: #fcd9bd;
  --gradient-3: #fbcca3;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --transition: 0.15s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle warm "restaurant lighting" glow */
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(249,115,22,.18), transparent 55%),
    radial-gradient(700px 420px at 80% 0%, rgba(245,158,11,.18), transparent 60%),
    radial-gradient(900px 600px at 60% 95%, rgba(249,115,22,.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  color: var(--muted);
}

a {
  color: inherit;
}

/* ---------- Section Title with Warm Underline ---------- */
.section-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(249,115,22,.30), rgba(245,158,11,.18), transparent);
}

/* ---------- Buttons (Warm & Glowy) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a120b;
  border-color: rgba(31,22,15,.10);
  box-shadow: 0 14px 30px rgba(249,115,22,.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(249,115,22,.26);
}

.btn-secondary {
  background: rgba(255,255,255,.75);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

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

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: var(--space-md);
  color: var(--ink);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* ---------- Phone Mockup (Warm Polish) ---------- */
.hero-phone {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(31,22,15,.12);
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow: 0 30px 70px rgba(31,22,15,.14);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(249,115,22,.25), rgba(245,158,11,.15), transparent 60%);
  pointer-events: none;
  filter: blur(12px);
  opacity: .8;
  z-index: -1;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: var(--ink);
  border-radius: 20px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  padding: var(--space-md);
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.phone-card {
  flex: 1;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  border-radius: var(--radius);
  animation: shimmer 3s ease-in-out infinite;
}

.phone-card:nth-child(2) {
  animation-delay: 0.5s;
  background: linear-gradient(135deg, var(--gradient-2), var(--gradient-3));
}

.phone-card:nth-child(3) {
  animation-delay: 1s;
  background: linear-gradient(135deg, var(--gradient-3), var(--gradient-1));
}

@keyframes shimmer {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ========================================
   PROBLEM (The PDF Problem)
   ======================================== */
.problem {
  padding: var(--space-lg) 0;
  background: var(--surface);
  text-align: center;
}

.problem-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.problem-text {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--ink);
}

/* ========================================
   AHA (Sell the Visit)
   ======================================== */
.aha {
  padding: var(--space-lg) 0;
  text-align: center;
}

.aha-contrast {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--muted);
}

.aha-question {
  color: var(--muted);
}

.aha-answer {
  color: var(--ink);
  font-weight: 600;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  padding: var(--space-xl) 0;
  background: var(--surface);
}

.how-it-works .section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: block;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* Warm Card Styling */
.step-card {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  padding: var(--space-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,.22);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a120b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 8px 20px rgba(249,115,22,.25);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.step-desc {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ========================================
   PROOF / SCREENSHOTS
   ======================================== */
.proof {
  padding: var(--space-2xl) 0;
}

.proof .section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: block;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.dish-card {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dish-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,.22);
}

.dish-image {
  width: 100%;
  height: 100%;
  /* Gradient placeholder — replace with: background-image: url('../assets/dish-1.jpg'); background-size: cover; */
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
}

.dish-card:nth-child(2) .dish-image {
  background: linear-gradient(135deg, var(--gradient-2), var(--gradient-3), var(--gradient-1));
}

.dish-card:nth-child(3) .dish-image {
  background: linear-gradient(135deg, var(--gradient-3), var(--gradient-1), var(--gradient-2));
}

.dish-card:nth-child(4) .dish-image {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3), var(--gradient-2));
}

.dish-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  background: linear-gradient(transparent, rgba(31,22,15,.6));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.proof-note {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ========================================
   USE CASES
   ======================================== */
.use-cases {
  padding: var(--space-xl) 0;
  background: var(--surface);
}

.use-cases .section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: block;
}

.use-case-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.use-case {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  padding: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.use-case:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,.22);
}

.use-case-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.use-case-list {
  list-style: none;
}

.use-case-list li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
}

.use-case-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ========================================
   HERO BADGE (No App)
   ======================================== */
.hero-badge {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ========================================
   DUAL USE (One Lookbook, Two Revenue Paths)
   ======================================== */
.dual-use {
  padding: var(--space-xl) 0;
  background: var(--surface);
}

.dual-use .section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: block;
}

.dual-use-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.dual-use-card {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  padding: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dual-use-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,.22);
}

.dual-use-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.dual-use-list {
  list-style: none;
}

.dual-use-list li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
}

.dual-use-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.dual-use-summary {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 500;
}

/* ========================================
   COMPANION NOTE
   ======================================== */
.companion-note {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
  color: var(--ink);
}

.cta-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: var(--space-lg) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ========================================
   ANIMATIONS — Fade in on scroll
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE — Tablet & Desktop
   ======================================== */
@media (min-width: 640px) {
  .hero-ctas,
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .screenshot-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    text-align: left;
    flex: 1;
  }

  .hero-subtitle {
    margin-left: 0;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-phone {
    flex: 0 0 auto;
  }

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

  .use-case-columns,
  .dual-use-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .phone-mockup {
    width: 300px;
    height: 600px;
  }
}
