/* ==========================================================================
   VENDESPY — CHROME EXTENSION AD SPY TOOL FOR META ADS
   Official Brand Palette: Midnight Navy (#040D1A), Electric Blue (#0066FF), Neon Green (#22C55E)
   ========================================================================== */

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

:root {
  /* VendeSpy Official Brand Color Tokens */
  --bg-dark: #040D1A;
  --bg-card: rgba(8, 22, 42, 0.92);
  --bg-card-hover: rgba(12, 32, 60, 0.98);
  --bg-glass: rgba(4, 13, 26, 0.92);
  
  --brand-blue: #0066FF;
  --brand-blue-dark: #0052CC;
  --brand-blue-glow: rgba(0, 102, 255, 0.4);
  --blue-gradient: linear-gradient(135deg, #0052CC 0%, #0066FF 100%);

  --neon-green: #22C55E;
  --neon-green-bright: #39FF14;
  --neon-green-glow: rgba(34, 197, 94, 0.4);

  --neon-cyan: #00D2FF;
  --neon-cyan-glow: rgba(0, 210, 255, 0.35);

  --yape-purple: #7000FF;
  --binance-gold: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-card: rgba(0, 102, 255, 0.28);
  --border-cyan: rgba(0, 210, 255, 0.3);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Deep Midnight Navy Radar Ambient Glow Background (No grid boxes overlay) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 102, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(0, 210, 255, 0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #00D2FF 0%, #0066FF 50%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-green {
  background: linear-gradient(135deg, #22C55E 0%, #39FF14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Clean Sticky Navbar (Just & Necessary Links) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(4, 13, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 102, 255, 0.18);
  padding: 0.75rem 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.5));
}

.brand-badge {
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid var(--brand-blue);
  color: var(--neon-cyan);
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--neon-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  background: var(--blue-gradient);
  color: #ffffff;
  font-weight: 800;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  box-shadow: 0 0 20px var(--brand-blue-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.7);
}

/* Mobile Menu Burger */
.burger-menu {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid var(--border-card);
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-tag.green-tag {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--neon-green);
}

.section-title {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Buttons System */
.btn-primary {
  background: var(--blue-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  text-align: center;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 0 35px var(--brand-blue-glow);
  border: 1px solid rgba(0, 102, 255, 0.5);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 102, 255, 0.7);
}

.btn-secondary {
  background: rgba(8, 22, 42, 0.88);
  border: 1px solid var(--border-card);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.05rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 102, 255, 0.15);
  box-shadow: 0 0 25px var(--neon-cyan-glow);
  transform: translateY(-3px);
}

/* Custom Payment Buttons in Pricing Card */
.btn-yape {
  background: linear-gradient(135deg, #6b21a8 0%, #a855f7 100%);
  color: #ffffff;
  border: 1px solid #c084fc;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

.btn-yape:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.6);
}

.btn-binance {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #030712;
  border: 1px solid #fbbf24;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

.btn-binance:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   HERO SECTION & EXTENSION POPUP MOCKUP
   ========================================================================== */
.hero-section {
  padding: 5rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-micro-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

.hero-micro-text b {
  color: var(--neon-green);
}

/* Official VendeSpy Extension Popup UI Glass Mockup */
.extension-popup-frame {
  max-width: 440px;
  margin: 0 auto;
  background: rgba(5, 13, 26, 0.95);
  border: 2px solid var(--brand-blue);
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(0, 102, 255, 0.35), inset 0 0 30px rgba(34, 197, 94, 0.1);
  padding: 1.6rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-logo {
  height: 34px;
  width: auto;
}

.sub-active-tag {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.popup-user-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.popup-counter-box {
  background: rgba(8, 22, 42, 0.8);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

.counter-val {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 900;
  color: var(--neon-green);
  line-height: 1;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.popup-action-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-action-btn {
  background: var(--blue-gradient);
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.4);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.popup-action-btn.secondary-btn {
  background: rgba(8, 22, 42, 0.85);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: var(--text-main);
}

/* ==========================================================================
   BEFORE VS AFTER MATRIX (.ba-section)
   ========================================================================== */
.ba-section {
  padding: 6rem 0;
  background: rgba(3, 7, 18, 0.6);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.ba-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
}

.ba-card.before {
  background: rgba(20, 10, 15, 0.88);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.ba-card.after {
  background: rgba(8, 22, 42, 0.92);
  border: 2px solid var(--brand-blue);
  box-shadow: 0 0 35px rgba(0, 102, 255, 0.25);
}

.ba-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ba-card h3 span.badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
}

.before h3 span.badge { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.after h3 span.badge { background: rgba(0, 102, 255, 0.2); color: var(--neon-cyan); }

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ba-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ba-item span.icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ba-item p {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* ==========================================================================
   USE CASES SECTION (#casos-de-uso)
   ========================================================================== */
.use-cases-section {
  padding: 6rem 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.use-case-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.25);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.use-case-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.use-case-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   INTERACTIVE ROI SAVINGS CALCULATOR (#calculadora)
   ========================================================================== */
.calc-section {
  padding: 6rem 0;
  background: rgba(3, 7, 18, 0.6);
}

.calc-box {
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 0 45px rgba(0, 102, 255, 0.2);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.calc-field label span.val {
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 800;
}

.calc-field input[type=range] {
  width: 100%;
  accent-color: var(--brand-blue);
  height: 6px;
  border-radius: 4px;
  background: #0d1e38;
  cursor: pointer;
}

.calc-result-card {
  background: linear-gradient(135deg, rgba(8, 22, 42, 0.95) 0%, rgba(4, 13, 26, 0.95) 100%);
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.3);
}

.calc-result-card .title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.calc-result-card .big-val {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--neon-green);
  margin: 0.8rem 0;
}

.calc-result-card .sub {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FEATURES GRID SECTION (#features)
   ========================================================================== */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   HOW IT WORKS 3 STEPS SECTION (#como-funciona)
   ========================================================================== */
.steps-section {
  padding: 6rem 0;
  background: rgba(3, 7, 18, 0.6);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--blue-gradient);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px var(--brand-blue-glow);
}

.step-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   PRICING TABLE (#precios)
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
}

.price-card-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(8, 22, 42, 0.95) 0%, rgba(4, 13, 26, 0.95) 100%);
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 0 45px rgba(0, 102, 255, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.25rem 1.2rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.plan-price {
  font-family: var(--font-mono);
  font-size: 3.4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.plan-price span.per {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.plan-features li span.check {
  color: var(--neon-green);
  font-weight: 800;
}

.guarantee-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* Payment Group inside Pricing Card */
.payment-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   QR SCANNER MODAL WITH CYAN LASER SWEEP ANIMATION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-card {
  background: #050d1a;
  border: 2px solid var(--neon-cyan);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  box-shadow: 0 0 50px rgba(0, 210, 255, 0.4);
  position: relative;
  text-align: center;
}

.modal-card.binance-modal {
  border-color: #fbbf24;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.4);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
}

.scan-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Scanner Frame with Laser Line Sweep Effect */
.qr-scanner-box {
  width: 240px;
  height: 240px;
  margin: 0 auto 1.2rem;
  position: relative;
  border-radius: 16px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
  overflow: hidden;
}

.qr-code-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Laser Beam Sweep Animation */
.laser-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00D2FF, #39FF14, #00D2FF, transparent);
  box-shadow: 0 0 15px #00D2FF, 0 0 25px #39FF14;
  top: 0;
  animation: laserSweep 2.2s ease-in-out infinite alternate;
}

@keyframes laserSweep {
  0% { top: 4px; }
  100% { top: calc(100% - 8px); }
}

.timer-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}

.modal-details-card {
  background: rgba(8, 22, 42, 0.8);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
}

.detail-val {
  font-weight: 800;
  color: #ffffff;
}

.detail-val.green-val {
  color: var(--neon-green-bright);
}

.btn-whatsapp-confirm {
  background: linear-gradient(135deg, #10b981 0%, #25D366 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-whatsapp-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.7);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Fixed Bottom Right)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #10b981 0%, #25D366 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.65);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.9);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* ==========================================================================
   FAQ ACCORDION SECTION (#faq)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: rgba(3, 7, 18, 0.5);
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--neon-cyan);
  transition: var(--transition);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--neon-cyan);
  color: #040D1A;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.5rem 1.6rem;
}

/* Footer */
footer {
  background: #01040a;
  border-top: 1px solid rgba(0, 102, 255, 0.15);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ==========================================================================
   MOBILE PERFORMANCE OPTIMIZATIONS (60fps Ultra Smooth Scrolling)
   ========================================================================== */
@media (max-width: 992px) {
  .features-grid, .use-cases-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ba-grid, .calc-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  /* Remove GPU-heavy backdrop blur on mobile for smooth 60fps scrolling */
  .navbar, .extension-popup-frame, .faq-item, .feature-card, .use-case-card, .step-card, .pricing-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .navbar {
    background: #040D1A !important;
    padding: 0.65rem 0 !important;
  }

  .logo-img {
    height: 32px !important;
  }

  .nav-links {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .nav-cta {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.85rem !important;
    white-space: nowrap !important;
    max-height: 36px !important;
  }

  .hero-title {
    font-size: 2.3rem !important;
  }

  .extension-popup-frame {
    max-width: 100% !important;
    padding: 1.2rem !important;
  }

  .features-grid, .use-cases-grid, .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .feature-card, .use-case-card, .step-card {
    padding: 1.5rem 1.2rem !important;
  }

  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
}
