/* ─── BASE ───────────────────────────────────────────────────────────────── */
:root {
  --pink:    #ff4c68;
  --coral:   #ef8172;
  --blue:    #00bfff;
  --dark:    #0f0f1a;
  --dark-2:  #1a1a2e;
  --card-bg: #ffffff;
  --text:    #2d2d3a;
  --muted:   #6b7280;
  --radius:  1rem;
  --shadow:  0 4px 24px rgba(0,0,0,.08);
  --grad:    linear-gradient(135deg, var(--pink), var(--coral), var(--blue));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

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

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.ap-navbar {
  background: transparent;
  padding: .75rem 0;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.ap-navbar.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -.3px;
  transition: color .3s;
}

.ap-navbar.scrolled .brand-name { color: var(--text); }

.ap-navbar .nav-link {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .9rem;
  transition: color .2s;
  padding: .4rem .75rem;
  border-radius: .5rem;
}

.ap-navbar .nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }

.ap-navbar.scrolled .nav-link { color: var(--muted); }
.ap-navbar.scrolled .nav-link:hover { color: var(--text); background: #f3f4f6; }

.logo-white-bg {
  background: #fff;
  border-radius: .5rem;
  padding: 3px;
}

.ap-btn-primary {
  background: var(--grad);
  color: #fff !important;
  border: none;
  font-weight: 600;
  border-radius: 2rem;
  transition: opacity .2s, transform .2s;
}

.ap-btn-primary:hover { opacity: .9; transform: translateY(-1px); }

/* Hamburger */
.toggler-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 4px 0;
  transition: background .3s;
}
.ap-navbar.scrolled .toggler-icon { background: var(--text); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(300deg, #00bfff, #ff4c68, #ef8172);
  background-size: 180% 180%;
  animation: gradientMove 18s ease infinite;
  opacity: .9;
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
}
.shape-1 { width: 500px; height: 500px; background: #fff; top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--pink); bottom: 0; left: 0; }
.shape-3 { width: 200px; height: 200px; background: var(--blue); top: 40%; left: 40%; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 2rem;
  letter-spacing: .3px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* Store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  border-radius: .875rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}

.store-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }

.store-btn-primary {
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.store-btn-primary:hover { background: rgba(0,0,0,.5); color: #fff; }

.store-btn-secondary {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.store-btn-secondary:hover { background: rgba(255,255,255,.25); color: #fff; }

.store-btn-white {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.store-btn-white:hover { background: rgba(255,255,255,.25); color: #fff; }

.store-btn-text small { display: block; font-size: .65rem; opacity: .75; line-height: 1; }
.store-btn-text strong { display: block; font-size: .95rem; line-height: 1.3; }

/* Trust indicator */
.trust-avatars { display: flex; }
.trust-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
}
.trust-avatar:first-child { margin-left: 0; }
.trust-text { font-size: .85rem; color: rgba(255,255,255,.85); font-weight: 500; }

/* Phone mockup */
.phone-mockup-wrapper {
  position: relative;
  width: 260px;
  margin-top: 60px;
}

.phone-mockup {
  background: #1c1c1e;
  border-radius: 2.5rem;
  padding: .5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-screen {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 9/16;
  width: 100%;
}

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

.phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.match-card {
  background: rgba(255,255,255,.95);
  color: var(--pink);
  font-weight: 700;
  font-size: .85rem;
  padding: .5rem 1.25rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.match-heart { font-size: 1.1rem; }

/* Floating cards */
.floating-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: .875rem;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  min-width: 170px;
}

.card-1 { top: 15%; right: -80px; animation: floatCard1 4s ease-in-out infinite; }
.card-2 { bottom: 20%; left: -90px; animation: floatCard2 5s ease-in-out infinite; }

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

.fc-emoji { font-size: 1.4rem; }
.fc-title { font-size: .8rem; font-weight: 700; color: var(--text); margin: 0; line-height: 1.3; }
.fc-sub   { font-size: .7rem; color: var(--muted); margin: 0; line-height: 1.3; }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-dot {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%   { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* ─── STATS ──────────────────────────────────────────────────────────────── */
.stats-section { background: #f9fafb; }

.stat-item { padding: 1.5rem 1rem; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: .25rem;
}

.stat-label {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* ─── SECTION HEADERS ────────────────────────────────────────────────────── */
.section-header { max-width: 600px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,76,104,.1), rgba(0,191,255,.1));
  color: var(--pink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 2rem;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: .75rem;
}

.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

/* ─── FEATURES ───────────────────────────────────────────────────────────── */
.features-section { background: #fff; }

.feature-card {
  background: var(--card-bg);
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}

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

.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.1); border-color: transparent; }
.feature-card:hover::before { opacity: .04; }

.feature-card-featured {
  background: linear-gradient(135deg, #fff9fb, #f0faff);
  border-color: rgba(255,76,104,.2);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: .875rem;
  background: linear-gradient(135deg, rgba(255,76,104,.1), rgba(0,191,255,.1));
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.feature-icon.featured { background: var(--grad); color: #fff; }

.featured-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--grad);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 2rem;
}

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

.feature-desc {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-tag {
  display: inline-block;
  background: #f3f4f6;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 2rem;
  letter-spacing: .3px;
  position: relative;
  z-index: 1;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-section { background: #f9fafb; }

.step-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.1); }

.step-number {
  font-size: 4rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .15;
  position: absolute;
  top: .5rem;
  right: 1rem;
  line-height: 1;
}

.step-icon { font-size: 2.5rem; margin-bottom: .75rem; }

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.step-desc { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ─── CTA SECTION ────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(300deg, #00bfff, #ff4c68, #ef8172);
  background-size: 180% 180%;
  animation: gradientMove 18s ease infinite;
}

.cta-logo {
  position: relative;
  z-index: 1;
  animation: phoneFloat 6s ease-in-out infinite;
}

.cta-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: .75rem;
}

.cta-sub {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
}

.cta-section .d-flex { position: relative; z-index: 1; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.ap-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255,255,255,.55);
}

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-copy a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-copy a:hover { color: #fff; }

.footer-heading {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: .6rem; }

.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

.footer-links a:hover { color: #fff; }

.footer-address {
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ─── FADE-IN ANIMATION ──────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .floating-card { display: none; }
  .phone-mockup-wrapper { margin-top: 0; width: 200px; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 1.8rem; }
  .store-btn { width: 100%; justify-content: center; }
  .phone-mockup-wrapper { width: 180px; }
}
