/* ═══════════════════════════════════════════
   DateChef – site.css
   ═══════════════════════════════════════════ */

:root {
  --ink: #1d1d1f;
  --ink-soft: #4b4450;
  --charcoal: #171719;
  --charcoal-soft: #232227;
  --white: #ffffff;
  --rose: #ef6d99;
  --rose-soft: #f5bfd0;
  --pink-dust: #e7a0bc;
  --violet: #7f68c4;
  --violet-deep: #40356f;
  --mint: #9edcc2;
  --glass-border: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--charcoal);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

body, button, input, textarea { font-size: 16px; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ─── HEADER ─── */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  color: var(--white);
}

.site-header::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(23, 23, 25, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  border-bottom: 1px solid var(--glass-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--rose-soft); }

.nav-cta { display: flex; }

.nav-download-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(239, 109, 153, 0.35);
}

.nav-links a:focus-visible,
.store-badge:focus-visible,
.contact-link:focus-visible,
.footer-links a:focus-visible,
.nav-download-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
}

/* ─── HERO ─── */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 130px max(24px, calc((100vw - 1160px) / 2)) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 480px);
  align-items: center;
  gap: 56px;
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(247, 176, 194, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 30%, rgba(127, 104, 196, 0.25) 0%, transparent 70%),
    linear-gradient(128deg, rgba(247, 176, 194, 0.98) 0%, rgba(244, 122, 158, 0.98) 30%, rgba(126, 103, 195, 0.98) 68%, rgba(39, 34, 65, 0.98) 100%),
    linear-gradient(180deg, #f8c6d5 0%, #8066bd 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%; right: -8%; bottom: -74px;
  height: 148px;
  background: var(--charcoal);
  transform: rotate(-2deg);
}

.hero-copy, .hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dark-eyebrow { color: var(--violet); }

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: 68px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffd4e0, #ffffff, #d4c4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.highlight-chip {
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  min-height: 56px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  background: rgba(23, 23, 25, 0.22);
  backdrop-filter: blur(12px);
  transition: transform 0.2s, background 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: rgba(23, 23, 25, 0.38);
}

.store-svg { opacity: 0.9; flex-shrink: 0; }

.store-badge span { font-size: 11px; font-weight: 600; opacity: 0.8; }
.store-badge strong { display: block; font-size: 16px; line-height: 1.15; }

.hero-sub-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   PHONE DEVICE — Realistic iPhone-style frame
   ═══════════════════════════════════════════ */

.phone-device {
  position: relative;
  display: inline-block;
}

/* Outer bezel */
.phone-frame {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19;
  padding: 14px 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #e8e8ec, #c8c8ce 30%, #b0b0b6 70%, #d5d5da);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Inner dark bezel */
.phone-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 42px;
  background: #1a1a1e;
  z-index: 0;
}

/* Screen image */
.phone-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 36px;
  display: block;
  background: #ffffff;
}

/* Small variant for How It Works section */
.phone-device-sm .phone-frame {
  width: 260px;
  padding: 12px 8px;
  border-radius: 40px;
}

.phone-device-sm .phone-frame::before {
  inset: 3px;
  border-radius: 37px;
}

.phone-device-sm .phone-img {
  border-radius: 32px;
}

/* ─── HERO VISUAL ─── */

.hero-visual {
  min-height: 580px;
  display: grid;
  place-items: center;
}

/* ═══════════════════════════════════════════
   SCROLLING MARQUEE — Social Proof
   ═══════════════════════════════════════════ */

.marquee-bar {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 20px 0;
  background: linear-gradient(135deg, var(--rose), var(--violet));
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee-scroll 28s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.marquee-item strong {
  font-weight: 900;
  font-size: 15px;
}

.marquee-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTIONS SHARED ─── */

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 760px; text-align: center; }

.dark-band {
  color: var(--white);
  background: var(--charcoal);
}

/* ─── STATEMENT ─── */

.statement { padding: 112px 0 96px; }

.statement h2,
.features h2,
.why h2,
.quote-band h2,
.site-footer h2,
.how-it-works h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.statement p:not(.eyebrow) {
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: 17px;
}

.statement p strong { color: var(--rose-soft); }

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */

.how-it-works {
  padding: 100px 0 110px;
  background: #fdfafb;
  color: var(--ink);
}

.how-it-works h2 { text-align: center; }
.how-it-works > .section-inner > .eyebrow { text-align: center; }

.flow-steps {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  align-items: center;
}

.flow-step-reverse {
  grid-template-columns: 1fr auto;
}

.flow-step-reverse .flow-phone { order: 2; }
.flow-step-reverse .flow-text { order: 1; }

.flow-phone {
  display: flex;
  justify-content: center;
}

.step-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.flow-text h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.flow-text p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 16px;
  max-width: 440px;
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */

.pink-band {
  padding: 96px 0 100px;
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 80%, rgba(127, 104, 196, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, rgba(245, 191, 208, 0.96) 0%, rgba(239, 109, 153, 0.96) 48%, rgba(127, 104, 196, 0.88) 100%),
    #f3a4bd;
}

.features .eyebrow { color: rgba(255, 255, 255, 0.76); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  min-height: 380px;
  padding: 18px 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.feature-card h3 {
  margin: 18px 0 10px;
  color: var(--white);
  font-size: 21px;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 15px;
}

.feature-art {
  min-height: 184px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.mood-art, .partner-art, .share-art {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.mood-art span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.mood-art span:nth-child(2) { background: rgba(158, 220, 194, 0.86); }

.partner-art {
  grid-template-columns: 1fr;
  align-content: center;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.16));
}

.partner-art span {
  display: block;
  width: 72%;
  min-height: 40px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 800;
}

.partner-art span:nth-child(2) {
  justify-self: center;
  color: var(--white);
  background: var(--violet-deep);
}

.partner-art span:nth-child(3) {
  justify-self: end;
  background: var(--rose-soft);
}

.share-art {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  background: linear-gradient(160deg, #ffffff, #f2d8e7);
}

.share-art span {
  min-height: 130px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f4b860 45%, #ef6d99 100%);
}

.share-art span:nth-child(2) {
  min-height: 158px;
  background: linear-gradient(180deg, #ffffff 0%, #9edcc2 48%, #7f68c4 100%);
}

.share-art span:nth-child(3) { min-height: 112px; }

/* ═══════════════════════════════════════════
   WHY
   ═══════════════════════════════════════════ */

.why { padding: 104px 0 112px; }

.why-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 60px;
  align-items: start;
}

.why-subtitle {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  font-size: 16px;
}

.reason-list { display: grid; gap: 28px; }

.reason-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}

.reason-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--mint);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.03);
}

.reason-list h3 { margin: 0 0 8px; font-size: 20px; }

.reason-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  font-size: 15px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 84px;
}

.stat-card {
  min-height: 126px;
  padding: 24px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-dust), var(--rose) 46%, var(--violet));
  transition: transform 0.3s;
}

.stat-card:hover { transform: scale(1.03); }

.stat-card strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.stat-card span {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
}

/* ═══════════════════════════════════════════
   QUOTE / CTA
   ═══════════════════════════════════════════ */

.quote-band {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: var(--white);
  background:
    radial-gradient(ellipse at 30% 60%, rgba(127, 104, 196, 0.2) 0%, transparent 60%),
    linear-gradient(120deg, rgba(242, 120, 157, 0.96) 0%, rgba(247, 181, 204, 0.96) 58%, rgba(126, 103, 195, 0.9) 100%),
    #f4a3bc;
}

.quote-layout { max-width: 800px; text-align: center; }

.quote-band h2 { font-size: 44px; }

.quote-band p {
  margin: 24px auto 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  margin-top: 36px;
  padding: 16px 36px;
  border-radius: 99px;
  background: var(--white);
  color: var(--rose);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer { padding: 76px 0 32px; }

.footer-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr auto;
  gap: 34px;
  align-items: start;
}

.footer-brand { color: var(--white); }

.site-footer p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-size: 14px;
}

.contact-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--white);
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s;
}

.contact-link:hover { text-decoration-color: var(--rose-soft); }

.footer-links {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--rose-soft); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 13px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .hero h1 { font-size: 52px; }
  .hero-visual { min-height: 480px; }

  .flow-step,
  .flow-step-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .flow-step-reverse .flow-phone { order: 0; }
  .flow-step-reverse .flow-text { order: 0; }
  .flow-text p { max-width: none; margin: 0 auto; }
  .flow-text h3 { font-size: 24px; }

  .feature-grid,
  .why-layout,
  .stats-row,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-links { justify-items: start; }
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 28px);
    padding-top: 14px;
  }

  .site-header::before { height: 62px; }
  .nav-links { display: none; }
  .nav-cta { display: flex; }

  .hero { padding: 100px 18px 70px; gap: 28px; }

  .hero h1 { font-size: 38px; line-height: 1.06; }
  .hero-text, .quote-band p { font-size: 16px; }

  .store-row { display: grid; width: 100%; }
  .store-badge { width: 100%; }

  .hero-visual { min-height: 400px; }

  .phone-frame { width: 240px !important; border-radius: 38px !important; }
  .phone-frame::before { border-radius: 34px !important; }
  .phone-img { border-radius: 30px !important; }

  .phone-device-sm .phone-frame { width: 210px !important; border-radius: 34px !important; }
  .phone-device-sm .phone-frame::before { border-radius: 31px !important; }
  .phone-device-sm .phone-img { border-radius: 27px !important; }

  .highlight-chip { font-size: 12px; padding: 6px 12px; }

  .marquee-item { font-size: 13px; padding: 0 18px; }

  .statement,
  .pink-band,
  .why,
  .quote-band,
  .site-footer,
  .how-it-works {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .statement h2,
  .features h2,
  .why h2,
  .quote-band h2,
  .site-footer h2,
  .how-it-works h2 {
    font-size: 28px;
  }

  .flow-steps { gap: 56px; margin-top: 40px; }
  .flow-text h3 { font-size: 22px; }
  .reason-list article { grid-template-columns: 1fr; }
  .cta-button { font-size: 15px; padding: 14px 28px; }
}

/* ─── ANIMATIONS ─── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy { animation: fadeInUp 0.8s ease-out; }
.hero-visual { animation: fadeInUp 0.8s ease-out 0.2s both; }
