/* ============================================================
   ROOMRR — index.css v3.0
   ============================================================ */

@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-VariableFont_wght.woff2') format('woff2 supports variations'),
    url('fonts/Manrope-VariableFont_wght.woff2') format('woff2'),
    url('fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --orange: #ea481e;
  --yellow: #f7940c;
  --black: #010101;
  --green: #4ade80;
  --red: #ef4444;

  --grad-brand: linear-gradient(135deg, var(--orange), var(--yellow));
  --grad-brand-text: linear-gradient(90deg, var(--orange), var(--yellow));
  --grad-brand-r: linear-gradient(135deg, var(--yellow), var(--orange));

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

[data-theme="dark"] {
  --bg: #080808;
  --bg-2: #0e0e0e;
  --bg-3: #161616;
  --bg-card: #111111;
  --bg-card-hover: #1c1c1c;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.24);
  --text: #f2f2f2;
  --text-2: #9a9a9a;
  --text-3: #555555;
  --nav-bg: rgba(8, 8, 8, 0.88);
  --form-bg: #111111;
  --input-bg: #181818;
  --glow-orange: rgba(234, 72, 30, 0.28);
  --glow-yellow: rgba(247, 148, 12, 0.18);
  --glow-green: rgba(74, 222, 128, 0.2);
}

[data-theme="light"] {
  --bg: #f9f8f6;
  --bg-2: #f3f2ef;
  --bg-3: #eceae5;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f7f4;
  --border: rgba(0, 0, 0, 0.07);
  --border-hover: rgba(0, 0, 0, 0.18);
  --border-strong: rgba(0, 0, 0, 0.26);
  --text: #0a0a0a;
  --text-2: #5a5a5a;
  --text-3: #999999;
  --nav-bg: rgba(249, 248, 246, 0.92);
  --form-bg: #ffffff;
  --input-bg: #f3f2ef;
  --glow-orange: rgba(234, 72, 30, 0.12);
  --glow-yellow: rgba(247, 148, 12, 0.1);
  --glow-green: rgba(74, 222, 128, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background var(--transition-slow), color var(--transition-slow);
  cursor: none;
}

@media (hover: none) {
  body {
    cursor: auto;
  }

  .cursor, .cursor-trail {
    display: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: none;
  font-family: var(--font-body);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  max-width: 100%;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

[data-theme="light"] .noise-overlay {
  opacity: 0.018;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--grad-brand);
  z-index: 99999;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px var(--orange);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  border: 1px solid rgba(234, 72, 30, 0.35);
  background: rgba(234, 72, 30, 0.07);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.gradient-text {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  transition: transform 0.15s var(--transition-spring), width 0.2s, height 0.2s, background 0.2s;
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  transition: transform 0.18s ease-out, opacity 0.3s;
}

body.cursor-hover .cursor-dot {
  transform: scale(2.2);
  background: var(--yellow);
}

body.cursor-hover .cursor-trail {
  width: 52px;
  height: 52px;
  border-color: var(--yellow);
  opacity: 0.25;
}

.ripple-circle {
  position: fixed;
  border-radius: 50%;
  background: rgba(234, 72, 30, 0.25);
  pointer-events: none;
  z-index: 99996;
  animation: rippleOut 0.5s ease-out forwards;
  transform: translate(-50%, -50%) scale(0);
}

@keyframes rippleOut {
  to {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* ============================================================
   FLOATING STICKERS
   ============================================================ */
.floating-stickers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sticker {
  position: absolute;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  animation: floatSticker 9s ease-in-out infinite;
  opacity: 0.06;
  user-select: none;
}

[data-theme="light"] .sticker {
  opacity: 0.1;
}

.s1 {
  top: 14%;
  left: 4%;
  animation-delay: 0s;
  animation-duration: 9s;
}

.s2 {
  top: 34%;
  right: 3%;
  animation-delay: 1.5s;
  animation-duration: 7s;
}

.s3 {
  top: 62%;
  left: 2%;
  animation-delay: 3s;
  animation-duration: 11s;
}

.s4 {
  top: 78%;
  right: 5%;
  animation-delay: 0.8s;
  animation-duration: 8s;
}

.s5 {
  top: 48%;
  left: 7%;
  animation-delay: 2.2s;
  animation-duration: 10s;
}

.s6 {
  top: 22%;
  right: 8%;
  animation-delay: 4s;
  animation-duration: 6.5s;
}

@keyframes floatSticker {
  0%, 100% {
    transform: translateY(0) rotate(-6deg);
  }

  40% {
    transform: translateY(-18px) rotate(4deg);
  }

  70% {
    transform: translateY(8px) rotate(-3deg);
  }
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.7rem 0;
}

.nav-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 100%;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-right: auto;
  text-decoration: none;
  line-height: 1;
}

.logo-letter {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.logo-dot {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 1px;
}

.logo-img {
  height: 1.25rem;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: -1px;
  margin-left: 2px;
  margin-right: 2px;
}

[data-theme="light"] .logo-letter {
  color: var(--black);
  text-shadow: none;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.footer-logo-letter {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .footer-logo-letter {
  color: var(--black);
  text-shadow: none;
}

.footer-logo-img {
  height: 1.5rem;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: -1px;
  margin-left: 3px;
  margin-right: 3px;
}

.footer-logo-dot {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--border);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
}

.theme-toggle {
  position: relative;
  cursor: none;
}

.theme-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  display: flex;
  align-items: center;
  width: 50px;
  height: 26px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-thumb {
  width: 20px;
  height: 20px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: transform var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.toggle-icon {
  position: absolute;
  transition: opacity var(--transition), transform var(--transition);
}

.toggle-icon.moon {
  opacity: 1;
  transform: scale(1);
}

.toggle-icon.sun {
  opacity: 0;
  transform: scale(0.5);
}

input:checked~.toggle-track .toggle-thumb {
  transform: translateX(24px);
}

input:checked~.toggle-track .toggle-icon.moon {
  opacity: 0;
  transform: scale(0.5);
}

input:checked~.toggle-track .toggle-icon.sun {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  border: none;
  outline: none;
  transition: transform var(--transition-spring), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.95) !important;
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 18px var(--glow-orange);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px var(--glow-orange), 0 0 0 2.5px rgba(234, 72, 30, 0.3);
  transform: translateY(-2px) scale(1.01);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hover);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 18px;
  box-shadow: 0 2px 12px var(--glow-orange);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow-orange);
}

.btn-large {
  padding: 16px 38px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-arrow {
  transition: transform var(--transition);
  display: inline-block;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-slow);
  backdrop-filter: blur(2px);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
}

[data-theme="light"] .mesh-blob {
  opacity: 0.07;
}

.blob-1 {
  width: 650px;
  height: 650px;
  background: var(--orange);
  top: -15%;
  left: -12%;
  animation: blobPulse 9s ease-in-out infinite;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: var(--yellow);
  bottom: -8%;
  right: 18%;
  animation: blobPulse 11s ease-in-out infinite reverse;
}

.blob-3 {
  width: 280px;
  height: 280px;
  background: var(--orange);
  top: 38%;
  right: -6%;
  animation: blobPulse 7s ease-in-out infinite 2s;
}

@keyframes blobPulse {
  0%, 100% {
    transform: scale(1) translate(0, 0);
  }

  35% {
    transform: scale(1.08) translate(18px, -18px);
  }

  68% {
    transform: scale(0.94) translate(-12px, 14px);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 72, 30, 0.1);
  border: 1px solid rgba(234, 72, 30, 0.28);
  color: var(--orange);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.8);
    opacity: 0.5;
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-sub em {
  color: var(--text-3);
  font-style: italic;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatars {
  display: flex;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-left: -7px;
}

.avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-2);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ============================================================
   MATCH CARD
   ============================================================ */
.match-card {
  width: 310px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  animation: cardFloat 6s ease-in-out infinite;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border);
  overflow: hidden;
}

.match-card-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 50%, rgba(234, 72, 30, 0.15), transparent 70%);
  pointer-events: none;
  animation: glowRotate 8s linear infinite;
}

@keyframes glowRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.match-card-inner {
  padding: 24px;
  position: relative;
  z-index: 1;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0) rotate(-0.8deg);
  }

  50% {
    transform: translateY(-14px) rotate(0.8deg);
  }
}

.match-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.match-avatar {
  font-size: 2.2rem;
  background: var(--bg-3);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.match-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.match-detail {
  font-size: 0.73rem;
  color: var(--text-3);
  margin-top: 2px;
}

.match-pct {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.match-bar {
  margin-bottom: 18px;
}

.bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-3);
  display: block;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bar-track {
  height: 7px;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--pct);
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  animation: fillBar 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--yellow);
}

@keyframes fillBar {
  from {
    width: 0;
  }

  to {
    width: var(--pct);
  }
}

.match-btn {
  width: 100%;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform var(--transition-spring), box-shadow var(--transition);
  overflow: hidden;
  position: relative;
}

.match-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow-orange);
}

.hero-badge-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  animation: cardFloat 5s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

.badge-float-1 {
  top: -18px;
  right: -8px;
  color: var(--green);
  border-color: rgba(74, 222, 128, 0.3);
  animation-delay: 1s;
}

.badge-float-2 {
  bottom: -8px;
  left: -18px;
  color: var(--yellow);
  border-color: rgba(247, 148, 12, 0.35);
  animation-delay: 2.5s;
}

.activity-feed {
  width: 310px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-size: 0.78rem;
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 10px;
}

.activity-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulseDot 2s ease-in-out infinite;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-item {
  padding: 8px 12px;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 0.76rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--transition);
  opacity: 0.6;
}

.activity-item.active {
  opacity: 1;
  color: var(--text);
  border-color: rgba(234, 72, 30, 0.25);
  background: rgba(234, 72, 30, 0.06);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-3);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  padding: 1.2rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.marquee-left .marquee-inner {
  animation: marqueeL 28s linear infinite;
}

.marquee-right .marquee-inner {
  animation: marqueeR 22s linear infinite;
}

@keyframes marqueeL {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeR {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.marquee-track:hover .marquee-inner {
  animation-play-state: paused;
}

.m-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}

.m-tag:hover {
  border-color: var(--orange);
  color: var(--text);
}

.m-tag.accent {
  background: rgba(234, 72, 30, 0.06);
  border-color: rgba(234, 72, 30, 0.2);
  color: var(--orange);
}

.m-tag.accent:hover {
  background: rgba(234, 72, 30, 0.1);
  border-color: var(--orange);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-strip {
  padding: 3.5rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat-block {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 1rem 2rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-unit {
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.01em;
  vertical-align: baseline;
  margin-left: 2px;
  opacity: 0.85;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   MEMES
   ============================================================ */
.memes {
  padding: var(--space-xl) 5%;
  position: relative;
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.meme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-spring), border-color var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  cursor: none;
  position: relative;
}

.meme-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.meme-card:hover::before {
  opacity: 1;
}

.meme-card:hover {
  box-shadow: 0 24px 60px rgba(234, 72, 30, 0.18);
}

.meme-card-inner {
  padding: 28px;
  position: relative;
  z-index: 1;
}

.meme-emoji {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
  transition: transform var(--transition-spring);
}

.meme-card:hover .meme-emoji {
  transform: scale(1.15) rotate(-6deg);
}

.meme-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.meme-card p {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.meme-tag {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(234, 72, 30, 0.08);
  border: 1px solid rgba(234, 72, 30, 0.22);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  pointer-events: none;
}

.meme-card:hover .card-shine {
  opacity: 1;
  animation: shineSlide 0.55s ease forwards;
}

@keyframes shineSlide {
  from {
    transform: translateX(-100%);
    opacity: 0.4;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--space-xl) 5%;
  background: var(--bg-2);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-spring), border-color var(--transition), box-shadow var(--transition);
}

.step-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px var(--glow-orange);
}

.step-connector {
  position: absolute;
  top: 52px;
  right: -50%;
  width: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0, var(--orange) 6px, transparent 6px, transparent 14px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.steps-grid>*:last-child .step-connector {
  display: none;
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-2);
  margin-bottom: 18px;
  transition: background var(--transition), color var(--transition);
}

.step-card:hover .step-num-badge {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  transition: transform var(--transition-spring);
}

.step-card:hover .step-icon {
  transform: scale(1.15) rotate(-10deg);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.68;
}

/* ============================================================
   TESTIMONIALS — CAROUSEL
   ============================================================ */
.testimonials {
  padding: var(--space-xl) 5%;
  position: relative;
  background: var(--bg);
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Wrapper: arrow | track | arrow in a 3-col grid on desktop */
.testi-carousel-wrapper {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 14px;
  position: relative;
}

/* Track: clips cards, no visible scrollbar */
.testi-track {
  overflow: hidden;
  /* hide scrollbar on desktop */
  display: flex;
  gap: 1.25rem;
  padding: 8px 4px 20px;
  /* bottom gap for shadow */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testi-track::-webkit-scrollbar {
  display: none;
}

/* ── Individual card ── */
.testi-card {
  flex: 0 0 340px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-spring), border-color var(--transition), box-shadow var(--transition);
}

.testi-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.testi-card:hover::before {
  opacity: 1;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--glow-orange);
}

/* .testi-featured { border-color: rgba(234,72,30,0.35); background: rgba(234,72,30,0.04); } */

/* Stars */
.testi-stars {
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

/* Quote */
.testi-quote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.72;
  margin-bottom: 22px;
  font-style: italic;
}

/* Author row */
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Avatar: bigger circle, face clearly visible ── */
.testi-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--border-hover);
  background: var(--bg-3);
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.testi-card:hover .testi-avatar {
  border-color: var(--orange);
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Name + city */
.testi-info {
  flex: 1;
  min-width: 0;
}

.testi-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.testi-info span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-3);
  margin-top: 3px;
}

/* Verified badge */
.testi-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ── Arrow buttons ── */
.testi-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  background: var(--bg-card);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* cursor: pointer overrides the global cursor:none so clicks reliably register */
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
    color var(--transition), transform var(--transition-spring), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  outline: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2;
}

.testi-arrow:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 6px 24px var(--glow-orange);
}

.testi-arrow:active {
  transform: scale(0.9);
}

.testi-arrow svg {
  display: block;
  pointer-events: none;
}

/* Disabled state */
.testi-arrow.is-disabled {
  opacity: 0.25;
  pointer-events: none;
  cursor: default;
}

/* ── Dot indicators ── */
.testi-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.35;
  transition: width var(--transition-spring), background var(--transition), opacity var(--transition);
  flex-shrink: 0;
}

.testi-dot.active {
  width: 26px;
  background: var(--grad-brand);
  opacity: 1;
}

/* ============================================================
   QUIZ CTA
   ============================================================ */
.quiz-cta {
  padding: var(--space-xl) 5%;
  background: var(--bg-2);
}

.quiz-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px 48px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quiz-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: var(--grad-brand);
  filter: blur(110px);
  opacity: 0.06;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.06;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.1;
  }
}

.quiz-content {
  position: relative;
  z-index: 1;
}

.quiz-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.2rem;
  animation: wobble 3.5s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% {
    transform: rotate(-5deg) scale(1);
  }

  50% {
    transform: rotate(5deg) scale(1.05);
  }
}

.quiz-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.quiz-content p {
  font-size: 0.98rem;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.quiz-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.quiz-badge {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: transform var(--transition), border-color var(--transition);
}

.quiz-badge:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--space-xl) 5%;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-body {
  font-size: 1.02rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 2.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-spring), border-color var(--transition), box-shadow var(--transition);
}

.about-feature:hover {
  transform: translateX(8px);
  border-color: var(--orange);
  box-shadow: -3px 0 0 var(--orange), 0 8px 24px var(--glow-orange);
}

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform var(--transition-spring);
}

.about-feature:hover .feature-icon {
  transform: rotate(-10deg) scale(1.2);
}

.about-feature strong {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.6;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  animation: cardFloat 7s ease-in-out infinite;
}

.phone-frame {
  width: 100%;
  max-width: 340px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 44px 88px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);
}

.phone-frame::before {
  content: '';
  display: block;
  width: 64px;
  height: 5px;
  background: var(--bg-3);
  border-radius: 3px;
  margin: 0 auto 16px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--border);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 16px;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-match {
  background: rgba(234, 72, 30, 0.08);
  border: 1px solid rgba(234, 72, 30, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
}

.app-match-emoji {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 5px;
}

.app-match p {
  font-weight: 700;
  font-size: 0.86rem;
}

.app-match small {
  font-size: 0.7rem;
  color: var(--text-2);
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}

.app-tags span {
  background: var(--bg-3);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.app-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.app-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: none;
  transition: transform var(--transition-spring);
  overflow: hidden;
  position: relative;
}

.app-btn:hover {
  transform: scale(1.04);
}

.app-btn.pass {
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
}

.app-btn.match {
  background: var(--grad-brand);
  color: #fff;
}

.app-nav {
  display: flex;
  justify-content: space-around;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 1rem;
}

.stat-pill {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.pill-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pill-1 {
  top: 0;
  right: -20px;
  animation: cardFloat 5s ease-in-out infinite 1s;
}

.pill-2 {
  bottom: 28px;
  left: -30px;
  animation: cardFloat 6s ease-in-out infinite 2s;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist {
  padding: var(--space-xl) 5%;
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.waitlist::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(234, 72, 30, 0.07), transparent), radial-gradient(ellipse 50% 80% at -10% 60%, rgba(247, 148, 12, 0.04), transparent);
  pointer-events: none;
}

.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.waitlist-perks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-2);
}

.spots-left {
  margin-top: 0;
}

.spots-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spots-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border);
}

.spots-bar-fill {
  height: 100%;
  width: var(--fill);
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  animation: fillBar 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
  position: relative;
}

.spots-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
}

.waitlist-form {
  background: var(--form-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.waitlist-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.form-group {
  margin-bottom: 1.4rem;
  position: relative;
}

.form-group.floating input, .form-group.floating textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  min-height: 58px;
}

.form-group.floating label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--text-3);
  font-weight: 500;
  pointer-events: none;
  transition: all var(--transition);
}

.form-group.floating textarea~label {
  top: 20px;
  transform: none;
}

.form-group.floating input:focus~label, .form-group.floating input:not(:placeholder-shown)~label, .form-group.floating textarea:focus~label, .form-group.floating textarea:not(:placeholder-shown)~label {
  top: 8px;
  transform: translateY(0);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group.floating input:focus, .form-group.floating textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 72, 30, 0.12);
}

.form-group.floating input.error, .form-group.floating textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.field-error {
  display: block;
  font-size: 0.73rem;
  color: var(--red);
  margin-top: 6px;
  font-weight: 600;
  min-height: 1em;
}

.char-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.65rem;
  color: var(--text-3);
  font-weight: 500;
  pointer-events: none;
}

.optional {
  font-weight: 400;
  color: var(--text-3);
  text-transform: none;
  letter-spacing: 0;
}

.form-success {
  text-align: center;
  padding: 28px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(74, 222, 128, 0.05);
  margin-top: 1.5rem;
}

.success-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 6px;
}

.form-success p {
  font-size: 0.86rem;
  color: var(--text-2);
}

.form-error-msg {
  text-align: center;
  padding: 14px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.05);
  font-size: 0.84rem;
  color: var(--red);
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 5% var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.4rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform var(--transition-spring), border-color var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-2);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer-made {
  color: var(--text-3);
}

.magnetic {
  transform-origin: center;
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 7rem 5% 4rem;
    gap: 3rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-sub {
    margin: 0 auto 2.5rem;
  }

  .hero-ctas {
    justify-content: center;
  }

  .social-proof {
    justify-content: center;
  }

  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-grid, .waitlist-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    order: -1;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stat-divider {
    display: none;
  }

  .stats-grid {
    gap: 0.5rem;
  }

  .stat-block {
    flex: 1 1 calc(50% - 1rem);
  }

  /* Testimonial cards slightly narrower */
  .testi-card {
    flex: 0 0 300px;
  }
}

/* ============================================================
   RESPONSIVE — 768px  (mobile)
   On mobile: collapse the 3-col arrow|track|arrow grid,
   stack arrows below, let native touch-scroll handle swiping
   ============================================================ */
@media (max-width: 768px) {
  .nav-inner {
    gap: 0.75rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(300px, 80vw);
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.5rem 2rem;
    gap: 0.2rem;
    transition: right var(--transition-slow);
    border-left: 1px solid var(--border);
    backdrop-filter: blur(24px);
    z-index: 999;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }

  .hamburger {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .theme-toggle .toggle-track {
    width: 44px;
    height: 22px;
  }

  .toggle-thumb {
    width: 17px;
    height: 17px;
  }

  input:checked~.toggle-track .toggle-thumb {
    transform: translateX(22px);
  }

  .logo-img {
    height: 1.05rem;
  }

  .logo-letter {
    font-size: 1.3rem;
  }

  .meme-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .quiz-box {
    padding: 40px 24px 32px;
  }

  .waitlist-form {
    padding: 24px;
  }

  .hero {
    padding: 6rem 5% 3rem;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }

  .scroll-indicator {
    display: none;
  }

  .pill-1, .pill-2 {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: auto;
    min-width: 220px;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .step-connector {
    display: none;
  }

  .phone-frame {
    max-width: 280px;
    border-radius: 28px;
  }

  .about-visual {
    width: 100%;
    overflow: visible;
    padding: 0 1rem;
  }

  .phone-mockup {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* ── Testimonials mobile layout ── */
  .testi-carousel-wrapper {
    grid-template-columns: 1fr;
    /* collapse to single column */
    gap: 0;
  }

  .testi-track {
    /* re-enable native swipe on mobile */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
    order: 1;
    /* make sure track doesn't bleed outside wrapper */
    width: 100%;
  }

  /* Each card fills the full track width, no bleeding */
  .testi-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  /* Arrows go below track in a centred row */
  .testi-prev {
    order: 2;
  }

  .testi-next {
    order: 3;
  }

  /* Row of arrows */
  .testi-arrow-row {
    order: 2;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
  }

  /* Smaller arrows on mobile */
  .testi-arrow {
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  /* Avatar size on mobile */
  .testi-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .meme-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .stats-grid {
    flex-direction: column;
  }

  .stat-block {
    flex: 1 1 100%;
  }

  .logo-img {
    height: 0.95rem;
  }

  .logo-letter {
    font-size: 1.2rem;
  }

  .memes, .how-it-works, .testimonials, .quiz-cta, .about, .waitlist {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-sub {
    margin-bottom: 2rem;
  }

  .match-card {
    width: min(310px, 90vw);
  }

  .activity-feed {
    width: min(310px, 90vw);
  }

  .phone-frame {
    max-width: 300px;
    border-radius: 24px;
    padding: 12px;
  }

  .quiz-box {
    padding: 32px 16px 24px;
  }

  .footer-top {
    gap: 1.5rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .testi-card {
    padding: 20px 16px;
  }

  .testi-quote {
    font-size: 0.88rem;
  }

  .testi-avatar {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


@media (max-width: 800px) {
  #testiPrev {
    margin-left: 0 !important;
  }

  #testiNext {
    margin-left: 0 !important;
  }

  #testiTrack {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ea481e, #f7940c);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(234, 72, 30, 0.28);
  z-index: 9000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 8px 32px rgba(234, 72, 30, 0.4);
  transform: translateY(-3px);
}

.back-to-top:active {
  transform: scale(0.93);
}

.back-to-top svg {
  pointer-events: none;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }
}