/* ═══════════════════════════════════════════
   AnneHand Marketing — Premium Design System
   ═══════════════════════════════════════════ */

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

:root {
  /* Brand */
  --brand: #f59e0b;
  --brand-light: #fbbf24;
  --brand-dark: #d97706;

  /* Surfaces */
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --bg-section-alt: #08080d;

  /* Text */
  --text: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Gradient */
  --gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);

  /* Sizing */
  --nav-height: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Utilities ─── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-warm);
  color: #000;
  padding: 12px 28px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text);
  padding: 12px 28px;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--glass-border);
  border-color: var(--border-hover);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

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

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 16px 24px 24px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  padding: 14px 0;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 8px;
  text-align: center;
}

.mobile-menu.open {
  display: flex;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 60%, rgba(239, 68, 68, 0.06) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

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

.section-dark {
  background: var(--bg-section-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── SVG Icon Containers ─── */
.step-icon-svg,
.feature-icon-svg,
.perk-icon-svg {
  color: var(--brand);
}

.step-icon-svg {
  margin-bottom: 20px;
}

.feature-icon-svg {
  margin-bottom: 16px;
  color: var(--brand);
}

.perk-icon-svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
}

/* ─── Steps Grid ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.4;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Menu Showcase ─── */
.menu-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cook-preview-card {
  padding: 28px;
  transition: all 0.3s ease;
}

.cook-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.cook-preview-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.cook-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.cook-avatar-circle.lg {
  width: 52px;
  height: 52px;
  font-size: 1rem;
}

.cook-preview-name {
  font-weight: 700;
  font-size: 1rem;
}

.cook-preview-location {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cook-preview-rating {
  margin-left: auto;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
}

.cook-preview-rating span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cook-preview-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
}

.menu-price {
  font-weight: 700;
  color: var(--brand);
}

/* ─── Cook Section ─── */
.cook-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cook-content .section-tag {
  display: block;
  text-align: left;
}

.cook-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cook-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cook-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.cook-perks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cook-perks strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.cook-perks p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cook preview card */
.cook-visual {
  display: flex;
  justify-content: center;
}

.cook-card {
  width: 100%;
  max-width: 380px;
  padding: 28px;
}

.cook-card-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.cook-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.cook-cuisine {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cook-card-stats {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.cook-card-stats div {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cook-card-stats strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.cook-card-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
}

/* ─── Safety Grid ─── */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.safety-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.safety-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.safety-card .feature-icon-svg {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.safety-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.safety-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── FAQ ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── CTA Section ─── */
.section-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    var(--bg);
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}

.store-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.store-btn svg {
  flex-shrink: 0;
  color: var(--text);
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: left;
}

.store-btn strong {
  font-size: 1rem;
  font-weight: 700;
}

/* ─── Footer ─── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .steps-grid,
  .features-grid,
  .safety-grid,
  .menu-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .cook-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cook-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 48px 0;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-num {
    font-size: 1.2rem;
  }

  .steps-grid,
  .features-grid,
  .safety-grid,
  .menu-showcase {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

/* ─── Animations ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.5s; }
