/* ============================================================
   LoveX — Anti-Gravity Dating App Landing Page
   Design System & Styles
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg-base:         #060411;
  --bg-surface:      #0d0820;
  --bg-card:         rgba(255, 255, 255, 0.04);
  --bg-card-hover:   rgba(255, 255, 255, 0.07);

  --purple-deep:     #3b0764;
  --purple-primary:  #7c3aed;
  --purple-light:    #a855f7;
  --purple-glow:     #c084fc;
  --pink-primary:    #ec4899;
  --pink-light:      #f472b6;
  --neon:            #e879f9;

  --text-primary:    #f8f4ff;
  --text-secondary:  rgba(248, 244, 255, 0.65);
  --text-muted:      rgba(248, 244, 255, 0.35);

  --border:          rgba(255, 255, 255, 0.08);
  --border-glow:     rgba(168, 85, 247, 0.3);

  --gradient-brand:  linear-gradient(135deg, #7c3aed, #ec4899);
  --gradient-glow:   linear-gradient(135deg, #a855f7, #ec4899, #f472b6);
  --gradient-card:   linear-gradient(135deg, rgba(124,58,237,0.15), rgba(236,72,153,0.08));

  --shadow-sm:       0 4px 20px rgba(0,0,0,0.4);
  --shadow-md:       0 8px 40px rgba(0,0,0,0.5);
  --shadow-purple:   0 20px 60px rgba(124,58,237,0.3);
  --shadow-pink:     0 20px 60px rgba(236,72,153,0.25);

  --radius-sm:       12px;
  --radius-md:       20px;
  --radius-lg:       32px;
  --radius-xl:       48px;

  --transition:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Keyframe Animations ────────────────────────────────────── */
@keyframes float-a {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(1.5deg); }
  66%       { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(-22px) rotate(-2deg); }
  75%       { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes float-c {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

@keyframes float-phone {
  0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0px); }
  50%       { transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) translateY(-16px); }
}

@keyframes orb-drift {
  0%        { transform: translate(0, 0) scale(1); }
  25%        { transform: translate(30px, -40px) scale(1.05); }
  50%        { transform: translate(-20px, -60px) scale(0.95); }
  75%        { transform: translate(40px, -20px) scale(1.08); }
  100%       { transform: translate(0, 0) scale(1); }
}

@keyframes orb-drift-2 {
  0%         { transform: translate(0, 0) scale(1); }
  30%        { transform: translate(-50px, 30px) scale(1.1); }
  60%        { transform: translate(30px, 60px) scale(0.9); }
  100%       { transform: translate(0, 0) scale(1); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.08); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

@keyframes testi-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ring-expand {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes badge-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Utility ────────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  transition: all 0.4s var(--transition);
}

.nav.scrolled {
  background: rgba(6, 4, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.logo-icon { font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform 0.3s var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--gradient-brand);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.5); }
.btn:hover::before { opacity: 1; }

.btn-sm { padding: 9px 22px; font-size: 0.85rem; }

/* ── Store Buttons ──────────────────────────────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.35s var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.store-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.35s;
}

.store-btn:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(124,58,237,0.35);
}

.store-btn:hover::before { opacity: 0.15; }

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.store-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.store-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.store-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.store-btn-large {
  padding: 18px 36px;
}

.store-btn-large .store-name { font-size: 1.2rem; }

.store-btn-footer {
  padding: 12px 20px;
  margin-bottom: 10px;
}

.store-btn-footer .store-name { font-size: 0.95rem; }

/* ── Section Labels & Titles ────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-glow);
  background: rgba(192,132,252,0.1);
  border: 1px solid rgba(192,132,252,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
  margin: 0 auto 60px;
}

/* ── Orbs ───────────────────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.4) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.3) 0%, transparent 70%);
  top: 100px; right: -80px;
  animation: orb-drift-2 22s ease-in-out infinite;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(192,132,252,0.25) 0%, transparent 70%);
  bottom: 0; left: 30%;
  animation: orb-drift 25s ease-in-out infinite reverse;
}

.orb-4 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(236,72,153,0.2) 0%, transparent 70%);
  bottom: 100px; right: 20%;
  animation: orb-drift-2 20s ease-in-out infinite;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 40px 60px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(192,132,252,0.3);
  background: rgba(192,132,252,0.08);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-glow);
  margin-bottom: 28px;
  width: fit-content;
  animation: badge-in 0.6s var(--transition) 0.2s both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-glow);
  box-shadow: 0 0 8px var(--purple-glow);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Headline */
.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s var(--transition) 0.3s both;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s var(--transition) 0.4s both;
}

/* CTA Group */
.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s var(--transition) 0.5s both;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.7s var(--transition) 0.6s both;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Hero Visual ────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 580px;
}

/* Phone Frame */
.phone-wrap {
  position: relative;
  z-index: 5;
  animation: float-phone 7s ease-in-out infinite;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  border-radius: 60px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.5) 0%, rgba(236,72,153,0.3) 40%, transparent 70%);
  filter: blur(30px);
  animation: glow-pulse 4s ease-in-out infinite;
}

.phone-frame {
  width: 260px;
  background: linear-gradient(145deg, #1a1025, #0d0820);
  border-radius: 44px;
  padding: 16px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: visible;
}

.phone-frame-sm {
  width: 210px;
  border-radius: 36px;
  padding: 12px 8px;
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #0a0612;
  aspect-ratio: 9/19.5;
  position: relative;
}

.phone-frame-sm .phone-screen {
  border-radius: 28px;
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #0a0612;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-notch-sm {
  top: 12px;
  width: 72px; height: 18px;
}

.phone-btn-side {
  position: absolute;
  right: -3px; top: 90px;
  width: 4px; height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.phone-btn-vol {
  position: absolute;
  left: -3px; top: 80px;
  width: 4px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

/* Decorative Shapes */
.shape { position: absolute; pointer-events: none; }

.shape-ring {
  width: 420px; height: 420px;
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: float-c 12s ease-in-out infinite;
}

.shape-dot {
  border-radius: 50%;
  background: var(--gradient-brand);
}

.shape-dot-1 {
  width: 12px; height: 12px;
  top: 15%; left: 10%;
  opacity: 0.7;
  animation: float-a 6s ease-in-out infinite;
}

.shape-dot-2 {
  width: 8px; height: 8px;
  bottom: 20%; left: 5%;
  opacity: 0.5;
  animation: float-b 9s ease-in-out infinite 1.5s;
}

.shape-dot-3 {
  width: 14px; height: 14px;
  top: 10%; right: 10%;
  opacity: 0.6;
  animation: float-c 7s ease-in-out infinite 0.8s;
}

/* ── Floating Widgets ───────────────────────────────────────── */
.widget {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(13, 8, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(124,58,237,0.15);
  z-index: 10;
  white-space: nowrap;
  cursor: default;
}

.widget-match {
  top: 8%; left: -5%;
  animation: float-a 6s ease-in-out infinite;
  border-color: rgba(236,72,153,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 25px rgba(236,72,153,0.2);
}

.widget-message {
  bottom: 22%; left: -8%;
  animation: float-b 8s ease-in-out infinite 1s;
  max-width: 230px;
}

.widget-verified {
  top: 5%; right: -5%;
  animation: float-c 7s ease-in-out infinite 0.5s;
  color: var(--purple-glow);
  font-size: 0.8rem;
  font-weight: 600;
  border-color: rgba(192,132,252,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(192,132,252,0.15);
  gap: 8px;
}

.widget-heart {
  bottom: 10%; right: -3%;
  padding: 14px;
  animation: float-a 5.5s ease-in-out infinite 1.5s;
  position: relative;
}

.heart-emoji { font-size: 1.4rem; position: relative; z-index: 1; }

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid rgba(236,72,153,0.5);
  animation: ring-expand 2s ease-out infinite;
}

.widget-icon { font-size: 1.3rem; }

.widget-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.widget-info { display: flex; flex-direction: column; gap: 2px; }

.widget-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.widget-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Float classes */
.float-1 { animation: float-a 6s ease-in-out infinite; }
.float-2 { animation: float-b 8s ease-in-out infinite 1s; }
.float-3 { animation: float-c 7s ease-in-out infinite 0.5s; }
.float-4 { animation: float-a 5.5s ease-in-out infinite 1.5s; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.scroll-dot {
  width: 24px;
  height: 40px;
  border: 2px solid var(--border-glow);
  border-radius: 12px;
  position: relative;
}

.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 8px;
  background: var(--purple-glow);
  border-radius: 3px;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

/* ── Previews Section ───────────────────────────────────────── */
.previews {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.previews-stage {
  position: relative;
  height: 600px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.preview-orb-1 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
}

.preview-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(236,72,153,0.3) 0%, transparent 70%);
  top: 50%; left: 70%;
  transform: translate(-50%, -50%);
}

.preview-phone {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s var(--transition);
}

.preview-phone:hover { transform: scale(1.03) !important; }

.preview-phone-left {
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg) translateX(0);
  z-index: 3;
}

.preview-phone-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.preview-phone-right {
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  z-index: 3;
}

.preview-phone-glow {
  position: absolute;
  inset: -20px;
  border-radius: 60px;
  filter: blur(25px);
  opacity: 0.6;
  animation: glow-pulse 3s ease-in-out infinite;
}

.glow-purple {
  background: radial-gradient(ellipse, rgba(124,58,237,0.6) 0%, transparent 70%);
}

.glow-pink {
  background: radial-gradient(ellipse, rgba(236,72,153,0.5) 0%, transparent 70%);
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.preview-label-icon { font-size: 1rem; }

.float-slow  { animation: float-c 10s ease-in-out infinite; }
.float-med   { animation: float-a 8s ease-in-out infinite 0.5s; }
.float-fast  { animation: float-b 6.5s ease-in-out infinite 1s; }

/* ── Features Section ───────────────────────────────────────── */
.features {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.orb-features-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orb-drift 20s ease-in-out infinite;
}

.orb-features-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.18) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: orb-drift-2 18s ease-in-out infinite;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all 0.4s var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-glow);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.2);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }

.feature-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(124,58,237,0.25);
  box-shadow: 0 0 25px rgba(124,58,237,0.4);
}

.feature-icon {
  width: 28px; height: 28px;
  color: var(--purple-glow);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.feature-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(192,132,252,0.1);
  border: 1px solid rgba(192,132,252,0.2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-glow);
  position: relative;
  z-index: 1;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials {
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.testimonials .section-label,
.testimonials .section-title,
.testimonials .section-sub {
  padding: 0 40px;
}

.testi-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testi-track-wrap::before,
.testi-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  z-index: 10;
  pointer-events: none;
}

.testi-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-base), transparent);
}

.testi-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-base), transparent);
}

.testi-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testi-scroll 30s linear infinite;
}

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

.testi-card {
  width: 360px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.testi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236,72,153,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.testi-card:hover {
  border-color: rgba(236,72,153,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 25px rgba(236,72,153,0.1);
  transform: translateY(-4px);
}

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

.testi-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.testi-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

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

.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.testi-avatar-1 { background: linear-gradient(135deg, #7c3aed, #ec4899); border-color: rgba(236,72,153,0.3); }
.testi-avatar-2 { background: linear-gradient(135deg, #3b82f6, #7c3aed); border-color: rgba(124,58,237,0.3); }
.testi-avatar-3 { background: linear-gradient(135deg, #ec4899, #f59e0b); border-color: rgba(236,72,153,0.3); }
.testi-avatar-4 { background: linear-gradient(135deg, #10b981, #3b82f6); border-color: rgba(59,130,246,0.3); }
.testi-avatar-5 { background: linear-gradient(135deg, #f59e0b, #ec4899); border-color: rgba(245,158,11,0.3); }

.testi-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testi-loc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Final CTA ──────────────────────────────────────────────── */
.final-cta {
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.orb-cta-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 6s ease-in-out infinite;
}

.orb-cta-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.25) 0%, transparent 65%);
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 5s ease-in-out infinite 1s;
}

.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cta-ring-1 {
  width: 500px; height: 500px;
  border-color: rgba(124,58,237,0.12);
  animation: float-c 15s ease-in-out infinite;
}

.cta-ring-2 {
  width: 700px; height: 700px;
  border-color: rgba(236,72,153,0.08);
  animation: float-c 20s ease-in-out infinite reverse;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
}

.cta-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 44px;
}

.cta-group {
  justify-content: center;
  margin-bottom: 32px;
}

.cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 40px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 24px;
}

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

.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s var(--transition);
}

.social-btn svg { width: 18px; height: 18px; }

.social-btn:hover {
  border-color: var(--border-glow);
  color: var(--purple-glow);
  background: rgba(124,58,237,0.1);
  transform: translateY(-2px);
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-links-group a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links-group a:hover { color: var(--purple-glow); }

.footer-download {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-download .footer-links-title {
  margin-bottom: 14px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-heart { color: var(--text-muted); }

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

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

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .hero-visual { height: 500px; }
  .features-grid { grid-template-columns: 1fr; max-width: 500px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 80px 24px 60px; }
  .hero-headline { font-size: 2.8rem; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }
  .hero-visual { height: 420px; }
  .phone-frame { width: 210px; }
  .widget-match { left: -2%; top: 5%; }
  .widget-message { left: -2%; bottom: 20%; max-width: 190px; }
  .widget-verified { right: -2%; top: 2%; }
  .widget-heart { right: 0; bottom: 8%; }
  .previews { padding: 80px 24px; }
  .previews-stage { height: 400px; }
  .preview-phone-left, .preview-phone-right { display: none; }
  .preview-phone-center { position: relative; left: auto; top: auto; transform: none; }
  .previews-stage { height: auto; }
  .features { padding: 80px 24px; }
  .testimonials { padding: 80px 0; }
  .final-cta { padding: 100px 24px; }
  .footer { padding: 60px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-download { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .phone-frame { width: 180px; }
}
