/* Landing page styles for BiteFlip */
:root {
  --bg: #FAF7F2;
  --fg: #1A1410;
  --accent: #E85D2F;
  --accent-dark: #C0392B;
  --muted: #8B7355;
  --surface: #F0EAE0;
  --surface-dark: #E2D9CC;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .hero-headline, .section-heading, .social-heading, .closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.08;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-primary-lg { padding: 18px 48px; font-size: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid var(--surface-dark);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--muted); background: var(--surface); }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); }

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-headline {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -2px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* HERO PHONE MOCKUP — large and central */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone {
  width: 320px;
  background: var(--fg);
  border-radius: 40px;
  padding: 14px;
  box-shadow:
    0 24px 80px rgba(26,20,16,0.18),
    0 8px 24px rgba(26,20,16,0.1);
}
.hero-phone-screen {
  background: var(--bg);
  border-radius: 30px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}
.hero-phone-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--fg);
}
.hero-phone-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* Hero card — the star of the show */
.hero-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26,20,16,0.1);
}
.hero-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card-match-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 100px;
}
.hero-card-body { padding: 14px 16px; }
.hero-card-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 3px;
}
.hero-card-meta {
  font-size: 13px;
  color: var(--muted);
}

/* Action buttons under the card */
.hero-phone-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 4px 0 8px;
}
.hero-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hero-action-pass {
  background: var(--surface);
  color: #999;
}
.hero-action-like {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,93,47,0.3);
}

/* ==================== MECHANICS / HOW IT WORKS ==================== */
.mechanics {
  padding: 100px 40px;
  background: var(--fg);
}
.mechanics-inner { max-width: 960px; margin: 0 auto; }
.section-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 64px;
  color: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 20px;
  line-height: 1;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--bg);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 15px;
  color: rgba(250,247,242,0.55);
  line-height: 1.7;
}

/* ==================== SOCIAL ==================== */
.social {
  padding: 100px 40px;
  background: var(--bg);
}
.social-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.social-visual {
  display: flex;
  justify-content: center;
}
.social-img {
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 16px 56px rgba(26,20,16,0.12);
}
.social-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--fg);
}
.social-body {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.social-features { display: flex; flex-direction: column; gap: 16px; }
.social-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.social-icon {
  width: 40px; height: 40px;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==================== CLOSING CTA ==================== */
.closing {
  padding: 120px 40px;
  background: var(--surface);
  text-align: center;
}
.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.closing-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--fg);
}
.closing-body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--fg);
  padding: 48px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--bg);
}
.footer-tagline {
  font-size: 14px;
  color: rgba(250,247,242,0.4);
}
.footer-copy {
  font-size: 12px;
  color: rgba(250,247,242,0.25);
  margin-top: 4px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { align-items: center; }
  .hero-sub { max-width: 100%; }
  .hero-cta-row { justify-content: center; }
  .hero-phone { width: 280px; }
  .hero-card-img { height: 180px; }

  .social-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .social-visual { order: -1; }
  .social-img { max-width: 100%; }
  .social-text { text-align: center; }
  .social-features { align-items: center; }

  .steps { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .mechanics, .social, .closing { padding: 72px 20px; }
  .nav { padding: 14px 20px; }
  .nav-link { display: none; }

  .hero-headline { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-phone { width: 260px; }
  .hero-card-img { height: 160px; }
  .hero-action-btn { width: 46px; height: 46px; font-size: 20px; }

  .btn-primary { padding: 12px 24px; font-size: 15px; }
  .btn-primary-lg { padding: 14px 36px; font-size: 16px; }
  .btn-secondary { padding: 12px 24px; font-size: 15px; }
}
