/* ─── Homepage-only styles ──────────────────────────────────────────────── */
/* Loaded only by index.html. Privacy / Terms / Support pages unaffected.    */

/* ── Nav overrides ── */
.home-page header.site {
  max-width: none;
  padding: 0 48px;
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.home-page header.site .brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-page header.site nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.home-page header.site nav a {
  margin-left: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.home-page header.site nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.nav-download {
  margin-left: 8px !important;
  background: var(--accent) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  color: #000 !important;
  transition: opacity 0.15s !important;
}
.nav-download:hover {
  opacity: 0.88;
  background: var(--accent) !important;
  color: #000 !important;
}

/* ── Section wrapper ── */
.home-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.75;
}

.section-headline {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 14px;
  text-wrap: balance;
}

.section-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  max-width: 460px;
  line-height: 1.65;
}

/* ── Hero ── */
.home-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 140px;
  padding-bottom: 0;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial amber glow behind headline */
.home-hero::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center top, rgba(245, 166, 35, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

/* Subtle dot grid */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 20px;
  background: rgba(245, 166, 35, 0.07);
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 24px;
  color: #fff;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.hero-headline .glow {
  color: var(--accent);
  text-shadow:
    0 0 48px rgba(245, 166, 35, 0.55),
    0 0 96px rgba(245, 166, 35, 0.2);
}

.hero-tagline {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.42);
  margin: 0 auto 40px;
  max-width: 400px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-store:hover {
  text-decoration: none;
  transform: translateY(-1px);
  opacity: 0.88;
}
.btn-store:active {
  transform: translateY(0) scale(0.98);
}
.btn-store svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-store.primary {
  background: #fff;
  color: #000;
}
.btn-store.secondary {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-store.secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

/* ── Hero screenshot images ── */
.hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  margin-bottom: -2px;
}

.hero-ss {
  flex-shrink: 0;
  transform-origin: bottom center;
  position: relative;
  /* clip the very bottom so the screenshots sit flush with the section edge */
  overflow: hidden;
}

.hero-ss img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-ss.hs-left {
  width: 148px;
  transform: rotate(-5deg) translateY(12px);
  opacity: 0.55;
  z-index: 1;
}

.hero-ss.hs-center {
  width: 172px;
  z-index: 3;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(245,166,35,0.12));
}

.hero-ss.hs-right {
  width: 148px;
  transform: rotate(5deg) translateY(12px);
  opacity: 0.55;
  z-index: 1;
}

/* ── How it works ── */
.home-how {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
}

.step-card {
  padding: 36px 32px;
  background: #050505;
  position: relative;
}

.step-emoji {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.step-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  margin: 0;
}

/* ── Features (bento grid) ── */
.home-features {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.features-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 1px;
  margin-top: 52px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
}

/* The wide top card spans both columns */
.feat-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px 44px;
  background: rgba(245,166,35,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 24px;
}

.feat-wide .fw-text {}

.feat-wide .fw-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0.8;
}

.fw-drink-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.2);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  width: fit-content;
}
.fw-drink-chip .chip-time {
  font-size: 11px;
  color: var(--accent);
  opacity: 0.8;
  margin-left: auto;
  padding-left: 12px;
}

.feature-card {
  padding: 28px 28px;
  background: #050505;
  transition: background 0.2s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.025);
}
.feature-card.tinted {
  background: rgba(245, 166, 35, 0.05);
}
.feature-card.tinted:hover {
  background: rgba(245, 166, 35, 0.08);
}

.feature-emoji {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 7px;
}

.feature-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  margin: 0;
}

/* ── Screenshots ── */
.home-screenshots {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.screenshots-scroll {
  margin-top: 52px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }

.ss-img {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 148px;
  height: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.ss-img:hover {
  opacity: 1;
  transform: translateY(-5px);
}

/* ── Stats strip ── */
.home-stats {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 48px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
}

.stat-cell {
  padding: 44px 32px;
  background: #050505;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(245,166,35,0.28);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  line-height: 1.5;
}

/* ── Final CTA ── */
.home-final-cta {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-final-cta::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.09) 0%, transparent 68%);
  pointer-events: none;
}

.home-final-cta h2 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.home-final-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.38);
  margin: 0 auto 44px;
  max-width: 340px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.home-final-cta .hero-cta {
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
.home-footer {
  max-width: none !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
}

.home-footer .footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: -0.01em;
}
.home-footer .footer-brand span { color: var(--accent); }

.home-footer .footer-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.home-footer .footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  padding: 4px 9px;
  border-radius: 6px;
  transition: color 0.12s;
}
.home-footer .footer-links a:hover {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.home-footer .footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ── Scroll reveal ── */
@supports (animation-timeline: view()) {
  .step-card,
  .feature-card,
  .feat-wide,
  .stat-cell {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .step-card,
  .feature-card,
  .feat-wide,
  .stat-cell {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .steps-row {
    grid-template-columns: 1fr;
  }

  .features-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "big"
      "a"
      "b"
      "c"
      "d"
      "e"
      "f";
  }

  .feat-wide {
    grid-template-columns: 1fr;
  }

  .feat-wide .fw-visual {
    display: none;
  }

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

  .hero-phones .hero-ss.hs-left,
  .hero-phones .hero-ss.hs-right {
    display: none;
  }

  .hero-ss.hs-center {
    width: 172px;
  }

  .home-section {
    padding: 72px 28px;
  }

  .home-page header.site {
    padding: 0 24px;
  }

  .home-stats,
  .home-final-cta {
    padding-left: 28px;
    padding-right: 28px;
  }

  .home-footer {
    padding: 28px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-ss.hs-center {
    width: 148px;
  }
  .ss-img {
    width: 130px;
  }
  .home-final-cta {
    padding: 80px 24px;
  }
  .stats-grid {
    border-radius: 16px;
  }
  .features-bento,
  .steps-row {
    border-radius: 16px;
  }
}
