/* ===================================================
   WOWMET — Main Stylesheet
   Design: Glassmorphism + Gradient Premium Social
   Font: Poppins (Google Fonts)
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --pink: #E72B75;
  --purple: #84519F;
  --grad: linear-gradient(135deg, #E72B75 0%, #84519F 100%);
  --grad-rev: linear-gradient(135deg, #84519F 0%, #E72B75 100%);
  --grad-soft: linear-gradient(135deg, rgba(231,43,117,0.15) 0%, rgba(132,81,159,0.15) 100%);
  --dark: #0d0d14;
  --dark2: #12121e;
  --dark3: #1a1a2e;
  --text: #f0f0f8;
  --text-muted: rgba(240,240,248,0.6);
  --glass: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(231,43,117,0.15);
  --shadow-lg: 0 30px 80px rgba(132,81,159,0.25);
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--grad); border-radius: 10px; }

/* ===================================================
   ANIMATED BACKGROUND MESH
=================================================== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-mesh::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,43,117,0.18) 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: blobDrift1 18s ease-in-out infinite alternate;
}
.bg-mesh::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132,81,159,0.18) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: blobDrift2 14s ease-in-out infinite alternate;
}
@keyframes blobDrift1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(120px,80px) scale(1.3); }
}
@keyframes blobDrift2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-80px,-60px) scale(1.2); }
}

/* Floating dots */
.floating-dots {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatDot linear infinite;
}
@keyframes floatDot {
  0%   { opacity: 0; transform: translateY(0) scale(0.8); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120vh) scale(1.2); }
}

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(13,13,20,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background: rgba(13,13,20,0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--glass-border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 30px;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav a:last-child { border-bottom: none; }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  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::before { opacity: 1; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 30px rgba(231,43,117,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(231,43,117,0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(231,43,117,0.2);
}

.btn-glass {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.btn-outline-gradient {
  background: transparent;
  color: var(--text);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.btn-outline-gradient::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad);
  border-radius: inherit;
  z-index: -1;
}

/* Pulse animation for main CTAs */
.btn-pulse {
  animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 6px 30px rgba(231,43,117,0.35); }
  50%       { box-shadow: 0 8px 50px rgba(231,43,117,0.65), 0 0 20px rgba(132,81,159,0.4); }
}

/* ===================================================
   SECTIONS
=================================================== */
section { padding: 100px 0; position: relative; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===================================================
   GLASS CARDS
=================================================== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,43,117,0.5), rgba(132,81,159,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(231,43,117,0.3);
  box-shadow: 0 24px 60px rgba(231,43,117,0.12);
}
.glass-card:hover::before { opacity: 1; }

/* ===================================================
   GRADIENT DIVIDER
=================================================== */
.grad-divider {
  width: 60px; height: 4px;
  background: var(--grad);
  border-radius: 4px;
  margin: 20px 0;
}
.grad-divider.center { margin: 20px auto; }

/* ===================================================
   HERO SECTION
=================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Waveform background decoration */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  pointer-events: none;
  opacity: 0.07;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.6; }
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-headline .gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Shimmer on gradient text */
.hero-headline .gradient-text {
  background-size: 200% 100%;
  animation: textShimmer 4s ease infinite;
}
@keyframes textShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrap {
  position: relative;
  z-index: 2;
}

.phone-outer {
  width: 270px;
  height: 560px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: phoneFloat 5s ease-in-out infinite;
  backdrop-filter: blur(10px);
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--dark2);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 90px; height: 22px;
  background: var(--dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 0;
  z-index: 2;
  flex-shrink: 0;
}

.phone-ui {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
}
.phone-header-logo {
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.phone-header-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

/* Map area */
.phone-map {
  flex: 1;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231,43,117,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231,43,117,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
/* Location pins on map */
.map-pin {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  cursor: default;
  animation: pinPop 3s ease-in-out infinite;
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.4;
  animation: pinRing 2.5s ease-out infinite;
}
@keyframes pinPop {
  0%,100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1.1) translateY(-3px); }
}
@keyframes pinRing {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}
.pin-pink { background: var(--pink); color: var(--pink); top: 25%; left: 30%; animation-delay: 0s; }
.pin-purple { background: var(--purple); color: var(--purple); top: 55%; left: 60%; animation-delay: 0.8s; }
.pin-mix { background: linear-gradient(135deg,var(--pink),var(--purple)); top: 40%; left: 50%; animation-delay: 1.6s; }
.pin-sm1 { background: rgba(231,43,117,0.5); width: 18px; height: 18px; font-size: 0.5rem; top: 70%; left: 25%; animation-delay: 0.4s; }
.pin-sm2 { background: rgba(132,81,159,0.5); width: 18px; height: 18px; font-size: 0.5rem; top: 30%; left: 65%; animation-delay: 1.2s; }

/* Event card */
.phone-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: cardSlideIn 4s ease-in-out infinite;
}
@keyframes cardSlideIn {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(-3px); }
}
.phone-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.phone-card-info { flex: 1; min-width: 0; }
.phone-card-name { font-size: 0.72rem; font-weight: 700; color: var(--text); }
.phone-card-time { font-size: 0.6rem; color: var(--text-muted); }
.phone-card-join {
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Floating orbit blobs behind phone */
.phone-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}
.orbit-1 {
  width: 300px; height: 300px;
  background: rgba(231,43,117,0.2);
  top: -80px; right: -80px;
  animation: orbitSpin 8s linear infinite;
}
.orbit-2 {
  width: 250px; height: 250px;
  background: rgba(132,81,159,0.2);
  bottom: -60px; left: -60px;
  animation: orbitSpin 10s linear infinite reverse;
}
@keyframes orbitSpin {
  0%   { transform: rotate(0) scale(1); }
  50%  { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ===================================================
   HOW IT WORKS
=================================================== */
.how-it-works { background: transparent; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}
/* Connector line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--purple), transparent);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-icon-wrap {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  position: relative;
  transition: all 0.3s ease;
}
.step-icon-wrap::after {
  content: attr(data-step);
  position: absolute;
  top: -6px; right: -6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.step-card:hover .step-icon-wrap {
  background: var(--grad-soft);
  border-color: rgba(231,43,117,0.4);
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(231,43,117,0.2);
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================
   FEATURES
=================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
}
.feature-icon {
  width: 68px; height: 68px;
  border-radius: 20px;
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: var(--grad);
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(231,43,117,0.35);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===================================================
   USE CASES
=================================================== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.use-case-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}
.use-case-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.use-case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(231,43,117,0.3);
  box-shadow: var(--shadow);
}
.use-case-card:hover::before { transform: scaleX(1); }
.use-case-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.use-case-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.use-case-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ===================================================
   APP PREVIEW / MOCKUP SECTION
=================================================== */
.app-preview {
  background: linear-gradient(to bottom, transparent, rgba(231,43,117,0.04), transparent);
}
.preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.preview-phones {
  display: flex;
  gap: -20px;
  justify-content: center;
  position: relative;
}
.preview-phone-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 20px 16px;
  width: 200px;
  animation: phoneFloat 5s ease-in-out infinite;
}
.preview-phone-card:nth-child(2) {
  margin-top: 40px;
  animation-delay: 0.8s;
  margin-left: -20px;
}
.preview-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ps-logo {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ps-icons { display: flex; gap: 5px; }
.ps-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.ps-map {
  height: 100px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.ps-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231,43,117,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231,43,117,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.ps-pin {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad);
  top: 40%; left: 40%;
  animation: pinPop 3s ease-in-out infinite;
}

.ps-events { display: flex; flex-direction: column; gap: 8px; }
.ps-event {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px 10px;
}
.ps-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ps-event-text { flex: 1; }
.ps-event-name { font-size: 0.6rem; font-weight: 700; }
.ps-event-sub  { font-size: 0.52rem; color: var(--text-muted); }
.ps-event-badge {
  font-size: 0.52rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
  white-space: nowrap;
}

.preview-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.25; margin-bottom: 20px; }
.preview-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.preview-list-item { display: flex; align-items: flex-start; gap: 14px; }
.preview-list-item .list-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.preview-list-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.preview-list-item p  { font-size: 0.84rem; color: var(--text-muted); }

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.testimonial-card {
  padding: 36px;
}
.testimonial-stars {
  display: flex; gap: 4px;
  margin-bottom: 16px;
}
.star { color: var(--pink); font-size: 1rem; }
.testimonial-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 700; }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===================================================
   CTA SECTION
=================================================== */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(231,43,117,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}
.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}
.cta-box p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-waveform {
  position: absolute;
  bottom: -10px; left: 0; right: 0;
  opacity: 0.06;
}

/* ===================================================
   DOWNLOAD BUTTONS (Store)
=================================================== */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(10px);
}
.store-btn:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(231,43,117,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(231,43,117,0.2);
}
.store-icon { font-size: 1.6rem; line-height: 1; }
.store-text { text-align: left; }
.store-text small { display: block; font-size: 0.65rem; color: var(--text-muted); font-weight: 400; }
.store-text strong { display: block; font-size: 0.95rem; font-weight: 700; }

/* ===================================================
   FOOTER
=================================================== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; max-width: 260px; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--text); }

.footer-waveform {
  margin-bottom: 16px;
  opacity: 0.5;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ===================================================
   PAGE HERO (inner pages)
=================================================== */
.page-hero {
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(231,43,117,0.12) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 18px; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ===================================================
   LEGAL / POLICY PAGES
=================================================== */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 30px 100px;
}
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}
.legal-content h2::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 50px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}
.legal-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-content ul li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.8;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.legal-content .last-updated {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 8px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  margin-bottom: 40px;
}
.legal-highlight {
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 20px 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
}

/* Safety badges */
.safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
  margin: 4px;
}
.badge-safe { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #4ade80; }
.badge-warning { background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.3); color: #fbbf24; }
.badge-danger  { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #f87171; }

/* ===================================================
   CONTACT FORM
=================================================== */
.contact-section { max-width: 700px; margin: 0 auto; padding: 40px 30px 100px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-control {
  width: 100%;
  padding: 15px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.3s ease;
  resize: vertical;
}
.form-control:focus {
  border-color: rgba(231,43,117,0.5);
  box-shadow: 0 0 0 3px rgba(231,43,117,0.1);
  background: rgba(255,255,255,0.09);
}
.form-control::placeholder { color: rgba(240,240,248,0.35); }
textarea.form-control { min-height: 150px; }
.form-success {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
  text-align: center;
}

/* ===================================================
   ABOUT PAGE
=================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s ease;
}
.about-stat-card:hover {
  transform: translateX(6px);
  border-color: rgba(231,43,117,0.3);
}
.about-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  flex-shrink: 0;
}
.about-stat-num {
  font-size: 1.6rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-stat-label { font-size: 0.82rem; color: var(--text-muted); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.diff-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px;
}
.diff-card .diff-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  color: var(--pink);
  margin-bottom: 14px;
  transition: all 0.3s;
}
.diff-card:hover .diff-icon {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.diff-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.diff-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; }

/* ===================================================
   SCREENSHOT SLIDESHOW (Hero + Preview)
=================================================== */
.screenshot-slider {
  position: absolute;
  inset: 0;
  top: 22px; /* below notch */
}
.screenshot-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.screenshot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.screenshot-slide.active { opacity: 1; }

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: var(--pink);
  width: 18px;
  border-radius: 3px;
}

/* Preview section slideshow phone */
.preview-slideshow-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.preview-phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: phoneFloat 5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.preview-phone-notch {
  width: 90px; height: 22px;
  background: var(--dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.preview-slides {
  position: absolute;
  inset: 12px;
  border-radius: 34px;
  overflow: hidden;
  background: var(--dark2);
}
.preview-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.preview-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.preview-slide.active { opacity: 1; }
.preview-slide-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}
.ps-dot-btn {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
  display: block;
}
.ps-dot-btn.active {
  background: var(--pink);
  width: 18px;
  border-radius: 3px;
}
.preview-phone-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,43,117,0.3) 0%, transparent 70%);
  bottom: -50px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(30px);
}

/* ===================================================
   USE CASE ICONS (SVG-based)
=================================================== */
.use-case-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  margin-bottom: 20px;
  color: var(--pink);
  transition: all 0.3s;
}
.use-case-card:hover .use-case-icon {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
}

/* Feature icon SVG fix */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  margin-bottom: 20px;
  color: var(--pink);
  transition: all 0.3s;
}
.feature-card:hover .feature-icon {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

/* Step icon SVG fix */
.step-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--grad-soft);
  border: 1px solid rgba(231,43,117,0.2);
  margin-bottom: 20px;
  color: var(--pink);
  font-size: 1.8rem;
}
.step-icon-wrap[data-step]::after {
  display: none; /* remove any pseudo step numbers */
}

/* List icon SVG fix */
.preview-list-item .list-icon {
  color: var(--pink);
}

/* ===================================================
   LOGO WORDMARK (replaces img when no asset)
=================================================== */
.nav-logo-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===================================================
   WAVEFORM ANIMATION (Logo motif)
=================================================== */
.waveform-line {
  display: block;
  width: 100%;
  height: 50px;
}
.waveform-line path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease forwards, waveLoop 4s ease-in-out 3s infinite;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes waveLoop {
  0%,100% { d: path("M0 25 Q30 5 60 25 Q90 45 120 25 Q150 5 180 25 Q210 45 240 25 Q270 5 300 25"); }
  50%      { d: path("M0 25 Q30 45 60 25 Q90 5 120 25 Q150 45 180 25 Q210 5 240 25 Q270 45 300 25"); }
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-buttons, .hero-stats { justify-content: center; }
  .phone-outer { width: 230px; height: 480px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .preview-content { grid-template-columns: 1fr; gap: 50px; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 50px 28px; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .preview-phones { flex-direction: column; align-items: center; }
  .preview-phone-card:nth-child(2) { margin-left: 0; margin-top: 0; }
}

@media (max-width: 480px) {
  .use-cases-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}