/* ============================================
   IGAUTOMATE Landing Page — Premium Stylesheet
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  --ig-pink: #e1306c;
  --ig-purple: #833ab4;
  --ig-orange: #fcaf45;
  --ig-red: #f56040;
  --ig-yellow: #ffdc80;
  --gradient-primary: linear-gradient(
    135deg,
    #e1306c 0%,
    #833ab4 50%,
    #fcaf45 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    #0a0015 0%,
    #1a0030 30%,
    #0d001a 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --gradient-button: linear-gradient(135deg, #e1306c, #833ab4);
  --gradient-button-hover: linear-gradient(135deg, #c9295e, #722fa0);

  --bg-dark: #0a0015;
  --bg-section: #0d001a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.45);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(225, 48, 108, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(225, 48, 108, 0.15);
  --shadow-button: 0 4px 20px rgba(225, 48, 108, 0.3);

  --font-primary:
    "Outfit", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* === Top Urgency Banner === */
.urgency-banner {
  background: linear-gradient(90deg, #ff4757, #e1306c);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 34px;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(225, 48, 108, 0.3);
}

.urgency-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseWhite 1.5s infinite;
}

@keyframes pulseWhite {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

#urgency-count {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  min-width: 24px;
  display: inline-block;
}

/* === Language Bar === */
.language-bar {
  width: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
  position: fixed;
  top: 34px; /* Banner height */
  left: 0;
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.language-bar .flag-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.language-bar .flag-item:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: translateY(-1px);
}

.language-bar .flag-item .flag-img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

.language-hint {
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10005;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: fadeIn 1s ease-in-out, bounceSoft 2s ease-in-out infinite;
}

.language-hint::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--text-tertiary);
  opacity: 0.6;
}

.language-hint span[data-i18n="selectLanguage"] {
  font-size: 0.55rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  opacity: 0.8;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}


@media (max-width: 768px) {
  .urgency-banner { font-size: 11px; height: 30px; }
  .language-bar { 
    top: 30px;
    gap: 4px; 
    flex-wrap: wrap; 
    padding: 8px 10px; 
  }
  .language-bar .flag-item { 
    padding: 3px 8px; 
    font-size: 0.65rem; 
  }
  .language-bar .flag-item .lang-name { 
    display: none; 
  }
  .language-hint { top: 75px; } /* Mobile adjust */
  /* Offset for navbar on mobile: Banner(30) + LangBar(40) + Hint(20) */
  .navbar { top: 95px !important; }
}

/* Base navbar offset: Banner(34) + LangBar(44) + Hint Space(20) */
.navbar { top: 105px !important; }
.hero { padding-top: 210px !important; }
.article-page { padding-top: 230px !important; }

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevents horizontal cut on iPhone */
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Particles Background ---------- */
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#particles-bg canvas {
  width: 100%;
  height: 100%;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 0, 21, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-button);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-button);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(225, 48, 108, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari address bar fix */
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--ig-purple);
  top: -200px;
  right: -100px;
  animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--ig-pink);
  bottom: -200px;
  left: -100px;
  animation: glowFloat 10s ease-in-out infinite reverse;
}

/* Reduce glow size on mobile to prevent extending beyond viewport */
@media (max-width: 768px) {
  .hero-glow-1 {
    width: 280px;
    height: 280px;
    right: -60px;
    top: -80px;
  }
  .hero-glow-2 {
    width: 240px;
    height: 240px;
    left: -60px;
    bottom: -80px;
  }
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  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(1.3);
  }
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(225, 48, 108, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 48, 108, 0);
  }
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-button);
  color: white;
  box-shadow: var(--shadow-button);
  animation: btnPulse 2s infinite;
}

.btn-primary:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 50px rgba(225, 48, 108, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--ig-pink);
  background: rgba(225, 48, 108, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 22px 56px;
  font-size: 1.3rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-xl {
  padding: 20px 44px;
  font-size: 1.15rem;
  border-radius: var(--radius-xl);
}

.btn-block {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
}

/* ---------- Hero Stats ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-plus {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ---------- Hero Phone Mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a2e;
  border-radius: 40px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 0 0 20px 20px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.phone-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.phone-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.phone-slide.active {
  opacity: 1;
}

/* CSS-based slides (no images) */
.phone-slide-css {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 30px;
}

.slide-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.slide-label {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: 1px;
  line-height: 1.2;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(225, 48, 108, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ---------- Floating Cards ---------- */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  z-index: 3;
  box-shadow: var(--shadow-card);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.floating-card small {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.floating-icon {
  font-size: 1.5rem;
}

.floating-card-1 {
  top: 20%;
  right: -20px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 25%;
  left: -40px;
  animation-delay: 2s;
}

.floating-card-3 {
  top: 55%;
  right: -50px;
  animation-delay: 4s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- Scroll Indicator ---------- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: var(--ig-pink);
  border-radius: 4px;
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.trust-text {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.trust-flags {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 2rem;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Problem / Solution ---------- */
.problem-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-section);
}

.problem-grid {
  display: flex;
  align-items: stretch;
  gap: 30px;
  justify-content: center;
}

.problem-card {
  flex: 1;
  max-width: 420px;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.problem-card-bad {
  background: rgba(255, 60, 60, 0.03);
  border-color: rgba(255, 60, 60, 0.15);
}

.problem-card-good {
  background: rgba(0, 255, 120, 0.03);
  border-color: rgba(0, 255, 120, 0.15);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.problem-card li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.problem-vs {
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-tertiary);
}

/* ---------- Features Grid ---------- */
.features-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 48, 108, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 1.6rem;
}

.feature-card h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- How It Works ---------- */
.how-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-section);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 40px 30px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-button);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-button);
}

.step-content h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.testimonial-featured {
  border-color: rgba(225, 48, 108, 0.3);
  background: rgba(225, 48, 108, 0.04);
}

.testimonial-stars {
  color: var(--ig-orange);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: var(--gradient-button);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author small {
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

/* ---------- Pricing ---------- */
.pricing-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-section);
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  flex: 1;
  max-width: 380px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card-featured {
  border-color: var(--ig-pink);
  background: rgba(225, 48, 108, 0.06);
  box-shadow: 0 0 60px rgba(225, 48, 108, 0.12);
  transform: scale(1.05);
}

.pricing-card-featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-badge-pro {
  background: var(--gradient-button);
  color: white;
}

.pricing-name {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

.pricing-currency {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 8px;
  color: var(--text-secondary);
}

.pricing-amount {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-cents {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 8px;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 28px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ---------- Regional Pricing ---------- */
.regional-pricing {
  margin-bottom: 20px;
}

.regional-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-body);
}

.regional-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.regional-chevron {
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.regional-toggle.open .regional-chevron {
  transform: rotate(180deg);
}

.regional-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  margin-top: 0;
}

.regional-grid.open {
  max-height: 400px;
  margin-top: 12px;
  padding: 4px 0;
}

.regional-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition-fast);
}

.regional-item:hover {
  background: rgba(255,255,255,0.08);
}

.regional-item span {
  font-size: 1rem;
}

/* ---------- FAQ ---------- */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--ig-pink);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--text-tertiary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--ig-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height var(--transition-slow),
    padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  text-align: center;
  background: var(--bg-section);
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(225, 48, 108, 0.1) 0%,
    transparent 60%
  );
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-disclaimer {
  display: block;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.footer-logo span {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer-links h4 {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--ig-pink);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ---------- Demo Showcase Section ---------- */
.demo-section {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.demo-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(131, 58, 180, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 50px rgba(225, 48, 108, 0.15);
  margin: 50px auto 0;
  overflow: hidden;
  max-width: 450px; /* Largura ideal para vídeos verticais */
}

.video-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(45deg, #E1306C, #833AB4, #FCAF45, #E1306C);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  animation: borderRotate 4s linear infinite;
  pointer-events: none; /* Isso permite que o clique passe para o vídeo */
}

@keyframes borderRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  padding: 0 60px;
}

.demo-info {
  text-align: left;
  padding-right: 20px;
}

.demo-info .section-badge { 
  margin-bottom: 20px; 
  display: inline-block;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.demo-info .section-title { 
  font-size: 3.5rem; 
  line-height: 1.1; 
  margin-bottom: 25px; 
  text-align: left; 
  font-weight: 800;
}

.demo-info .section-subtitle { 
  font-size: 1.4rem; 
  opacity: 0.9; 
  text-align: left; 
  line-height: 1.5;
  max-width: 450px;
}

.video-container {
  flex: 0 0 400px;
  max-width: 400px;
  margin: 0 !important;
}

.demo-tools-grid {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.demo-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: auto;
  perspective: 1000px;
}

.tool-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatTool 6s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tool-item:nth-child(even) { animation-delay: -3s; }

.tool-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #E1306C;
  transform: scale(1.02) translateZ(10px);
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.2);
}

@keyframes floatTool {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.demo-video {
  width: 100%;
  height: auto; /* Let browser use video's natural ratio — fixes Samsung stretch */
  max-height: 75vh;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  background: #000;
}

/* Premium Mobile Alert Modal */
.mobile-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-modal-content {
  background: linear-gradient(165deg, #1a1a24 0%, #0a0a0f 100%);
  border: 1px solid rgba(225, 48, 108, 0.4);
  border-radius: 32px;
  padding: 40px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.mobile-modal-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(225,48,108,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-modal-icon {
  font-size: 56px;
  margin-bottom: 24px;
  display: block;
  filter: drop-shadow(0 0 15px rgba(225,48,108,0.4));
}

/* Mobile Floating Conversion Toast - Ultra Premium Refined */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 400px;
  background: linear-gradient(#0a0a0f, #0a0a0f) padding-box, 
              linear-gradient(45deg, #E1306C, #833AB4, #FCAF45) border-box;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 20px;
  z-index: 10000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  animation: slideUpToastPremium 0.8s cubic-bezier(0.17, 0.89, 0.32, 1.27);
}

@keyframes slideUpToastPremium {
  from { transform: translate(-50%, 150%) scale(0.8); opacity: 0; }
  to { transform: translate(-50%, 0) scale(1); opacity: 1; }
}

.mobile-sticky-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-sticky-text {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  flex: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.mobile-sticky-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.sticky-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-wa-sticky { background: #25d366; }
.btn-mail-sticky { background: #3b82f6; }

.sticky-btn:active { transform: scale(0.9); }

.sticky-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #222;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 10001;
}

/* Top Urgency Banner */
.urgency-banner {
  background: linear-gradient(90deg, #ff4757, #e1306c);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(225, 48, 108, 0.3);
}

.urgency-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseWhite 1.5s infinite;
}

@keyframes pulseWhite {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

#urgency-count {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  min-width: 24px;
  display: inline-block;
}

@media (max-width: 768px) {
  .urgency-banner { font-size: 11px; padding: 6px 15px; }
}

.mobile-btn-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, brightness 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.mobile-btn:active {
  transform: scale(0.96);
}

.btn-whatsapp {
  background: linear-gradient(45deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-email {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.mobile-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 24px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsivo */
@media (max-width: 1200px) {
  .demo-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 20px;
    gap: 40px;
  }
  .demo-info, .video-container {
    max-width: 600px;
    margin: 0 auto !important;
  }
  .demo-info .section-title, .demo-info .section-subtitle { text-align: center; }
  .demo-tools-grid {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.video-overlay-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(225, 48, 108, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 0 30px rgba(225, 48, 108, 0.5);
}

.video-overlay-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #E1306C;
}

.video-overlay-play svg {
  fill: #fff;
  margin-left: 5px;
}

.video-caption {
  margin-top: 24px;
  color: var(--text-tertiary);
  font-size: 0.95rem;
  font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 0, 21, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: 220px;
    height: 440px;
    border-radius: 32px;
  }

  .floating-card {
    display: none;
  }

  .problem-grid {
    flex-direction: column;
    align-items: center;
  }

  .problem-vs {
    transform: rotate(90deg);
    padding: 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Allow tool items to wrap on small screens — prevents horizontal overflow */
  .tool-item {
    white-space: normal;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  /* Fix: allow button text to wrap on small screens — prevents 549px overflow on iPhone */
  .btn-lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 1.05rem;
    padding: 18px 24px;
    line-height: 1.3;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-stat-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
  }
}

/* ---------- Animations on Scroll ---------- */
.feature-card,
.step-card,
.testimonial-card,
.pricing-card,
.problem-card {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.feature-card.visible,
.step-card.visible,
.testimonial-card.visible,
.pricing-card.visible,
.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2).visible,
.testimonial-card:nth-child(2).visible {
  transition-delay: 0.1s;
}
.feature-card:nth-child(3).visible {
  transition-delay: 0.2s;
}
.feature-card:nth-child(4).visible {
  transition-delay: 0.3s;
}
.feature-card:nth-child(5).visible {
  transition-delay: 0.4s;
}
.feature-card:nth-child(6).visible {
  transition-delay: 0.5s;
}
.feature-card:nth-child(7).visible {
  transition-delay: 0.6s;
}
.feature-card:nth-child(8).visible {
  transition-delay: 0.7s;
}
.testimonial-card:nth-child(3).visible {
  transition-delay: 0.2s;
}

/* === Mobile Exit Intent Modal === */
.mobile-exit-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mobile-exit-content {
  background: linear-gradient(145deg, rgba(20,0,30,0.9), rgba(10,0,15,0.95));
  border: 2px solid #e1306c;
  border-radius: 24px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 40px rgba(225, 48, 108, 0.4);
  max-width: 400px;
  width: 100%;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.mobile-exit-close {
  position: absolute;
  top: 5px; right: 10px; padding: 15px;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 40px; cursor: pointer;
  transition: color 0.2s;
}

.mobile-exit-close:hover {
  color: white;
}

.mobile-exit-icon {
  font-size: 48px;
  margin-bottom: 15px;
  animation: shakeWarning 2s infinite;
}

@keyframes shakeWarning {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
  20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.mobile-exit-title {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-exit-desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.mobile-exit-desc strong {
  color: #e1306c;
}

.btn-wa-exit {
  background: #25D366;
  color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  animation: pulseWa 2s infinite;
  border: none;
  cursor: pointer;
}

.btn-email-exit {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-email-exit:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@keyframes pulseWa {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

.mobile-exit-dismiss {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-exit-dismiss:hover {
  color: rgba(255,255,255,0.8);
}
