/* ==========================================================================
   GMaps Lead Scraper - Sales Landing Page Styling
   Gradients, Glassmorphism, Responsive Grid, Custom Fonts & Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Theme Colors */
  --bg-dark: #0a0b10;
  --bg-card: rgba(22, 26, 38, 0.65);
  --bg-card-hover: rgba(28, 33, 48, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(29, 191, 115, 0.25);
  
  --primary: #1DBF73;       /* Cyber Blue */
  --primary-glow: rgba(29, 191, 115, 0.4);
  --secondary: #7c5cfc;     /* Purple/Violet */
  --secondary-glow: rgba(124, 92, 252, 0.4);
  --accent: #4caf7d;        /* Neon Emerald */
  --accent-glow: rgba(76, 175, 125, 0.3);
  --warning: #e5a93b;       /* Amber Gold */
  
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #627285;
  
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(29, 191, 115, 0.2) 0%, rgba(124, 92, 252, 0.2) 100%);
  
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1200px;
}

/* ── Reset & Base Styles ────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ── Interactive Particle Canvas ────────────────────────────────────────── */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #201311 0%, var(--bg-dark) 100%);
}

/* ── Shared Utility Components ──────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(29, 191, 115, 0.3);
  background: rgba(29, 191, 115, 0.1);
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(29, 191, 115, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(124, 92, 252, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 92, 252, 0.5);
  filter: brightness(1.1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.13);
  transform: rotate(35deg);
  transition: all 0.6s ease;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(124, 92, 252, 0.25);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ── Header & Navigation ────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 20px 0;
}

header.scrolled {
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(29, 191, 115, 0.3);
  object-fit: contain;
}

.logo-img-footer {
  width: 32px;
  height: 32px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(29, 191, 115, 0.3);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-text span {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

nav a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero .hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 35px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

/* Large glowing YouTube Container */
.hero-video-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(124, 92, 252, 0.15);
  position: relative;
  aspect-ratio: 16/9;
}

.hero-video-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Stats Panel ────────────────────────────────────────────────────────── */
.stats-bar-sec {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(22, 26, 38, 0.2);
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Section Title Styles ───────────────────────────────────────────────── */
.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title-wrap h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 16px;
}

.section-title-wrap p {
  color: var(--text-secondary);
}

.section-spacing {
  padding: 80px 0;
}

/* ── Features Section ───────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(29, 191, 115, 0.1);
  border: 1px solid rgba(29, 191, 115, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(124, 92, 252, 0.1);
  border-color: rgba(124, 92, 252, 0.2);
  color: var(--secondary);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(76, 175, 125, 0.1);
  border-color: rgba(76, 175, 125, 0.2);
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Interactive Extension Simulator ────────────────────────────────────── */
.simulator-sec {
  background: radial-gradient(circle at 80% 20%, rgba(124, 92, 252, 0.08) 0%, transparent 60%);
}

.sim-container {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 30px;
  background: #0f111a;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
}

/* Left part: Mock Google Maps */
.sim-maps {
  background: #161823;
  padding: 24px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 480px;
}

.sim-search-bar {
  background: #202438;
  border-radius: var(--border-radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sim-search-input {
  font-size: 0.9rem;
  color: var(--text-primary);
  flex: 1;
}

.sim-maps-list {
  flex: 1;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-map-card {
  background: #1b1e2e;
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
  padding: 14px;
  transition: var(--transition);
}

.sim-map-card.active-scraping {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(29, 191, 115, 0.2);
}

.sim-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sim-card-rating {
  font-size: 0.8rem;
  color: var(--warning);
  margin-bottom: 6px;
}

.sim-card-address, .sim-card-phone {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Right part: Mock Scraper Extension */
.sim-scraper {
  background: #0f1117;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 480px;
}

.sim-scraper-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-scraper-logo {
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.sim-scraper-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sim-scraper-status-bar {
  background: #1a1f2e;
  border: 1px solid #1e2333;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sim-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

.sim-status-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.sim-status-count {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sim-scraper-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.sim-scraper-btn {
  flex: 1;
  padding: 8px;
  font-size: 0.75rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  background: #1f2336;
  border: 1px solid #2d3450;
  color: var(--text-muted);
}

.sim-scraper-btn.active {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.sim-leads-list {
  flex: 1;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-lead-row {
  background: rgba(22, 26, 38, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  animation: slideIn 0.3s forwards;
}

.sim-lead-name {
  font-weight: 600;
  color: var(--text-primary);
}

.sim-lead-phone {
  color: var(--accent);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── How It Works ───────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.step-card::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-color) 0%, transparent 100%);
  z-index: 1;
}

.step-card:last-child::after {
  display: none;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 10px;
}

/* ── Pricing Section ────────────────────────────────────────────────────── */
.pricing-sec {
  background: radial-gradient(circle at 50% 50%, rgba(124, 92, 252, 0.05) 0%, transparent 70%);
}

.pricing-card-container {
  max-width: 550px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(22, 26, 38, 0.9) 0%, rgba(15, 17, 26, 0.95) 100%);
  border: 1px solid rgba(124, 92, 252, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 92, 252, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-primary);
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: -32px;
  background: var(--warning);
  color: #000000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 36px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.pricing-price {
  margin-bottom: 30px;
}

.pricing-currency {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  vertical-align: super;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.price-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.pricing-features-list {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-features-list li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.pricing-features-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(76, 175, 125, 0.15);
  border: 1px solid rgba(76, 175, 125, 0.3);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pricing-cta-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.pricing-guarantee {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── FAQ Section ────────────────────────────────────────────────────────── */
.faq-sec {
  background: radial-gradient(circle at 10% 80%, rgba(29, 191, 115, 0.05) 0%, transparent 60%);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
  padding-right: 20px;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  transition: var(--transition);
}

/* horizontal line */
.faq-toggle-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

/* vertical line */
.faq-toggle-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid transparent;
}

/* Active FAQ Item */
.faq-item.active {
  background: var(--bg-card-hover);
  border-color: rgba(29, 191, 115, 0.2);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle-icon::after {
  opacity: 0;
}

.faq-item.active .faq-answer-inner {
  border-top-color: var(--border-color);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: #06070a;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
}

.footer-disclaimer a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ── Countdown Timer ────────────────────────────────────────────────────── */
.countdown-container {
  margin-bottom: 30px;
  padding: 16px;
  background: rgba(29, 191, 115, 0.08);
  border: 1px solid rgba(29, 191, 115, 0.2);
  border-radius: var(--border-radius-md);
  text-align: center;
}

.countdown-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warning);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.countdown-timer {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 3px;
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(29, 191, 115, 0.3);
  animation: countdownPulse 1s ease-in-out infinite;
}

.countdown-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

@keyframes countdownPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ── Offer Expired State ────────────────────────────────────────────────── */
.offer-expired {
  margin-bottom: 30px;
  padding: 20px 16px;
  background: rgba(255, 70, 70, 0.08);
  border: 1px solid rgba(255, 70, 70, 0.25);
  border-radius: var(--border-radius-md);
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.offer-expired-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  animation: shakeClock 2s ease-in-out infinite;
}

.offer-expired-title {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff6b6b;
  margin-bottom: 8px;
}

.offer-expired-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@keyframes shakeClock {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Sales Notification Toast (Enhanced Colorful) ───────────────────────── */
.sales-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  max-width: 360px;
  width: auto;
  background: linear-gradient(135deg, rgba(15, 17, 26, 0.97) 0%, rgba(20, 15, 40, 0.97) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(29, 191, 115, 0.3);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(29, 191, 115, 0.15), 0 0 50px rgba(124, 92, 252, 0.08);
  overflow: hidden;
  transform: translateX(-120%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.sales-notification.show {
  transform: translateX(0);
  animation: notifGlowPulse 2s ease-in-out infinite;
}

.sales-notification::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(29, 191, 115, 0.5), rgba(124, 92, 252, 0.5), rgba(76, 175, 125, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes notifGlowPulse {
  0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(29, 191, 115, 0.15); }
  50% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(29, 191, 115, 0.25), 0 0 60px rgba(124, 92, 252, 0.12); }
}

.sales-notif-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  position: relative;
}

.sales-notif-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1DBF73, #7c5cfc, #4caf7d);
  background-size: 200% 200%;
  animation: avatarGradient 3s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 15px rgba(29, 191, 115, 0.4);
}

@keyframes avatarGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sales-notif-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.sales-notif-name {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  color: #e0e8ff;
}

.sales-notif-action {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sales-notif-product {
  font-size: 0.75rem;
  background: linear-gradient(135deg, #1DBF73, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.sales-notif-location {
  font-size: 0.7rem;
  color: #94a3b8;
}

.sales-notif-time {
  font-size: 0.65rem;
  color: #64748b;
  white-space: nowrap;
  flex-shrink: 0;
}

.sales-notif-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  opacity: 0.6;
  transition: var(--transition);
}

.sales-notif-close:hover {
  opacity: 1;
  color: #e0e8ff;
}

.sales-notif-progress {
  height: 3px;
  background: linear-gradient(90deg, #1DBF73, #7c5cfc, #4caf7d, #e5a93b);
  background-size: 300% 100%;
  animation: progressShrink 6s linear forwards, progressGradient 2s linear infinite;
  width: 100%;
  transform-origin: left center;
}

@keyframes progressShrink {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes progressGradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* ==========================================================================
   Responsive Styling (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sim-container {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .sim-maps, .sim-scraper {
    height: 400px;
  }
  
  .sim-maps {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .sales-notification {
    left: 50%;
    transform: translateX(-150%);
    bottom: 16px;
    max-width: 90%;
    width: 90%;
  }
  
  .sales-notification.show {
    transform: translateX(-50%);
  }
  
  header {
    padding: 16px 0;
  }
  
  nav {
    display: none; /* Hide default nav menu on mobile, or toggleable can be built */
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .step-card::after {
    display: none;
  }
  
  .pricing-card {
    padding: 30px 20px;
  }
  
  .pricing-amount {
    font-size: 3rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* ==========================================================================
   WhatsApp Chat Widget (Bottom Right)
   ========================================================================== */

.wa-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

/* ── Chat Window ──────────────────────────────────────────────────────── */
.wa-chat-window {
  width: 340px;
  max-width: calc(100vw - 48px);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(29, 191, 115, 0.15);
  margin-bottom: 12px;
  transform-origin: bottom right;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
  pointer-events: auto;
}

.wa-chat-closed {
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.wa-chat-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── Header ───────────────────────────────────────────────────────────── */
.wa-chat-header {
  background: #075e54;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #25D366;
  border: 2px solid #075e54;
  border-radius: 50%;
}

.wa-header-name {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-headings);
}

.wa-header-status {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
}

.wa-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-close-btn:hover {
  color: #ffffff;
}

/* ── Chat Body ────────────────────────────────────────────────────────── */
.wa-chat-body {
  background: #efeae2;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj48cGF0aCBkPSJNMjAwIDBMMjAwIDQwMEwwIDIwMEwyMDAgMHoiIGZpbGw9InJnYmEoMCwwLDAsMC4wMykiLz48L3N2Zz4=');
  background-size: 200px 200px;
  padding: 16px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Typing Indicator ─────────────────────────────────────────────────── */
.wa-typing-indicator {
  display: flex;
  align-items: center;
  padding: 0;
}

.wa-typing-dots {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.wa-typing-dots span {
  width: 7px;
  height: 7px;
  background: #8696a0;
  border-radius: 50%;
  display: inline-block;
  animation: waBounce 1.4s infinite ease-in-out both;
}

.wa-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.wa-typing-dots span:nth-child(2) { animation-delay: -0.16s; }
.wa-typing-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes waBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* ── Bot Message ──────────────────────────────────────────────────────── */
.wa-message {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  animation: waFadeInUp 0.4s ease forwards;
}

.wa-message-bot {
  align-self: flex-start;
}

.wa-message-bubble {
  background: #ffffff;
  color: #303030;
  font-size: 0.82rem;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
}

.wa-message-time {
  font-size: 0.6rem;
  color: #8696a0;
  margin-top: 2px;
  margin-left: 8px;
  align-self: flex-start;
}

@keyframes waFadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Call Me Button ───────────────────────────────────────────────────── */
.wa-callme-container {
  display: flex;
  justify-content: center;
  margin-top: 4px;
  animation: waFadeInUp 0.4s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.wa-callme-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  font-family: var(--font-headings);
  width: 100%;
  justify-content: center;
}

.wa-callme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.wa-callme-btn:active {
  transform: translateY(0);
}

.wa-callme-icon {
  flex-shrink: 0;
}

/* ── Floating Toggle Button ───────────────────────────────────────────── */
.wa-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6);
  transition: all 0.3s ease;
  position: relative;
  pointer-events: auto;
  animation: waPulse 2s infinite;
}

.wa-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.wa-toggle-btn:active {
  transform: scale(0.95);
}

.wa-whatsapp-icon {
  color: #ffffff;
}

@keyframes waPulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #ff3b30;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: none;
}

/* ── Pricing WhatsApp CTA ─────────────────────────────────────────────── */
.pricing-wa-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-wa-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.pricing-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.pricing-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.pricing-wa-btn:active {
  transform: translateY(0);
}

.pricing-wa-icon {
  flex-shrink: 0;
}
