/* ============================================
   DEALHUBSPOT - CONVERSION-OPTIMIZED STYLES
   ============================================ */

/* Root variables for the electric blue palette */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --secondary: #4aa8ff;
  --accent: #00c8ff;
  --success: #00c853;
  --warning: #ff9800;
  --danger: #ff5252;
  --background: #f4f7fb;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-blur: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-lg: 24px;
}

/* Global Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: #222;
  overflow-x: hidden;
}

body.has-banner {
  padding-top: 48px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

p {
  margin-bottom: 1em;
  color: #555;
}

a {
  text-decoration: none;
  color: var(--primary);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ============================================
   URGENCY BANNER
   ============================================ */
.urgency-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1001;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.urgency-icon {
  font-size: 1.2rem;
  animation: pulse-icon 1s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.urgency-text strong {
  margin-right: 4px;
}

.urgency-close {
  position: absolute;
  right: 16px;
  background: none;
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.urgency-close:hover {
  opacity: 1;
}

/* ============================================
   ACTIVITY TOAST
   ============================================ */
.activity-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 320px;
}

.activity-toast.show {
  transform: translateX(0);
}

.toast-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.toast-content {
  flex: 1;
}

.toast-name {
  color: var(--primary);
}

.toast-location {
  color: #666;
}

.toast-action {
  font-size: 0.85rem;
  color: var(--success);
  margin: 0;
  font-weight: 500;
}

/* ============================================
   STICKY HEADER
   ============================================ */
.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  z-index: 999;
  transition: top 0.3s ease;
}

body.has-banner .sticky-header {
  top: 48px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.6rem;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.desktop-nav a {
  color: #444;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.sticky-header .cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-header .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.cta-icon {
  font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
}

.hamburger {
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 998;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
}

body.has-banner .mobile-menu {
  top: 108px;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  color: #333;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.mobile-cta {
  margin-top: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 100px;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, var(--primary) 100%);
  z-index: -2;
}

.hero-bg-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
  font-size: 1rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  color: #fff;
}

.hero-cta-group {
  margin-bottom: 40px;
}

.hero-subtext {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  margin-bottom: 0;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -12px;
  object-fit: cover;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid white;
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}

.hero-proof-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Hero Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-slide-up-delay {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.animate-slide-up-delay-2 {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRIMARY BUTTON
   ============================================ */
.primary-btn {
  background: linear-gradient(135deg, var(--accent), #00a8d6);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 200, 255, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.primary-btn:hover::before {
  left: 100%;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 200, 255, 0.45);
}

.primary-btn:active {
  transform: translateY(-1px);
}

.primary-btn.pulse {
  animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 8px 30px rgba(0, 200, 255, 0.35); }
  50% { box-shadow: 0 8px 40px rgba(0, 200, 255, 0.55), 0 0 0 10px rgba(0, 200, 255, 0.1); }
}

.primary-btn.large {
  padding: 20px 40px;
  font-size: 1.2rem;
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.primary-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   BRAND LOGOS
   ============================================ */
.brand-logos {
  padding: 40px 20px;
  background: white;
  text-align: center;
  overflow: hidden;
}

.brand-heading {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.logos-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  opacity: 0.6;
}

.brand {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 80px 20px;
  background: white;
}

.trust-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.trust-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.trust-item h3 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-item p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.demo-content {
  max-width: 500px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.demo-content h2 {
  margin-bottom: 16px;
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.demo-video {
  width: 400px;
  height: 280px;
  max-width: 100%;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #764ba2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.play-button {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
}

.video-placeholder span {
  color: white;
  font-weight: 600;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
  padding: 100px 20px;
  text-align: center;
  background: white;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 48px;
}

.benefit-cards {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--card-bg);
  backdrop-filter: blur(var(--card-blur));
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: left;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.benefit-card.popular {
  border: 2px solid var(--primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.benefit-savings {
  display: inline-block;
  background: linear-gradient(135deg, var(--success), #00a050);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.benefit-card .icon-container {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}

.benefit-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.benefit-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
  transition: gap 0.3s ease;
}

.benefit-link:hover {
  gap: 8px;
}

/* Placeholder icons */
.icon-network::before { content: "🛍️"; }
.icon-gift-card::before { content: "🎁"; }
.icon-coupons::before { content: "🧾"; }
.icon-cashback::before { content: "💰"; }

/* ============================================
   CALCULATOR
   ============================================ */
.calculator-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--primary), #764ba2);
}

.calculator-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.calculator-container h2 {
  color: white;
  margin-bottom: 40px;
}

.calculator-container .section-badge {
  background: rgba(255, 255, 255, 0.2);
}

.calculator {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.calc-input-group {
  margin-bottom: 28px;
  text-align: left;
}

.calc-input-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.calc-input-group input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e0e0e0;
  outline: none;
  -webkit-appearance: none;
}

.calc-input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(26, 115, 232, 0.3);
}

.calc-value {
  display: block;
  text-align: right;
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
}

.calc-result {
  background: linear-gradient(135deg, #f0f7ff, #e8f0ff);
  padding: 32px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.result-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.result-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.result-sub {
  font-size: 1rem;
  color: var(--success);
  font-weight: 600;
}

.calc-cta {
  width: 100%;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 20px;
  background: var(--background);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 1100px;
  margin: 48px auto;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.testimonial-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.testimonial-card.featured.animate-in {
  transform: scale(1.02) translateY(0);
}

.testimonial-rating {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: #222;
}

.author-info span {
  font-size: 0.85rem;
  color: #666;
}

.verified-badge {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 500;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e0e0e0;
}

.trust-text {
  font-size: 0.85rem;
  color: #999;
}

.media-logo {
  font-weight: 600;
  color: #666;
  opacity: 0.7;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 100px 20px;
  background: white;
  text-align: center;
}

.pricing-toggle {
  display: inline-flex;
  background: #f0f4f8;
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 48px;
}

.pricing-toggle .toggle {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  color: #666;
  transition: var(--transition);
  position: relative;
}

.pricing-toggle .toggle.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.toggle-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--success);
  color: white;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
}

.pricing-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.plan-card {
  width: 340px;
  max-width: 100%;
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.plan-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.plan-card.best-value {
  border-color: var(--primary);
}

.value-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-card h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.plan-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 8px 0;
}

.plan-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}

.price-strike {
  color: var(--success);
  font-weight: 600;
  margin-bottom: 24px;
}

.price-strike s {
  color: #999;
}

.price-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 24px;
}

.plan-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.plan-card li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
  color: #444;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.plan-guarantee {
  font-size: 0.85rem;
  color: #666;
  margin-top: 16px;
}

.pricing-guarantee {
  margin-top: 60px;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #f0fff0, #e8ffe8);
  padding: 24px 32px;
  border-radius: var(--radius);
  border: 1px solid #c8f7c5;
}

.guarantee-icon {
  font-size: 3rem;
}

.guarantee-text {
  text-align: left;
}

.guarantee-text strong {
  display: block;
  color: var(--success);
  margin-bottom: 4px;
}

.guarantee-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* ============================================
   SIGNUP / FUNNEL
   ============================================ */
.signup {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
  text-align: center;
}

.signup-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.signup-subtitle strong {
  color: var(--primary);
}

/* Progress Steps */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

.progress-step.active .step-number {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.progress-step.completed .step-number {
  background: var(--success);
  color: white;
}

.step-label {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: #333;
}

.progress-line {
  width: 80px;
  height: 3px;
  background: #e0e0e0;
  margin: 0 8px;
  margin-bottom: 24px;
  border-radius: 2px;
}

/* Step Card */
.step-card {
  max-width: 540px;
  margin: 0 auto;
  background: white;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.step-card.hidden {
  display: none;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-subtitle {
  color: #666;
  margin-bottom: 32px;
}

.signup form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.input-group {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.input-group.full-width {
  flex: 100%;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 1rem;
  background: #fafafa;
  transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--primary);
  background: white;
  outline: none;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.input-group input.error {
  border-color: var(--danger);
  background: #fff5f5;
}

.input-error {
  display: block;
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 18px;
}

.submit-btn,
.checkout-btn {
  width: 100%;
  margin-top: 8px;
}

.form-trust {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #888;
}

/* Plan Options in Step 2 */
.plan-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.plan-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.plan-option:hover {
  border-color: var(--primary);
  background: #f8faff;
}

.plan-option input {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
}

.plan-option input:checked ~ .plan-option-content {
  color: var(--primary);
}

.plan-option:has(input:checked) {
  border-color: var(--primary);
  background: #f0f7ff;
}

.plan-option.recommended {
  border-color: var(--primary);
}

.recommended-tag {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--primary);
  color: white;
  padding: 2px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
}

.plan-option-content {
  flex: 1;
  text-align: left;
}

.plan-option .plan-title {
  display: block;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
}

.plan-option .plan-desc {
  font-size: 0.85rem;
  color: var(--success);
}

.checkout-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #888;
  flex-wrap: wrap;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq .section-badge {
  display: block;
  text-align: center;
  margin: 0 auto 16px;
  width: fit-content;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--primary), #764ba2);
  text-align: center;
}

.final-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.final-cta-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.final-cta-features span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.final-cta-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #888;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h5 {
  color: white;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid #333;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

.footer-badges {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

/* ============================================
   EXIT POPUP
   ============================================ */
.exit-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exit-popup.show {
  opacity: 1;
  visibility: visible;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup-content {
  position: relative;
  background: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.exit-popup.show .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  font-size: 2rem;
  color: #999;
  line-height: 1;
}

.popup-close:hover {
  color: #333;
}

.popup-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.popup-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.popup-content p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.popup-timer {
  background: var(--danger);
  color: white;
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: monospace;
}

.popup-cta {
  width: 100%;
  margin-bottom: 16px;
}

.popup-skip {
  font-size: 0.85rem;
  color: #999;
  text-decoration: underline;
}

/* ============================================
   STICKY BOTTOM CTA (Mobile)
   ============================================ */
.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}

.sticky-bottom-cta.show {
  transform: translateY(0);
}

.sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.sticky-text {
  display: flex;
  flex-direction: column;
}

.sticky-text strong {
  color: #222;
}

.sticky-text span {
  font-size: 0.85rem;
  color: #666;
}

.sticky-btn {
  padding: 12px 24px;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  body.has-banner {
    padding-top: 0;
  }

  .urgency-banner {
    position: relative;
    flex-wrap: wrap;
    font-size: 0.85rem;
    padding: 10px 40px 10px 16px;
  }

  body.has-banner .sticky-header {
    top: 0;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .sticky-bottom-cta {
    display: block;
  }

  .hero {
    padding: 120px 20px 80px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .scroll-indicator {
    display: none;
  }

  .trust {
    gap: 30px;
    padding: 60px 20px;
  }

  .trust-item h3 {
    font-size: 2rem;
  }

  .demo-section {
    padding: 60px 20px;
  }

  .demo-video {
    width: 100%;
    height: 220px;
  }

  .benefits,
  .pricing,
  .testimonials,
  .signup,
  .faq,
  .final-cta {
    padding: 60px 20px;
  }

  .step-card {
    padding: 32px 24px;
  }

  .calculator {
    padding: 32px 24px;
  }

  .result-amount {
    font-size: 2.5rem;
  }

  .progress-line {
    width: 40px;
  }

  .pricing-display {
    gap: 20px;
  }

  .activity-toast {
    bottom: 80px;
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .final-cta-features {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }

  .input-group {
    min-width: 100%;
  }

  .checkout-trust {
    flex-direction: column;
    gap: 8px;
  }

  .guarantee-badge {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .guarantee-text {
    text-align: center;
  }

  .popup-content {
    padding: 32px 24px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .urgency-banner,
  .activity-toast,
  .sticky-header,
  .mobile-menu,
  .exit-popup,
  .sticky-bottom-cta {
    display: none !important;
  }
}
