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

:root {
  --bg: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --pink: #ff2d7a;
  --pink-light: #ff6b9d;
  --purple: #a855f7;
  --orange: #ff6b35;
  --brand-glow-1: rgba(255, 45, 122, 0.25);
  --brand-glow-2: rgba(168, 85, 247, 0.2);
  --brand-glow-3: rgba(255, 107, 53, 0.15);
  --brand-shadow: rgba(255, 45, 122, 0.4);
  --brand-shadow-strong: rgba(255, 45, 122, 0.5);
  --brand-shadow-soft: rgba(255, 45, 122, 0.1);
  --brand-ring: rgba(255, 45, 122, 0.12);
  --brand-bg-soft: rgba(255, 45, 122, 0.12);
  --brand-bg-medium: rgba(255, 45, 122, 0.2);
  --brand-border: rgba(255, 45, 122, 0.25);
  --brand-border-strong: rgba(255, 45, 122, 0.3);
  --brand-border-focus: rgba(255, 45, 122, 0.75);
  --brand-label: rgba(255, 107, 157, 0.7);
  --gradient: linear-gradient(135deg, #ff2d7a 0%, #a855f7 50%, #ff6b35 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 45, 122, 0.15), rgba(168, 85, 247, 0.15));
  --radius: 20px;
  --font: 'Outfit', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--brand-glow-1);
  top: -200px;
  right: -100px;
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--brand-glow-2);
  bottom: 20%;
  left: -150px;
}

.bg-glow-3 {
  width: 400px;
  height: 400px;
  background: var(--brand-glow-3);
  top: 50%;
  right: 10%;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-nav {
  background: var(--gradient);
  color: white;
  padding: 12px 24px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 32px var(--brand-shadow);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px var(--brand-shadow-strong);
}

.btn-xl {
  padding: 20px 40px;
  font-size: 1.15rem;
}

.pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 32px var(--brand-shadow); }
  50% { box-shadow: 0 8px 48px var(--brand-shadow-strong), 0 0 0 8px var(--brand-ring); }
}

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

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  max-width: 560px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.badge {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-hot {
  background: var(--brand-bg-medium);
  color: var(--pink-light);
  border: 1px solid var(--brand-border-strong);
}

.badge-free {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-nosub {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 48px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

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

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* Phone mockup */
.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 620px;
  background: linear-gradient(145deg, #1a1a24, #0f0f14);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

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

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

.profile-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  touch-action: none;
  user-select: none;
  cursor: grab;
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}

.profile-card:active {
  cursor: grabbing;
}

.profile-card.is-dragging {
  transition: none;
}

.profile-card.swipe-like {
  transform: translateX(120%) rotate(18deg) !important;
  opacity: 0;
}

.profile-card.swipe-nope {
  transform: translateX(-120%) rotate(-18deg) !important;
  opacity: 0;
}

.swipe-stack {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 88px;
  bottom: 100px;
  height: auto;
}

.swipe-counter {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 20px 8px;
}

.swipe-counter span {
  color: var(--pink-light);
  font-weight: 700;
}

.profile-photo {
  height: 168px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.profile-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 50%);
}

.profile-info {
  flex: 1;
  min-height: 0;
  padding: 10px 16px 16px;
  position: relative;
  z-index: 1;
  margin-top: -28px;
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.profile-distance {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.profile-chip {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-chip.accent {
  color: var(--pink-light);
  background: var(--brand-bg-soft);
  border-color: var(--brand-border);
}

.profile-block {
  margin-bottom: 10px;
}

.profile-block:last-child {
  margin-bottom: 0;
}

.profile-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-label);
  margin-bottom: 5px;
}

.profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.interest-tag {
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.profile-bio {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.profile-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 0 20px;
  z-index: 10;
}

.action-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.action-btn:hover {
  transform: scale(1.08);
}

.action-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.action-btn.skip {
  background: rgba(255, 255, 255, 0.08);
  color: #ff6b6b;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.15);
}

.action-btn.like {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px var(--brand-shadow);
}

.swipe-label {
  position: absolute;
  top: 120px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.15s;
}

.like-label {
  right: 28px;
  color: #4ade80;
  border: 3px solid #4ade80;
  transform: rotate(15deg);
}

.nope-label {
  left: 28px;
  color: #ff6b6b;
  border: 3px solid #ff6b6b;
  transform: rotate(-15deg);
}

.match-popup {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: var(--gradient);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.3s, transform 0.3s;
}

.match-popup.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.demo-hint {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-border-strong);
  box-shadow: 0 20px 40px var(--brand-shadow-soft);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: 80px 40px 100px;
  max-width: 900px;
  margin: 0 auto;
}

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

.step {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Testimonials */
.testimonials {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.testimonials-track {
  display: flex;
  gap: 40px;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.testimonial {
  white-space: nowrap;
  padding: 16px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* Final CTA */
.final-cta {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
}

.final-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: var(--gradient-soft);
  border: 1px solid var(--brand-border);
  border-radius: 32px;
}

.final-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-small {
  font-size: 0.8rem !important;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    align-items: center;
  }

  .stats-row {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 260px;
    height: 540px;
  }

  .swipe-stack {
    top: 76px;
    bottom: 88px;
  }

  .profile-photo {
    height: 150px;
  }

  .demo-hint {
    margin-top: 12px;
  }

  .nav {
    padding: 16px 20px;
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .btn-xl {
    padding: 18px 32px;
    font-size: 1rem;
    width: 100%;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }
}
