/* ===== WINK Landing Page - Premium Dark Neon Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
  /* Colors */
  --bg-primary: #0a0a12;
  --bg-secondary: #111122;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.1);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);

  --accent: #ff6b9d;
  --accent-light: #ff8fb8;
  --accent-dark: #e0457a;
  --accent-glow: rgba(255, 107, 157, 0.4);
  --accent-glow-strong: rgba(255, 107, 157, 0.6);
  --accent-gradient: linear-gradient(135deg, #ff6b9d, #c44dff);
  --accent-gradient-reverse: linear-gradient(135deg, #c44dff, #ff6b9d);

  --purple: #c44dff;
  --purple-glow: rgba(196, 77, 255, 0.3);

  --success: #4ade80;
  --warning: #fbbf24;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Typography */
  --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Effects */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-lg: 24px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }

  .desktop-break {
    display: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-light);
}

/* ===== Utility Classes ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subhead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Glass Card ===== */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 107, 157, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow);
}

/* ===== CTA Button ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-family);
  color: #fff;
  background: var(--accent-gradient);
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: var(--accent-gradient-reverse);
  opacity: 0;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px var(--accent-glow-strong), 0 0 80px var(--accent-glow);
  color: #fff;
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button span {
  position: relative;
  z-index: 1;
}

.cta-button .btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.cta-button:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===== Scroll Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo .logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
  flex-shrink: 0;
  margin-right: 8px;
}

.nav-share-btn:hover {
  background: rgba(255, 107, 157, 0.15);
  border-color: rgba(255, 107, 157, 0.3);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== Section 1: Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 10, 18, 0.3) 0%,
      rgba(10, 10, 18, 0.7) 50%,
      var(--bg-primary) 100%);
}

/* Ambient glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: -5%;
  background: var(--accent);
  opacity: 0.15;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  top: 40%;
  right: -5%;
  background: var(--purple);
  opacity: 0.12;
  animation-delay: 3s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 107, 157, 0.1);
  border: 1px solid rgba(255, 107, 157, 0.2);
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-family);
}

.hero-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero flow strip */
.hero-flow {
  position: relative;
  z-index: 2;
  margin-top: 80px;
}

.flow-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-x: auto;
}

.flow-step-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.flow-step-mini .step-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 157, 0.12);
  border-radius: 10px;
  font-size: 1.1rem;
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== Section 2: Pain Points ===== */
.pain-section {
  padding: var(--section-padding);
  position: relative;
}

.pain-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pain-header {
  text-align: center;
  margin-bottom: 64px;
}

.pain-header .section-subhead {
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  opacity: 0;
  transition: var(--transition);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 157, 0.08);
  border-radius: 20px;
  font-size: 2rem;
  transition: var(--transition);
}

.pain-card:hover .pain-icon {
  background: rgba(255, 107, 157, 0.15);
  transform: scale(1.05);
}

.pain-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Section 3: How It Works ===== */
.how-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-header .section-subhead {
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

/* Connection line */
.how-steps::before {
  content: '';
  position: absolute;
  top: 160px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple), var(--accent));
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(255, 107, 157, 0.1);
  border: 2px solid rgba(255, 107, 157, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
}

.step-mockup {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 24px;
  border-radius: var(--border-radius);
  overflow: visible;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.step-mockup:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.step-mockup img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateZ(0);
  image-rendering: high-quality;
  border-radius: inherit;
}

/* ===== Speech Bubbles ===== */
.step-bubble {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 245, 0.95) 100%);
  color: #111;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 1);
  z-index: 20;
  opacity: 0;
  transform: scale(0.5) translateY(20px);
  white-space: pre-wrap;
  max-width: 200px;
  text-align: left;
  line-height: 1.4;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step-bubble::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 245, 0.95) 100%);
  transform: rotate(45deg);
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: -1;
}

/* Odd items bubbles (top right) */
.step-card:nth-child(odd) .step-bubble {
  top: -15px;
  right: -25px;
  border-radius: 20px 20px 0 20px;
}

.step-card:nth-child(odd) .step-bubble::after {
  bottom: -6px;
  right: 20px;
}

/* Even items bubbles (top left) */
.step-card:nth-child(even) .step-bubble {
  top: -15px;
  left: -25px;
  border-radius: 20px 20px 20px 0;
}

.step-card:nth-child(even) .step-bubble::after {
  bottom: -6px;
  left: 20px;
}

/* Secondary Bubble */
.step-card:nth-child(even) .step-bubble.secondary-bubble {
  top: auto;
  bottom: 25px;
  left: auto;
  right: -30px;
  border-radius: 20px 20px 0 20px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.95) 0%, rgba(204, 43, 94, 0.95) 100%);
  color: white;
  border: 1px solid rgba(255, 107, 157, 0.4);
}

.step-card:nth-child(even) .step-bubble.secondary-bubble::after {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.95) 0%, rgba(204, 43, 94, 0.95) 100%);
  bottom: -6px;
  left: auto;
  right: 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .step-card:nth-child(odd) .step-bubble {
    right: -10px;
    top: -15px;
  }

  .step-card:nth-child(even) .step-bubble {
    left: -10px;
    top: -15px;
  }

  .step-card:nth-child(even) .step-bubble.secondary-bubble {
    right: -10px;
    bottom: 15px;
    left: auto;
    top: auto;
  }

  .step-bubble {
    font-size: 0.8rem;
    padding: 10px 14px;
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .step-card:nth-child(odd) .step-bubble {
    right: 10px;
    top: -10px;
  }

  .step-card:nth-child(even) .step-bubble {
    left: 10px;
    top: -10px;
  }

  .step-card:nth-child(even) .step-bubble.secondary-bubble {
    right: 10px;
    bottom: 5px;
    left: auto;
    top: auto;
  }
}

/* Pop animation triggered by reveal visiblity */
.reveal.visible .step-bubble {
  animation: bubblePop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.6s;
}

.step-card.reveal-delay-2.visible .step-bubble {
  animation-delay: 0.8s;
}

.step-card.reveal-delay-3.visible .step-bubble {
  animation-delay: 1.0s;
}

.step-card.reveal-delay-4.visible .step-bubble {
  animation-delay: 1.2s;
}

@keyframes bubblePop {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(30px);
  }

  60% {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Section 4: Benefits ===== */
.benefits-section {
  padding: var(--section-padding);
  position: relative;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 77, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-header {
  text-align: center;
  margin-bottom: 64px;
}

.benefits-header .section-headline {
  max-width: 700px;
  margin: 0 auto 20px;
}

.benefits-header .section-subhead {
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 40px 36px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border-radius: 16px;
  background: rgba(255, 107, 157, 0.1);
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: rgba(255, 107, 157, 0.18);
  transform: rotate(-5deg) scale(1.05);
}

.benefit-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Section 5: Pricing ===== */
.pricing-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-subhead {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(255, 107, 157, 0.35);
  background: rgba(255, 107, 157, 0.06);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.pricing-badge {
  display: inline-block;
  padding: 5px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--accent-gradient);
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  margin-bottom: 24px;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pricing-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-card .card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.pricing-card .card-cta:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card.featured .card-cta {
  color: #fff;
  background: var(--accent-gradient);
  border: none;
}

.pricing-card.featured .card-cta:hover {
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translateY(-2px);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-bottom-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== Section 6: FAQ ===== */
.faq-section {
  padding: var(--section-padding);
  position: relative;
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-header .section-subhead {
  margin: 0 auto;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-family);
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  background: rgba(255, 107, 157, 0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(255, 107, 157, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== Section 7: Final CTA ===== */
.final-cta-section {
  padding: 140px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.12) 0%, rgba(196, 77, 255, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta-content .section-headline {
  margin-bottom: 16px;
}

.final-cta-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ===== Section 8: Footer ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-secondary);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */

/* Tablet landscape */
@media (max-width: 1024px) {
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .how-steps::before {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .benefits-grid {
    gap: 16px;
  }

  .benefit-card {
    padding: 32px 28px;
  }
}

/* Tablet portrait & Mobile landscape */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
    --container-padding: 0 20px;
  }

  .section-headline {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .section-subhead {
    font-size: 1rem;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  /* Nav mobile */
  .nav {
    padding: 14px 0;
  }

  .nav.scrolled {
    padding: 10px 0;
  }

  .nav-logo .logo-img {
    height: 60px;
  }

  .nav-share-btn {
    width: 36px;
    height: 36px;
    margin-right: 8px;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .hero-badge {
    padding: 6px 14px;
    font-size: 0.72rem;
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.7;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-button {
    padding: 16px 24px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
  }

  .hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .hero-flow {
    margin-top: 48px;
  }

  .flow-strip {
    padding: 14px 16px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .flow-step-mini {
    font-size: 0.8rem;
    gap: 6px;
  }

  .flow-step-mini .step-icon {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .flow-arrow {
    font-size: 1rem;
  }

  /* Pain Points mobile */
  .pain-header {
    margin-bottom: 40px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pain-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pain-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    font-size: 1.6rem;
    border-radius: 14px;
  }

  .pain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .pain-card p {
    font-size: 0.88rem;
  }

  /* How It Works mobile */
  .how-header {
    margin-bottom: 48px;
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    margin-bottom: 16px;
  }

  .step-mockup {
    max-width: 220px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .step-card h3 {
    font-size: 1rem;
  }

  .step-card p {
    font-size: 0.82rem;
  }

  /* Benefits mobile */
  .benefits-header {
    margin-bottom: 40px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card {
    padding: 24px 20px;
    gap: 16px;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 12px;
  }

  .benefit-text h3 {
    font-size: 1.05rem;
  }

  .benefit-text p {
    font-size: 0.88rem;
  }

  /* Pricing mobile */
  .pricing-header {
    margin-bottom: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 16px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-price .amount {
    font-size: 2.2rem;
  }

  .pricing-features li {
    font-size: 0.88rem;
    padding: 8px 0;
  }

  .pricing-note {
    font-size: 0.82rem;
    margin-top: 28px;
  }

  .pricing-bottom-cta {
    margin-top: 36px;
  }

  /* FAQ mobile */
  .faq-header {
    margin-bottom: 40px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 0.95rem;
    gap: 12px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
  }

  .faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 0.88rem;
  }

  /* Final CTA mobile */
  .final-cta-section {
    padding: 80px 0;
  }

  .final-cta-sub {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  /* Footer mobile */
  .footer {
    padding: 40px 0 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-brand .nav-logo .logo-img {
    height: 44px;
  }

  .footer-info {
    font-size: 0.8rem;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-links a {
    font-size: 0.82rem;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    font-size: 0.75rem;
  }

  /* Disable hover transforms on touch devices */
  .glass-card:hover {
    transform: none;
  }

  .step-mockup:hover {
    transform: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --section-padding: 56px 0;
    --container-padding: 0 16px;
  }

  .section-headline {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .hero-sub {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero-glow-1 {
    width: 200px;
    height: 200px;
  }

  .hero-glow-2 {
    width: 150px;
    height: 150px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-mockup {
    max-width: 240px;
  }

  .pain-card {
    padding: 24px 20px;
  }

  .benefit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .benefit-text {
    text-align: center;
  }

  .pricing-grid {
    max-width: 100%;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .faq-list {
    gap: 8px;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 0.9rem;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 0.85rem;
  }

  .final-cta-section {
    padding: 64px 0;
  }
}

/* Extra small mobile */
@media (max-width: 360px) {
  .nav-logo .logo-img {
    height: 52px;
  }

  .nav-share-btn {
    width: 34px;
    height: 34px;
    margin-right: 6px;
  }

  .nav-share-btn svg {
    width: 16px;
    height: 16px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .flow-strip {
    padding: 12px 12px;
  }

  .flow-step-mini {
    font-size: 0.72rem;
  }

  .flow-step-mini .step-icon {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
}

/* ===== Floating CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(120px) scale(0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.floating-cta.visible {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floating-cta .cta-button {
  box-shadow: 0 15px 35px rgba(255, 107, 157, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  padding: 14px 44px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 24px;
    width: 90%;
    max-width: 380px;
  }

  .floating-cta .cta-button {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 107, 157, 0.2);
  color: var(--accent);
  transform: rotate(90deg);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.modal-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 24px 0 12px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .modal-content {
    max-height: 90vh;
  }

  .modal-header {
    padding: 20px 24px;
  }

  .modal-body {
    padding: 24px;
  }
}

/* ===== Demo Showcase Section ===== */
.demo-section {
  padding: 100px 0 80px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(233, 63, 165, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.demo-header {
  text-align: center;
  margin-bottom: 48px;
}

.demo-header .section-subhead {
  margin: 0 auto;
}

.demo-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === Phone Frame === */
.demo-phone {
  position: relative;
  width: 320px;
  height: 580px;
  border-radius: 3rem;
  background: #18181b;
  box-shadow: 0 0 80px rgba(233, 63, 165, 0.15);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.demo-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 24px;
  background: #09090b;
  border-radius: 0 0 16px 16px;
  z-index: 30;
}

.demo-store-bar {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.demo-store-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.demo-store-count {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

/* === Card Area === */
.demo-card-area {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.demo-card {
  position: absolute;
  inset: 0;
}

.demo-card-prev {
  z-index: 1;
}

.demo-card-current {
  z-index: 2;
}

.demo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.05);
  opacity: 0.85;
}

.demo-card-overlay-bottom {
  position: absolute;
  inset: auto 0 0 0;
  height: 66%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4) 50%, transparent);
}

.demo-card-overlay-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 25%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

/* === Timer === */
.demo-timer {
  position: absolute;
  top: 40px;
  left: 16px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  outline: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-timer-icon {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

/* === Right Actions === */
.demo-actions {
  position: absolute;
  right: 16px;
  bottom: 208px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 20;
}

.demo-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.demo-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transition: all 0.5s ease;
}

.demo-action-btn svg {
  width: 20px;
  height: 20px;
}

.demo-action-btn.active {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(233, 63, 165, 0.4);
}

.demo-action-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.demo-action-secondary svg {
  width: 16px;
  height: 16px;
}

.demo-action-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.demo-action-label.muted {
  color: rgba(255, 255, 255, 0.5);
}

/* === Bottom Info === */
.demo-bottom-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0 20px 24px;
  z-index: 20;
}

.demo-profile-info {
  margin-bottom: 12px;
}

.demo-time-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.demo-intro {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.demo-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: default;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  background: #fff;
  color: #18181b;
  font-family: var(--font-family);
}

.demo-cta-btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 32px rgba(233, 63, 165, 0.3);
}

.demo-cta-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.demo-cta-btn.primary .demo-cta-icon {
  color: #fff;
}

/* === Page Dots === */
.demo-page-dots {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 20;
}

.demo-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.demo-dot.active {
  width: 4px;
  height: 16px;
  background: #fff;
}

/* === Overlays === */
.demo-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Message Picker */
.demo-msg-picker {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: flex-end;
  padding-bottom: 80px;
  animation: demoFadeIn 0.5s ease;
}

.demo-msg-list {
  width: 100%;
  padding: 0 16px;
}

.demo-msg-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 4px;
  margin-bottom: 8px;
}

.demo-msg-option {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
  transition: all 0.5s ease;
}

.demo-msg-option.selected {
  background: var(--accent);
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(233, 63, 165, 0.3);
  outline: none;
}

/* Wink Sent / Received */
.demo-wink-sent,
.demo-wink-received {
  animation: demoZoomFadeIn 0.5s ease;
}

.demo-sent-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.demo-sent-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(233, 63, 165, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: demoPingSlow 1.5s ease-in-out infinite;
}

.demo-sent-ring.demo-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

.demo-sent-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.demo-sent-badge {
  background: rgba(233, 63, 165, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(233, 63, 165, 0.3);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* Match Overlay */
.demo-match-overlay {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 40;
  animation: demoZoomFadeIn 0.7s ease;
}

.demo-match-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.demo-match-avatars {
  display: flex;
  align-items: center;
  gap: 16px;
}

.demo-match-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  outline: 2px solid var(--accent);
  object-fit: cover;
  filter: blur(2px);
}

.demo-match-heart {
  color: var(--accent);
  transition: all 0.3s ease;
}

.demo-match-heart svg {
  width: 40px;
  height: 40px;
}

.demo-match-heart.bounce {
  animation: bounce 0.6s ease infinite;
}

.demo-match-text {
  text-align: center;
}

.demo-match-text h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.demo-match-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.demo-match-badge {
  background: rgba(233, 63, 165, 0.9);
  padding: 12px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(233, 63, 165, 0.3);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* === Phase Indicator === */
.demo-phase-indicator {
  margin-top: 32px;
  text-align: center;
}

.demo-phase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.demo-phase-dot {
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

.demo-phase-dot.active {
  width: 32px;
  background: var(--accent);
}

.demo-phase-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 500;
  margin-top: 12px;
}

.demo-auto-label {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  margin-top: 16px;
  animation: pulse 2s ease-in-out infinite;
}

/* === Demo Slide Animations === */
@keyframes demoSlideIn {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes demoSlideOut {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-30%);
    opacity: 0;
  }
}

@keyframes demoFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes demoZoomFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes demoPingSlow {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.demo-slide-in {
  animation: demoSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.demo-slide-out {
  animation: demoSlideOut 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* === Demo Responsive === */
@media (max-width: 768px) {
  .demo-section {
    padding: 80px 0 60px;
  }

  .demo-phone {
    width: 280px;
    height: 510px;
  }
}

/* ===== Scroll-Based Glow Effect ===== */
/* Applied via IntersectionObserver when elements enter viewport */
.scroll-glow {
  border-color: rgba(255, 107, 157, 0.4) !important;
  box-shadow: 0 0 30px rgba(255, 107, 157, 0.3), 0 0 60px rgba(255, 107, 157, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-card.scroll-glow {
  background: var(--bg-card-hover) !important;
}

.pain-card.scroll-glow::before {
  opacity: 1 !important;
}

.pain-card.scroll-glow .pain-icon {
  background: rgba(255, 107, 157, 0.15);
  transform: scale(1.05);
}

.step-mockup.scroll-glow {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 157, 0.4) !important;
}

.cta-button.scroll-glow {
  box-shadow: 0 10px 40px rgba(255, 107, 157, 0.6), 0 0 80px rgba(255, 107, 157, 0.4) !important;
}

.demo-phone.scroll-glow {
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 107, 157, 0.3) !important;
}