/* ============================================================
   CROWDIER — style.css
   Brand: Cabin font, #d8fa1e neon, #16170a ink
   Bumble/Hinge-inspired redesign
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --primary: #d8fa1e;
  --primary-dark: #b6d70f;
  --primary-light: #e6fc5e;
  --primary-muted: rgba(216, 250, 30, 0.18);
  --gradient: linear-gradient(135deg, #b6d70f, #d8fa1e);
  --bg: #ffffff;
  --bg2: #f8f8f8;
  --surface: #f0eeec;
  --surface2: #e6e4e2;
  --text: #16170a;
  --text2: #5a6a7e;
  --text3: #8a96a4;
  --border: #e6e4df;
  --border2: rgba(22, 23, 10, 0.12);
  --shadow: rgba(0, 0, 0, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --card-bg: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 100px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family:
    "Cabin",
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition:
    background 0.3s,
    color 0.3s;
  overflow-x: clip;
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.gradient-text {
  background: var(--primary);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  padding: 0.02em 0.22em;
  border-radius: 12px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px;
}

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

h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1;
}

h3 {
  letter-spacing: -0.5px;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 24px var(--shadow);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-logo-img {
  /* Black "crowdier" wordmark. The source PNG glyphs are neon; brightness(0)
     renders them pure black while keeping the transparent background + crisp
     edges, so the wordmark reads cleanly on the white nav. */
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.2px;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav {
  font-family: "Cabin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: var(--primary);
  text-decoration: none;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.2px;
  transition:
    background 0.2s,
    transform 0.1s;
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ── HAMBURGER + MOBILE MENU ─────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-hamburger:hover {
  background: var(--surface);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border2);
  z-index: 99;
  padding: 8px 0 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  flex-direction: column;
}
.mobile-menu.open {
  display: flex;
}
.mobile-nav-link {
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: var(--surface);
  color: var(--text);
}
.mobile-nav-sep {
  height: 1px;
  background: var(--border2);
  margin: 8px 24px;
}
.mobile-nav-cta {
  display: block;
  margin: 12px 24px 0;
  padding: 14px 24px;
  text-align: center;
  background: var(--gradient);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  font-family: "Cabin", sans-serif;
  box-shadow: 0 4px 16px rgba(182, 215, 15, 0.28);
  transition:
    opacity 0.2s,
    transform 0.1s;
}
.mobile-nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--gradient);
  color: var(--text);
  font-family: "Cabin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(182, 215, 15, 0.28);
  transition:
    box-shadow 0.2s,
    transform 0.15s;
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(182, 215, 15, 0.4);
  transform: translateY(-2px);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(182, 215, 15, 0.08) 0%,
    var(--bg) 60%
  );
}

[data-theme="dark"] .hero {
  background: linear-gradient(
    180deg,
    rgba(182, 215, 15, 0.06) 0%,
    var(--bg) 60%
  );
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #d8fa1e, transparent 70%);
  top: -100px;
  right: -100px;
}
.orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #b6d70f, transparent 70%);
  bottom: -50px;
  left: -80px;
}

.hero-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-rooftop {
  width: 100%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 36px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(46, 26, 8, 0.18);
  animation: float 5s ease-in-out infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text);
  background: rgba(182, 215, 15, 0.1);
  border: 1px solid rgba(182, 215, 15, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.badge-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.hero-headline {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  width: 100%;
  max-width: 340px;
  display: block;
  animation: float 5s ease-in-out infinite;
}

.hero-headline .line {
  display: block;
  white-space: nowrap;
}

.hero-clarifier {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  max-width: 540px;
  line-height: 1.4;
  margin-top: 20px;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 500px;
  line-height: 1.55;
  margin-bottom: 36px;
}

.hero-cta {
  font-size: 17px;
  padding: 18px 36px;
  box-shadow: 0 14px 40px rgba(182, 215, 15, 0.35);
}

.hero-cta-below {
  display: none;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

/* ── USE CASES ───────────────────────────────────────────── */
.use-cases {
  border-top: 1px solid var(--border2);
  background: var(--bg);
}

.use-cases-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.use-card {
  background: var(--card-bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}

.use-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px var(--shadow);
  border-color: var(--border);
}

.use-emoji {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 20px;
}

.use-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.use-card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
}

@media (max-width: 880px) {
  .use-cases-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ── PITCH SECTIONS ──────────────────────────────────────── */
.pitch {
  border-top: 1px solid var(--border2);
}

.pitch-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pitch-inner-flip {
  direction: rtl;
}
.pitch-inner-flip > * {
  direction: ltr;
}

.pitch-text {
}

.pitch-text h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.pitch-desc {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 480px;
}

.pitch-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.pitch-link:hover {
  opacity: 0.7;
}

/* Pitch visuals: photos */
.pitch-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pitch-photo {
  width: 100%;
  max-width: 540px;
  height: 480px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.18),
    0 8px 24px var(--shadow);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pitch-photo:hover {
  transform: scale(1.02);
}

.pitch-visual-phone {
  justify-content: center;
}

.pitch-phones {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 980 / 1560;
  animation: float 5s ease-in-out infinite;
}
.pitch-phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  filter: drop-shadow(0 36px 56px rgba(0, 0, 0, 0.2));
}
.pitch-phone.is-active {
  opacity: 1;
  transform: scale(1);
}
.pitch-dots {
  position: absolute;
  bottom: -26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pitch-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--border2);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}
.pitch-dot.is-active {
  width: 22px;
  background: var(--primary, #d8fa1e);
}

/* Pitch B title accent */
.pitch-b-title {
  position: relative;
  display: inline;
}

.accent-word {
  position: relative;
  display: inline;
}

.accent-circle {
  position: absolute;
  top: -8px;
  left: -12px;
  width: 90px;
  height: 50px;
  pointer-events: none;
}

/* ── HOW IT WORKS ────────────────────────────────────────── */
.how {
  border-top: 1px solid var(--border2);
  background: var(--bg2);
}

.how-scroll {
  height: 320vh;
  position: relative;
}
.how-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 88px 24px 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.how-viewport {
  flex: 1;
  width: 100%;
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  min-height: 0;
}
.how-col {
  flex: 1;
  max-width: 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.how-head {
  margin: 0 0 22px;
}
.how-head h2 {
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -1.5px;
}
.how-texts {
  position: relative;
  max-width: 100%;
  min-height: 150px;
}
.how-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.how-text.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.how-text h3 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.1;
}
.how-text p {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
}
.how-phones {
  position: relative;
  flex: 1;
  height: 100%;
  max-width: 360px;
}
.how-phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  will-change: opacity, transform;
}
.how-phone.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.how-dots {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.how-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border2);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}
.how-dot.is-active {
  width: 28px;
  background: var(--primary, #d8fa1e);
}
@media (max-width: 820px) {
  .how-stage {
    padding: 80px 20px 16px;
  }
  .how-viewport {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .how-col {
    max-width: 100%;
    text-align: center;
  }
  .how-head {
    margin: 0 0 4px;
  }
  .how-texts {
    min-height: 172px;
  }
  .how-text {
    align-items: center;
  }
  .how-text h3,
  .how-text p {
    width: 100%;
  }
  .how-text p {
    font-size: 15px;
    line-height: 1.55;
  }
  .how-phones {
    width: 100%;
    max-width: 230px;
    height: auto;
    aspect-ratio: 490 / 1000;
    margin: 0 auto;
    flex: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .how-phone,
  .how-text {
    transition: opacity 0.2s ease;
    transform: none !important;
  }
  .how-phone.is-active {
    transform: none !important;
  }
}

/* ── SOCIAL PROOF ────────────────────────────────────────── */
.social-proof {
  border-top: 1px solid var(--border2);
}

.social-proof-inner {
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 260px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow);
}

.testimonial-quote {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.testimonial-placeholder {
  background: var(--primary-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-placeholder::before {
  content: attr(data-initial);
}

.testimonial-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  display: none;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
  border-top: 1px solid var(--border2);
  background: var(--bg2);
}
.faq-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.faq-column {
  background: var(--card-bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: 0 2px 20px rgba(22, 23, 10, 0.04);
}

.faq-category {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: var(--text);
  margin: 4px 4px 14px;
}
.faq-cat-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--text);
}
.faq-cat-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

/* Each Q&A is its own soft card that tints + lifts on hover/open. */
.faq-item {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.faq-item:hover {
  background: var(--bg2);
}
.faq-item.open {
  background: var(--primary-muted);
  border-color: rgba(182, 215, 15, 0.35);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--text);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  color: var(--text);
}
.faq-item p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  padding-bottom: 20px;
}

/* ── DOWNLOAD CTA ────────────────────────────────────────── */
.download-cta {
  border-top: 1px solid var(--border2);
}

.download-container {
  padding: 32px 0;
  position: relative;
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.download-left h2 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -2px;
  line-height: 1;
}

.download-sub {
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.5;
}

.store-btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: "Cabin", sans-serif;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn.apple,
.store-btn.google {
  background: var(--text);
  color: #fff;
  border: 1px solid var(--text);
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-sub {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.5px;
}
.store-name {
  font-size: 14px;
  font-weight: 700;
}

/* CTA logo card */
.download-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-logo {
  width: 420px;
  height: 420px;
  object-fit: contain;
  border-radius: 56px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border2);
  padding: 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 8px;
}
.footer-logo-img {
  /* Black wordmark (see .nav-logo-img) — footer sits on white too. */
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0);
}
.footer-tagline-sub {
  font-size: 13px;
  color: var(--text3);
  margin-top: 2px;
  margin-bottom: 4px;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.social-link svg {
  width: 22px;
  height: 22px;
}
.social-link:hover {
  opacity: 0.55;
  transform: translateY(-2px);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text2);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.footer-copy {
  font-size: 13px;
  color: var(--text3);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-sub {
    margin: 0 auto 32px;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
  }
  .hero-phone {
    max-width: 220px;
  }
  .hero-rooftop {
    max-width: 320px;
    border-radius: 28px;
  }
  .hero-clarifier {
    margin-left: auto;
    margin-right: auto;
    font-size: 19px;
  }

  .nav-links {
    display: none;
  }

  .pitch-inner,
  .pitch-inner-flip {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pitch-inner-flip {
    direction: ltr;
  }
  .pitch-visual-a,
  .pitch-visual-b {
    order: -1;
    min-height: 200px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .safety-grid {
    grid-template-columns: 1fr;
  }
  .faq-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .download-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .store-btns {
    justify-content: center;
  }

  .download-right {
    display: none;
  }

  .photo-break {
    height: 50vh;
    min-height: 300px;
  }
  .pitch-photo {
    height: 300px;
  }
  .photo-strip-track img {
    width: 260px;
    height: 180px;
  }

  .nav-hamburger {
    display: flex;
  }
  .btn-nav {
    display: none;
  }

  /* On mobile show the in-text CTA (it sits above the image in the DOM) so the
     download button is the first thing visible; hide the below-image one. */
  .hero-text .hero-cta {
    display: inline-flex;
    margin-top: 4px;
  }
  .hero-cta-below {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section-inner {
    padding: 72px 20px;
  }
  .hero-headline {
    font-size: clamp(40px, 10vw, 72px);
    letter-spacing: -2px;
  }
  .hero-headline .line {
    white-space: normal;
  }
  .hero-rooftop {
    max-width: 260px;
    border-radius: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .slogan-line {
    font-size: clamp(36px, 8vw, 56px);
    letter-spacing: -2px;
  }
  .pitch-text h2 {
    font-size: clamp(32px, 8vw, 56px);
  }
  .download-container {
    padding: 40px 24px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── LEGAL PAGES ─────────────────────────────────────────────── */
.legal-page {
  padding-top: 80px;
  min-height: 100vh;
  background: var(--bg);
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}

.legal-back:hover {
  opacity: 0.7;
}

.legal-updated {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 12px;
}

.legal-header h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.legal-intro {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.6;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 40px;
  margin-bottom: 8px;
}

.legal-body {
  margin-top: 40px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 12px 0 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section li {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.6;
}

.legal-section a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 600px) {
  .legal-inner {
    padding: 40px 20px 80px;
  }
}

/* ── SAFETY TIPS PAGE ────────────────────────────────────────── */
.safety-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.safety-tip-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s;
}

.safety-tip-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
}

.tip-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tip-icon svg {
  width: 28px;
  height: 28px;
}

.safety-tip-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.safety-tip-card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
}

.safety-tips-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border2);
}

.safety-tips-footer p {
  font-size: 15px;
  color: var(--text3);
  line-height: 1.6;
}

.safety-tips-footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.safety-tips-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .safety-tips-grid {
    grid-template-columns: 1fr;
  }
}

/* ── INTRO LOAD ANIMATION ──────────────────────────────────── */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #16170a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introOut 0.65s cubic-bezier(0.7, 0, 0.3, 1) 1.05s forwards;
}
#intro img {
  width: 122px;
  height: 122px;
  border-radius: 30px;
  box-shadow: 0 16px 50px rgba(216, 250, 30, 0.32);
  animation: introLogo 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes introLogo {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  55% {
    opacity: 1;
    transform: scale(1.07);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes introOut {
  to {
    transform: translateY(-100%);
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  #intro {
    display: none !important;
  }
}

/* ── FAQ smooth open / close ───────────────────────────────── */
.faq-item p {
  overflow: hidden;
  will-change: height;
}
.faq-item summary::after {
  transition: transform 0.3s ease;
}

/* ── Card hover lift ───────────────────────────────────────── */
.use-card,
.testimonial-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.use-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* ── USE-CASE ICONS (replaced emojis) ──────────────────────── */
.use-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.use-icon svg {
  width: 30px;
  height: 30px;
  color: var(--text);
}

/* ── TESTIMONIAL ROTATOR ───────────────────────────────────── */
.testimonial-rotator {
  position: relative;
  max-width: 760px;
  margin: 48px auto 0;
}
.t-track {
  position: relative;
  min-height: 240px;
}
.t-slide {
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  transform: translateX(34px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.06);
}
.t-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.t-quote {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}
.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.t-avatar--initial {
  background: var(--primary);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  font-family: "Barlow Condensed", sans-serif;
}
.t-name {
  font-weight: 700;
  font-size: 17px;
}
.t-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 28px;
}
.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.25s;
}
.t-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}
@media (max-width: 640px) {
  .t-track {
    min-height: 320px;
  }
  .t-slide {
    padding: 32px 26px;
  }
  .t-quote {
    font-size: 19px;
  }
}

/* ── FAQ (smooth grid accordion — replaces native details) ─── */
.faq-item p {
  overflow: visible;
  will-change: auto;
}
.faq-q {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  padding: 18px 0;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.faq-q:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 4px;
  border-radius: 6px;
}
/* + sits in a round neon-muted badge that fills neon and rotates to × on open */
.faq-q::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-muted);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.2s;
}
.faq-q:hover::after {
  background: var(--primary);
}
.faq-item.open .faq-q::after {
  background: var(--primary);
  transform: rotate(135deg);
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}
.faq-a {
  overflow: hidden;
  min-height: 0;
}
.faq-a p {
  padding-bottom: 18px;
  margin: 0;
  color: var(--text2);
  line-height: 1.6;
}

.t-avatar--simay {
  object-position: 30% 26%;
}

/* ── HERO IMAGE ROTATOR (crossfade) ────────────────────────── */
.hero-rotator {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  animation: float 5s ease-in-out infinite;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-img.is-active {
  opacity: 1;
}
@media (max-width: 900px) {
  .hero-rotator {
    max-width: 320px;
    border-radius: 28px;
  }
  .hero-img {
    border-radius: 28px;
  }
}
@media (max-width: 480px) {
  .hero-rotator {
    max-width: 280px;
    border-radius: 24px;
  }
  .hero-img {
    border-radius: 24px;
  }
}

/* ── TESTIMONIAL REDESIGN (arrows, quote mark, bigger photo) ── */
.testimonial-rotator {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 0 60px;
}
.t-track {
  min-height: 290px;
}
.t-slide {
  padding: 46px 46px 40px;
  gap: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}
.t-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 90px;
  line-height: 0.5;
  height: 38px;
  color: rgba(22, 23, 10, 0.11);
  display: block;
}
.t-quote {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 600;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.t-avatar {
  width: 64px;
  height: 64px;
}
.t-who {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.t-name {
  font-weight: 700;
  font-size: 18px;
}
.t-role {
  font-size: 14px;
  color: var(--text3);
}
.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}
.t-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.t-arrow:active {
  transform: translateY(-50%) scale(0.92);
}
.t-arrow svg {
  width: 22px;
  height: 22px;
  color: var(--text);
}
.t-prev {
  left: 0;
}
.t-next {
  right: 0;
}
@media (max-width: 680px) {
  .testimonial-rotator {
    padding: 0;
  }
  .t-track {
    min-height: 360px;
  }
  .t-slide {
    padding: 34px 26px 30px;
  }
  .t-quote {
    font-size: 19px;
  }
  .t-arrow {
    top: auto;
    bottom: -58px;
    transform: none;
  }
  .t-arrow:active {
    transform: scale(0.92);
  }
  .t-prev {
    left: calc(50% - 54px);
  }
  .t-next {
    right: calc(50% - 54px);
  }
}

/* ── LANGUAGE SWITCHER (globe dropdown, Bumble-style) ─────────── */
.lang-switch {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 8px 8px;
  border-radius: var(--radius-pill);
  transition: background 0.2s;
  line-height: 0;
}
.lang-btn:hover {
  background: var(--surface);
}
.lang-globe {
  width: 22px;
  height: 22px;
}
.lang-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.lang-switch.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 188px;
  max-height: 60vh;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 1200;
}
.lang-switch.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}
.lang-option:hover {
  background: var(--surface);
  color: var(--text);
}
.lang-option.is-active {
  color: var(--text);
  background: var(--primary-muted);
}

/* Keep both phone mockups the same width on mobile too */
@media (max-width: 820px) {
  .pitch-phones {
    max-width: 250px;
  }
  .how-phones {
    max-width: 250px;
  }
}
