/* ========================================================================
   Chat Me Up — Main Stylesheet
   Design tokens: charcoal-plum bg, amber/pink accents (from hero photo warmth)
   Display: Fraunces | Body: Inter | Utility: JetBrains Mono
   ======================================================================== */

:root {
  /* Color tokens */
  --ink: #000;
  --ink-soft: #000;
  --cream: #fff;
  --cream-dim: #E9DFD2;
  --amber: #E8A33D;
  --amber-deep: #C97F1E;
  --pink: #FF3E7F;
  --pink-deep: #D41F5C;
  --rose: #FFD9C7;
  --line: rgba(251, 243, 233, 0.14);
  --line-strong: rgba(251, 243, 233, 0.26);

  /* Type — matches the Google Fonts import in <head>:
     Fraunces = display/headings, Inter = body copy, JetBrains Mono = labels/eyebrows */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Eyebrow / label utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--amber);
}

/* ========================================================================
   Header / Nav
   ======================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(22, 13, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--cream);
}

.main-nav ul {
  display: flex;
  gap: 34px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--cream-dim);
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--cream);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(251, 243, 233, 0.08);
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--cream);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; width: 20px; height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-6px) rotate(-45deg); }

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Photo stays clear on the left (face/drink), darkens toward the right
     so the white headline reads cleanly — matches the reference crop. */
  background:
    linear-gradient(100deg, rgba(22,13,20,0.12) 0%, rgba(22,13,20,0.05) 30%, rgba(22,13,20,0.55) 62%, rgba(22,13,20,0.85) 100%),
    linear-gradient(to top, rgba(22,13,20,0.55) 0%, rgba(22,13,20,0) 30%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 100px;
  max-width: 640px;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero-title {
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--amber), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--cream-dim);
  max-width: 460px;
}

/* ========================================================================
   About Section
   ======================================================================== */
.about {
  position: relative;
  padding: 130px 0;
  background: var(--ink);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.about-collage {
  position: relative;
  height: 460px;
}

.about h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 24px;
}
.about p {
  font-family: var(--font-body);
  color: var(--cream-dim);
  font-size: 17px;
  margin-bottom: 18px;
  max-width: 540px;
}
.about-tagline {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--pink);
}

/* ========================================================================
   Features
   ======================================================================== */
.features {
  padding: 130px 0;
  background: var(--cream);
  color: var(--ink);
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 70px;
}
.section-head .eyebrow { justify-content: center; color: var(--pink-deep); }
.section-head .eyebrow::before { background: var(--pink-deep); }
.section-head h2 {
  margin-top: 20px;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 500;
  color: var(--ink);
}
.section-head p {
  font-family: var(--font-body);
  margin-top: 16px;
  font-size: 16px;
  color: #6b5f5a;
}

.features-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.phone-stack {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-list { display: flex; flex-direction: column; gap: 6px; }
.feature-item {
  display: flex;
  gap: 20px;
  padding: 26px 8px;
  border-bottom: 1px solid rgba(22,13,20,0.08);
  transition: padding-left 0.3s var(--ease);
}
.feature-item:hover { padding-left: 18px; }
.feature-item:last-child { border-bottom: none; }
.feature-num {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--pink-deep);
  flex-shrink: 0;
  padding-top: 4px;
}
.feature-item h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.feature-item p {
  font-family: var(--font-body);
  color: #6b5f5a;
  font-size: 15.5px;
}

/* ========================================================================
   Glimpse (App showcase) — static row, all screens visible
   ======================================================================== */
.glimpse {
  padding: 130px 0 100px;
  background: var(--ink);
  text-align: center;
}
.glimpse .section-head .eyebrow { color: var(--amber); }
.glimpse .section-head .eyebrow::before { background: var(--amber); }
.glimpse .section-head h2 { color: var(--cream); }
.glimpse .section-head p { color: var(--cream-dim); }

.glimpse-strip {
  padding: 20px 0 50px;
}
.glimpse-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.glimpse-item {
  width: 250px;
  flex-shrink: 0;
}
.glimpse-item img { width: 100%; height: auto; border-radius: 20px; }

.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ========================================================================
   Testimonials
   ======================================================================== */
.testimonials {
  padding: 110px 0;
  background: linear-gradient(120deg, var(--pink) 0%, var(--amber-deep) 55%, var(--amber) 100%);
  position: relative;
  overflow: hidden;
}
.testimonials .section-head .eyebrow { color: rgba(22,13,20,0.7); }
.testimonials .section-head .eyebrow::before { background: rgba(22,13,20,0.7); }
.testimonials .section-head h2 { color: var(--ink); }
.testimonials .section-head p { color: rgba(22,13,20,0.65); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.4s var(--ease);
}
.testi-card:hover { transform: translateY(-8px); }
.testi-card p {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 15px;
  line-height: 1.6;
}
.testi-author {
  margin-bottom: 14px;
}
.testi-author span {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--amber);
  font-weight: 600;
}

/* ========================================================================
   Contact
   ======================================================================== */
.contact {
  padding: 120px 0;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}
.contact .section-head .eyebrow { color: var(--pink-deep); }
.contact .section-head .eyebrow::before { background: var(--pink-deep); }
.contact-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  box-shadow: 0 30px 60px -20px rgba(22,13,20,0.25);
}
.contact-card-label { font-family: var(--font-mono); font-size: 12px; color: var(--cream-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card-value { font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--cream); margin-top: 4px; }
.contact-card-value a:hover { color: var(--amber); }

/* ========================================================================
   Sponsors
   ======================================================================== */
.sponsors {
  padding: 110px 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.sponsors-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.sponsors .eyebrow { justify-content: center; }
.sponsors h2 {
  margin-top: 20px;
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--cream);
  font-weight: 500;
}
.sponsors p {
  font-family: var(--font-body);
  color: var(--cream-dim);
  margin-top: 20px;
  font-size: 15.5px;
}
.sponsors-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
}
.sponsors-list li {
  font-family: var(--font-body);
  display: flex;
  gap: 12px;
  color: var(--cream-dim);
  font-size: 14.5px;
}
.sponsors-list .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 8px;
}
.sponsors-cta {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.sponsors-cta h3 {
  font-size: 22px;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 12px;
}
.sponsors-cta .contact-card { margin-top: 24px; }

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cream);
  margin-bottom: 26px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--amber); }
.footer-links-sep {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  opacity: 0.35;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { background: var(--pink); transform: translateY(-3px); border-color: var(--pink); }
.footer-social svg { width: 17px; height: 17px; fill: var(--ink); }
.footer-social a:hover svg { fill: #fff; }
.footer-bottom {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background-color: #000;
  text-align: center;
  opacity: 0.7;
  border-top: 1px solid var(--line);
  padding: 24px;
}

/* ========================================================================
   Scroll reveal utility (JS-driven)
   ======================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-collage { max-width: 380px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; gap: 60px; }
  .phone-stack { max-width: 380px; margin: 0 auto; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 26px;
  }
  .main-nav.is-open ul {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .hero-title { font-size: clamp(36px, 9vw, 56px); }
  .hero-content { padding-bottom: 70px; }

  .about, .features, .glimpse, .testimonials, .contact, .sponsors {
    padding: 80px 0;
  }

  .contact-card { flex-direction: column; text-align: center; padding: 32px 26px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .about-collage { height: 400px; }
  .glimpse-item { width: 210px; }
}
