/* ========== RESET & DESIGN SYSTEM ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:root {
  --bg-primary: #050505;
  --bg-card: rgba(255,255,255,0.025);
  --bg-card-hover: rgba(255,255,255,0.055);
  --bg-nav: rgba(5,5,5,0.75);
  --text-primary: #f5f5f5;
  --text-secondary: #8a8a8a;
  --text-muted: #555555;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --accent: #FF4D6A;
  --accent-light: #FF6B82;
  --accent-dark: #E8365A;
  --accent-glow: rgba(255,77,106,0.15);
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 120px 0; position: relative; }

h1 { font-size: 4.5rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: 2.75rem; font-weight: 700; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { color: var(--text-secondary); }

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  z-index: 2000;
  width: 0%;
  transition: none;
  box-shadow: 0 0 12px var(--accent-glow), 0 0 30px rgba(255,77,106,0.08);
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,106,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ========== ANIMATED BACKGROUND ========== */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.bg-blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(255,77,106,0.08);
  top: -200px;
  right: -200px;
  animation: blobFloat1 20s ease-in-out infinite;
}
.bg-blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(255,77,106,0.05);
  bottom: 20%;
  left: -200px;
  animation: blobFloat2 25s ease-in-out infinite;
}
.bg-blob-3 {
  width: 400px;
  height: 400px;
  background: rgba(255,107,130,0.04);
  top: 50%;
  right: 10%;
  animation: blobFloat3 22s ease-in-out infinite;
}
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, 60px) scale(1.1); }
  66% { transform: translate(40px, -40px) scale(0.95); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -50px) scale(1.15); }
  66% { transform: translate(-30px, 80px) scale(0.9); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -60px) scale(1.1); }
}

/* ========== FLOATING PARTICLES ========== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255,77,106,0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}
.particle:nth-child(odd) {
  background: rgba(255,255,255,0.15);
}
.particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: -4s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: -8s; }
.particle:nth-child(4) { left: 55%; animation-duration: 24s; animation-delay: -2s; width: 1px; height: 1px; }
.particle:nth-child(5) { left: 70%; animation-duration: 20s; animation-delay: -6s; }
.particle:nth-child(6) { left: 85%; animation-duration: 19s; animation-delay: -10s; width: 3px; height: 3px; }
.particle:nth-child(7) { left: 15%; animation-duration: 23s; animation-delay: -12s; }
.particle:nth-child(8) { left: 60%; animation-duration: 17s; animation-delay: -3s; width: 1px; height: 1px; }
.particle:nth-child(9) { left: 35%; animation-duration: 21s; animation-delay: -7s; }
.particle:nth-child(10) { left: 80%; animation-duration: 25s; animation-delay: -14s; }
.particle:nth-child(11) { left: 5%; animation-duration: 19s; animation-delay: -5s; width: 1px; height: 1px; }
.particle:nth-child(12) { left: 50%; animation-duration: 26s; animation-delay: -9s; }
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; transform: translateY(90vh) scale(1); }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}

/* ========== NOISE OVERLAY ========== */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ========== SECTION DIVIDER GLOW ========== */
.section-glow {
  width: 100%;
  height: 1px;
  position: relative;
  overflow: visible;
}
.section-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.section-glow::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(255,77,106,0.06), transparent 70%);
}

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; margin-bottom: 72px; }
.section-header p { max-width: 520px; margin: 16px auto 0; font-size: 1.05rem; line-height: 1.7; }
.gradient-underline {
  display: inline-block;
  position: relative;
}
.gradient-underline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.8;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.6s var(--transition-spring);
}
.reveal.visible .gradient-underline::after {
  transform: translateX(-50%) scaleX(1);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #ff8fa3, var(--accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.42s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.49s; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 30px rgba(0,0,0,0.3);
  padding: 12px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 1001;
  letter-spacing: -0.01em;
  transition: transform var(--transition);
}
.nav-brand:hover { transform: scale(1.03); }
.nav-brand img {
  width: 34px;
  height: 34px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

/* Hamburger */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .nav-links a {
    font-size: 1.2rem;
    color: var(--text-secondary);
    padding: 8px 0;
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--text-primary); }
  .nav-links a::after { display: none; }
  .nav-toggle:checked ~ .nav-links {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-brand { z-index: 1001; }
  .hamburger { z-index: 1001; }
}

/* ========== HERO ========== */
.hero {
  padding: 160px 0 120px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero text animation */
.hero-content { position: relative; z-index: 2; }
.hero-content > * {
  opacity: 0;
  transform: translateY(40px);
  animation: heroStagger 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes heroStagger {
  to { opacity: 1; transform: translateY(0); }
}

.hero-icon {
  width: 64px;
  height: 64px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 16px;
  border-radius: 16px;
  animation: iconPulse 4s 2s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 20px rgba(255,77,106,0.3)); }
}
.hero h1 {
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Typing cursor for tagline */
.hero-tagline .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.75;
}

/* Hero badges */
.hero-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  background: rgba(255,77,106,0.08);
  border: 1px solid rgba(255,77,106,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,77,106,0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.hero-badge:hover::before { opacity: 1; }
.hero-badge i {
  color: var(--accent);
  font-size: 0.65rem;
  filter: drop-shadow(0 0 4px rgba(255,77,106,0.4));
}
.hero-badge:hover {
  border-color: rgba(255,77,106,0.3);
  background: rgba(255,77,106,0.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,77,106,0.1);
}

/* App Store button with shine */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #000;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.app-store-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: none;
  animation: btnShine 4s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}
.app-store-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255,255,255,0.1);
}
.app-store-btn svg { width: 22px; height: 22px; }

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroPhoneIn 1.2s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroPhoneIn {
  from { opacity: 0; transform: translateY(60px) rotateX(10deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}
.hero-phone::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,77,106,0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  z-index: 0;
  animation: breathe 6s ease-in-out infinite;
}
.hero-phone::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,77,106,0.08), transparent 70%);
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}
.phone-frame {
  position: relative;
  width: 270px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 44px;
  padding: 12px;
  background: #000;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(255,77,106,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 25px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  border: 2px solid rgba(255,255,255,0.06);
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
}
.phone-screen img {
  width: 100%;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%,-50%) scale(1.2); opacity: 1; }
}

@media (max-width: 768px) {
  .hero { padding: 130px 0 60px; }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero h1 { font-size: 2.75rem; }
  .hero-tagline { font-size: 1.15rem; }
  .hero-description { margin: 0 auto 36px; }
  .hero-phone { order: -1; margin-bottom: 8px; }
  .phone-frame { width: 220px; }
  .hero-badges { justify-content: center; }
}

/* ========== MARQUEE BANNER ========== */
.marquee-section {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,77,106,0.02);
  position: relative;
  z-index: 2;
}
.marquee {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 18px 0;
  flex-shrink: 0;
}
.marquee-content span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee-content span i {
  color: var(--accent);
  font-size: 0.55rem;
}
.marquee-content + .marquee-content {
  margin-left: 48px;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== STATS SECTION ========== */
.stats-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 2rem; }
}
@media (max-width: 480px) {
  .stat-number { font-size: 1.75rem; }
  .stat-label { font-size: 0.72rem; }
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* 3D tilt card with shimmer */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
}
/* Shimmer sweep on reveal */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
  transition: none;
}
.reveal-stagger.visible .feature-card::after {
  animation: cardShimmer 1s 0.3s ease-out forwards;
}
@keyframes cardShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,77,106,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
/* Card inner glow that follows mouse */
.feature-card .card-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,106,0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  transform: translate(-50%, -50%);
}
.feature-card:hover .card-glow { opacity: 1; }
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 50px var(--accent-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #fff;
  transition: all var(--transition-spring);
  position: relative;
  z-index: 2;
}
/* Icon glow ring */
.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  background: var(--accent);
  opacity: 0;
  filter: blur(12px);
  transition: opacity var(--transition);
  z-index: -1;
}
.feature-card:hover .feature-icon::after { opacity: 0.3; }
.feature-card:hover .feature-icon {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.feature-card h3 { margin-bottom: 14px; color: var(--text-primary); position: relative; z-index: 2; }
.feature-card ul { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 2; }
.feature-card li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
  transition: color var(--transition);
}
.feature-card:hover li { color: var(--text-primary); }
.feature-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all var(--transition);
}
.feature-card:hover li::before {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

/* ========== HOW IT WORKS ========== */
.steps {
  display: flex;
  gap: 24px;
  position: relative;
  justify-content: space-between;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), var(--border-hover), transparent);
}
/* Animated progress line */
.steps::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  opacity: 0.4;
}
.reveal-stagger.visible.steps::after { transform: scaleX(1); }

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  transition: all var(--transition);
  position: relative;
}
.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color var(--transition);
}
.step:hover .step-number {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(255,77,106,0.05);
  transform: scale(1.08);
}
.step:hover .step-number::after { border-color: rgba(255,77,106,0.15); }
.step h3 { margin-bottom: 10px; color: var(--text-primary); transition: color var(--transition); }
.step:hover h3 { color: var(--accent); }
.step p { font-size: 0.85rem; max-width: 180px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding-left: 64px;
  }
  .steps::before, .steps::after {
    top: 0; bottom: 0;
    left: 27px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--border-hover), var(--border-hover), transparent);
  }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .reveal-stagger.visible.steps::after { transform: scaleY(1); }
  .step {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    margin: 0;
    position: absolute;
    left: -64px;
  }
  .step-number::after { inset: -3px; }
  .step-text { flex: 1; }
  .step p { max-width: none; }
}

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: visible;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  border-color: var(--border-hover);
}

/* Featured card with rotating gradient border */
.pricing-card.featured {
  border: none;
  position: relative;
  background: var(--bg-primary);
  z-index: 1;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), var(--accent), transparent 40%, var(--accent-dark), transparent 70%, var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 6s linear infinite;
  z-index: -1;
}
@keyframes rotateBorder {
  to { --angle: 360deg; }
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: var(--bg-primary);
  z-index: -1;
}
.pricing-card.featured:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 60px var(--accent-glow);
}
.best-value {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,77,106,0.3); }
  50% { box-shadow: 0 0 28px rgba(255,77,106,0.5); }
}
.pricing-card h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.scan-limit {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  margin-bottom: 24px;
  display: inline-block;
  border: 1px solid var(--border);
}
.pricing-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
}
.pricing-cta {
  display: block;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
  width: 100%;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.pricing-cta:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.pricing-card.featured .pricing-cta {
  background: var(--accent);
  border: none;
  color: #fff;
}
.pricing-card.featured .pricing-cta:hover {
  background: var(--accent-light);
  box-shadow: 0 12px 36px var(--accent-glow);
  transform: translateY(-2px);
}
.pricing-footnote {
  text-align: center;
  margin-top: 36px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { order: -1; }
}

/* ========== SCREENSHOTS ========== */
.screenshots-scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 48px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: transform var(--transition-spring);
}
.screenshot-item:hover { transform: scale(1.04) translateY(-4px); }
.screenshot-item .phone-frame {
  width: 240px;
  animation: none;
}
.screenshots-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.screenshots-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.screenshots-dots span:hover { background: var(--text-secondary); }
.screenshots-dots span.active {
  background: var(--accent);
  width: 28px;
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,77,106,0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.cta-content h2 {
  margin-bottom: 16px;
}
.cta-content p {
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.cta-content .app-store-btn {
  margin: 0 auto;
}

/* ========== LEGAL SECTIONS ========== */
.legal-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.legal-content h2 { font-size: 2rem; margin-bottom: 4px; }
.legal-date { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 32px; display: block; }
.legal-content h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin: 32px 0 12px;
}
.legal-content h3:first-of-type { margin-top: 0; }
.legal-content p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-content ul {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.legal-content li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}
.legal-content strong { color: var(--text-primary); font-weight: 600; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.875rem;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.legal-table th {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  font-weight: 600;
}
.legal-table td { color: var(--text-secondary); }

@media (max-width: 480px) {
  .legal-content { padding: 28px 20px; }
  .legal-table { font-size: 0.8rem; }
  .legal-table th, .legal-table td { padding: 8px 10px; }
}

/* ========== FOOTER ========== */
.footer {
  background: rgba(0,0,0,0.5);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-brand img { width: 30px; height: 30px; }
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-contact a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--accent); }
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255,77,106,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,77,106,0.1);
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 80px 0; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .section-header { margin-bottom: 48px; }
  .section-header p { font-size: 0.95rem; }

  /* Reduce blobs for performance */
  .bg-blob-1 { width: 350px; height: 350px; }
  .bg-blob-2 { width: 300px; height: 300px; }
  .bg-blob-3 { display: none; }
  .cursor-glow { display: none; }

  /* Screenshots */
  .screenshot-item .phone-frame { width: 200px; }
  .screenshots-scroll { gap: 16px; padding: 16px 0 36px; }

  /* Legal table scroll */
  .legal-table { display: block; overflow-x: auto; }

  /* Marquee */
  .marquee-content span { font-size: 0.7rem; gap: 10px; }
  .marquee-content { gap: 32px; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-section::before { width: 350px; height: 350px; }
}

/* Large phone */
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 24px 20px; }

  .hero h1 { font-size: 2.25rem; }
  .hero-tagline { font-size: 1.05rem; }
  .hero-description { font-size: 0.9rem; line-height: 1.7; }
  .hero-icon { width: 48px; height: 48px; margin-right: 12px; }

  .app-store-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .phone-frame { width: 200px; border-radius: 36px; padding: 10px; }
  .phone-frame::before { width: 70px; height: 20px; top: 12px; border-radius: 16px; }
  .phone-screen { border-radius: 28px; }
  .hero-phone::before { width: 250px; height: 250px; }

  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 30px 20px; }
  .price { font-size: 2.5rem; }
  .pricing-features { gap: 9px; }
  .scan-limit { margin-bottom: 20px; }

  .screenshot-item .phone-frame { width: 180px; }

  .footer-links { gap: 16px; }
  .footer-links a { font-size: 0.8rem; }

  .hero-badges { gap: 8px; }
  .hero-badge { padding: 5px 10px; font-size: 0.7rem; }
}

/* Small phone */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.05rem; }
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 0.9rem; margin-top: 10px; }

  .hero { padding: 110px 0 48px; }
  .hero .container { gap: 32px; }
  .hero h1 { font-size: 2rem; margin-bottom: 12px; }
  .hero-tagline { font-size: 1rem; margin-bottom: 12px; }
  .hero-description { font-size: 0.875rem; margin-bottom: 28px; }

  .phone-frame { width: 180px; border-radius: 32px; padding: 8px; }
  .phone-frame::before { width: 60px; height: 18px; top: 10px; }
  .phone-screen { border-radius: 26px; }
  .hero-phone::before { width: 200px; height: 200px; }
  .hero-phone::after { width: 120px; height: 120px; }

  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 10px 0; }
  .nav-brand { font-size: 1.05rem; gap: 8px; }
  .nav-brand img { width: 28px; height: 28px; }

  .steps { padding-left: 56px; }
  .step-number { width: 44px; height: 44px; font-size: 1rem; left: -56px; }
  .steps::before, .steps::after { left: 24px; }
  .price { font-size: 2.25rem; }
  .pricing-card { padding: 28px 16px; }
  .pricing-card h3 { font-size: 0.85rem; margin-bottom: 12px; }
  .pricing-features { gap: 8px; margin-bottom: 20px; }
  .scan-limit { margin-bottom: 18px; padding: 6px 12px; font-size: 0.8rem; }
  .pricing-cta { padding: 12px 20px; font-size: 0.85rem; }

  .screenshot-item .phone-frame { width: 160px; }
  .screenshots-scroll { gap: 12px; }

  .legal-content { padding: 24px 16px; border-radius: 12px; }
  .legal-content h2 { font-size: 1.5rem; }
  .legal-content h3 { font-size: 1rem; margin: 24px 0 10px; }
  .legal-content p { font-size: 0.875rem; }
  .legal-content li { font-size: 0.875rem; }

  .footer { padding: 48px 0 24px; }
  .footer-content { gap: 24px; margin-bottom: 24px; }
  .footer-brand { font-size: 1rem; }
  .footer-brand img { width: 26px; height: 26px; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 0.78rem; }
  .footer-contact a { font-size: 0.78rem; }
  .footer-bottom { font-size: 0.72rem; padding-top: 20px; }

  /* Hide heavy background effects */
  .bg-blob-1 { width: 250px; height: 250px; opacity: 0.25; }
  .bg-blob-2 { display: none; }
  .bg-grid { opacity: 0.5; }

  /* Particles reduced */
  .particle:nth-child(n+7) { display: none; }

  .stats-section { padding: 48px 0; }
  .marquee-content span { font-size: 0.65rem; }

  .cta-section { padding: 64px 0; }
}

/* Very small phone (iPhone SE etc) */
@media (max-width: 375px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 100px 0 40px; }
  .hero-description { font-size: 0.84rem; }
  .app-store-btn { padding: 12px 20px; font-size: 0.84rem; gap: 10px; border-radius: 12px; }
  .app-store-btn svg { width: 18px; height: 18px; }
  .phone-frame { width: 160px; }
  .price { font-size: 2rem; }
  .pricing-card { padding: 24px 14px; }
  .feature-card { padding: 20px 16px; }
  .steps { padding-left: 50px; }
  .step-number { width: 40px; height: 40px; font-size: 0.9rem; left: -50px; }
  .steps::before, .steps::after { left: 22px; }
  .feature-icon { width: 38px; height: 38px; font-size: 0.95rem; }
  .legal-section { padding: 60px 0; }
}
