/* Mobile logo positioning - keep in top-left but adjust margins */
@media (max-width: 768px) {
  .logo {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: auto !important;
    text-align: left !important;
    z-index: 10 !important;
  }

  .logo-icon {
    max-width: 120px !important;
    height: auto !important;
    display: block !important;
  }
}
:root{
  --color-navy: #1a1a1a;
  --color-ivory: #fafbfc;
  --color-primary: #0072CE;
  --color-primary-light: #1a85db;
  --color-accent: #00F0FF;
  --color-bg: var(--color-ivory);
  --color-bg-alt: #f4f6f8;
  --color-text: #1a1a1a;
  --color-muted: #4a5568;
  --color-primary-50: #e6f3ff;
  --color-primary-100: #cce7ff;
  --color-primary-200: #99cfff;
  --color-primary-300: #66b7ff;
  --color-primary-600: #0072CE;
  --color-primary-700: #005ba3;
  --color-primary-800: #004578;
  --color-accent-dark: #00d4e6;
  --color-accent-300: #4df4ff;
  --color-bg-light: var(--color-ivory);
  --color-text-light: #2d3748;
  --color-text-muted: #718096;
  --color-border: #e2e8f0;
  --color-success: #38a169;
  --color-error: #e53e3e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 8px 24px rgba(0, 114, 206, 0.12);
  --shadow-hover: 0 20px 25px -5px rgba(0, 114, 206, 0.20);
  --shadow-focus: 0 0 0 3px rgba(0, 240, 255, 0.40);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.7;
  color: var(--color-text);
  overflow-x: hidden;
  padding-bottom: 0;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg);
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.section-spacing {
  padding: clamp(24px, 3vw, 36px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 24px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  color: var(--color-text);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
  margin-top: 24px;
}

.card-base {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.wave-separator {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.wave-separator svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
}

.wave-flip {
  transform: scaleY(-1);
}

.logo {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  margin: 0;
  justify-content: flex-start;
}

.logo-icon {
  max-width: 200px;
  height: auto;
  display: block;
}

/* removed hover transform for logo */

.logo-image {
  width: clamp(120px, 20vw, 200px);
  height: auto;
}

.logo-badge {
  /* base glass */
  background: rgba(255,255,255,.65);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* dissolvenza ai bordi (radiale) */
  --fade: 70%;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 var(--fade), transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 50%, #000 var(--fade), transparent 100%);
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  transition: all 0.3s ease;
}

.logo-badge:hover {
  transform: scale(1.05);
}

.logo-badge img {
  display: block;
  height: 34px;
  width: auto;
}

@media (min-width: 768px) {
  .logo-badge img {
    height: 40px;
  }
}

/* Fallback pulito: se mask non supportato, mostra solo il glass senza dissolvenza */
@supports not (mask-image: radial-gradient(black, transparent)) {
  .logo-badge {
    -webkit-mask-image: none;
    mask-image: none;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(15,23,42,.06);
  }
}

.hero {
  background: linear-gradient(135deg, var(--color-ivory) 0%, var(--color-bg-alt) 100%);
  color: var(--color-text);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Removed problematic ::before pseudo-element */

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  min-height: 100vh;
  width: 100%;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 96px) 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  flex: 1;
  max-width: 600px;
}

.hero-image {
  max-width: 480px;
  margin: 0;
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero h1 {
  color: var(--color-text);
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
  text-shadow: none;
}

.hero h1 .highlight {
  color: var(--color-text);
  text-shadow: none;
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  opacity: 0.8;
}

/* Hide underline on mobile */
@media (max-width: 768px) {
  .hero h1 .highlight::after {
    display: none;
  }
}

.hero p {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  opacity: 0.95;
  line-height: 1.6;
  color: var(--color-text);
  font-weight: 500;
}

.ai-summary {
  background: var(--color-bg-alt);
  position: relative;
}

.ai-summary-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ai-summary h2 {
  color: var(--color-text);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.ai-summary-text {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  color: var(--color-text-light);
  background: var(--color-primary-50);
  padding: clamp(32px, 5vw, 48px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-primary-200);
  border-left: 4px solid var(--color-primary);
  position: relative;
}

.ai-keywords {
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(16px, 3vw, 20px) clamp(32px, 6vw, 40px);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  min-height: 56px;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn-base::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;
}

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

.btn-base:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(0, 114, 206, 0.2);
}

.btn-base > .ripple {
  z-index: 0;
}

.btn-base > span,
.btn-base > svg {
  position: relative;
  z-index: 1;
}

.cta-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cta-primary:hover {
  background-color: var(--color-primary-light) !important;
  border-color: var(--color-primary-light) !important;
}

.cta-primary:active {
  transform: scale(0.96);
}

.cta-secondary {
  background: var(--color-ivory);
  color: var(--color-primary);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-primary);
}

.cta-secondary:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: var(--color-ivory);
}

.cta-calendly {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-ivory);
  box-shadow: var(--shadow-card);
  margin-top: 20px;
  font-weight: 800;
  border: 1px solid var(--color-primary);
}

.cta-calendly:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Hero Results Grid - consolidated from enhanced-visuals.css */
.hero-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem; /* Increased from 1rem */
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .hero-results-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.stats {
  background: var(--color-bg);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(16px, 3vw, 24px);
  position: relative;
  z-index: 2;
}

.stat-card {
  padding: clamp(24px, 4vw, 32px);
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background;
}

/* Step Illumination Effect */
.stat-card.active {
  background: linear-gradient(135deg, rgba(25, 152, 255, 0.15) 0%, rgba(0, 114, 206, 0.10) 100%);
  box-shadow: 0 0 40px rgba(0, 114, 206, 0.35), 0 8px 32px rgba(0, 114, 206, 0.20);
  transform: translateY(-4px) scale(1.02);
}

.stat-card.active .stat-icon {
  transform: scale(1.25);
  filter: drop-shadow(0 0 20px rgba(0, 114, 206, 0.6)) drop-shadow(0 4px 15px rgba(0, 114, 206, 0.4));
  text-shadow: 0 0 15px rgba(0, 114, 206, 0.8);
}

.stat-card.active .stat-text {
  color: var(--color-primary);
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 114, 206, 0.3);
}

.stat-card.active .stat-description {
  color: var(--color-text);
  font-weight: 600;
}

/* Desktop-specific stabilization */
@media screen and (min-width: 769px) {
  .stat-text {
    font-weight: 700 !important; /* Force consistent weight */
    min-height: 1.5em; /* Prevent height changes */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .stat-description {
    font-weight: 500 !important; /* Force consistent weight */
    min-height: 4.8em; /* Prevent height changes - adjust based on content */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }
  
  .stat-card.active .stat-text {
    font-weight: 700 !important; /* Keep same weight to prevent shift */
    color: var(--color-primary);
    text-shadow: 0 2px 4px rgba(0, 114, 206, 0.3);
  }
  
  .stat-card.active .stat-description {
    font-weight: 500 !important; /* Keep same weight to prevent shift */
    color: var(--color-text);
  }
  
  /* Disable font-weight transitions on desktop */
  .stat-text {
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                text-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }
  
  .stat-description {
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }
}

.stat-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: clamp(24px, 3vw, 32px);
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 240, 255, 0.2));
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              text-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: clamp(10px, 1.5vw, 14px);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 114, 206, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-text {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: clamp(16px, 2vw, 20px);
  color: var(--color-text);
  transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              text-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-description {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #2d3748; /* Improved contrast for WCAG 2.1 AA compliance */
  line-height: 1.6;
  margin-bottom: clamp(8px, 2vw, 12px);
  font-weight: 500;
  transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              font-weight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stats-sources {
  text-align: center;
  margin-top: clamp(24px, 4vw, 32px);
  padding-top: clamp(16px, 3vw, 24px);
  border-top: 1px solid var(--color-border);
}

.stats-sources p {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--color-text-muted);
  font-weight: 500;
}


.how-it-works {
  background: var(--color-bg-alt);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(20px, 4vw, 32px);
}

.step-card {
  padding: clamp(16px, 3vw, 24px);
  text-align: center;
  position: relative;
}

.step-icon {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: clamp(12px, 2vw, 20px);
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.step-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  margin-bottom: clamp(8px, 2vw, 12px);
  color: var(--color-text);
}

.step-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-light);
  line-height: 1.7;
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(0.875rem, 2vw, 1rem);
  box-shadow: var(--shadow-card);
}

.problem {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-ivory);
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(16, 185, 129, 0.1) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.problem-content {
  position: relative;
  z-index: 2;
}

.problem .section-title {
  color: var(--color-ivory);
}

.problem .section-title::after {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}

.problem .section-subtitle {
  color: var(--color-ivory);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: clamp(16px, 4vw, 24px);
  margin-top: clamp(24px, 5vw, 48px);
}

.problem-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.problem-card h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  margin-bottom: clamp(12px, 3vw, 20px);
  color: var(--color-ivory);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.problem-card p {
  color: #ffffff; /* Improved contrast on dark gradient */
  line-height: 1.7;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Enhanced readability */
}

.problem, .cta-section {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-section .section-title {
  color: var(--color-ivory);
}

.cta-section .section-title::after {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}

.cta-text {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  opacity: 0.95;
  color: var(--color-ivory);
  font-weight: 500;
}

.demo-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(24px, 4vw, 32px);
  border-radius: var(--radius-xl);
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  position: relative;
}

.demo-box p {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: clamp(24px, 5vw, 40px);
  line-height: 1.7;
  color: var(--color-ivory);
}

.demo-image {
  margin: clamp(24px, 5vw, 40px) 0;
  text-align: center;
}

.demo-image img {
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact {
  background: var(--color-bg);
  position: relative;
}


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

.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-section, .hero { 
    transition: none !important; 
    transform: none !important; 
  }
}

/* Mobile: fino a 768px */
@media (max-width: 768px) {
  .hero { 
    text-align: center; 
    padding: 0;
    min-height: 100vh;
  }
  
  .hero h1 { 
    font-size: 2rem; 
    line-height: 1.2; 
  }
  
  .hero p { 
    font-size: 1rem; 
  }

  .steps-grid,
  .stats-grid { 
    grid-template-columns: 1fr !important; 
  }


  .site-footer nav { 
    flex-direction: column; 
    gap: 0.5rem; 
    text-align: center; 
  }
}

/* Very small devices: fino a 480px */
@media (max-width: 480px) {
  .btn-base { 
    font-size: 0.9rem; 
    padding: 0.75rem 1rem; 
  }
  
  .stat-number { 
    font-size: 1.4rem; 
  }
  
  .section-title { 
    font-size: 1.25rem; 
  }
  
}


@media (max-width: 1024px) and (min-width: 769px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 24px);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 0;
  }
  
  .section-spacing {
    padding: clamp(20px, 3vw, 28px) 0;
  }
  
  .hero {
    min-height: 100vh;
    padding: 0;
  }
  
  .logo {
    top: 16px;
    left: 16px;
  }
  
  .section-header {
    margin-bottom: clamp(16px, 3vw, 20px);
    text-align: left;
  }
  
  .section-title::after {
    left: 0;
    transform: none;
  }
  
  .hero-grid {
    flex-direction: column;
    text-align: center;
    gap: clamp(24px, 3vw, 32px);
    padding: clamp(40px, 6vw, 60px) 0;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-image {
    max-width: 100%;
    margin-top: 2rem;
  }
  
  .hero .section-title::after {
    left: 0;
    transform: none;
  }
  
  .ai-summary-content {
    text-align: left;
  }
  
  .ai-summary .section-title::after {
    left: 0;
    transform: none;
  }
  
  .stats-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }
  
  
  p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .logo {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    margin: 0 !important;
    display: flex !important;
    width: auto !important;
    text-align: left !important;
    z-index: 10 !important;
  }
  .logo-icon {
    max-width: 120px !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .logo {
    top: 12px !important;
    left: 12px !important;
  }
  
  .logo-icon {
    max-width: 100px !important;
  }
  
  .hero-layout {
    padding: 110px clamp(16px, 4vw, 24px) 40px !important;
  }
  
  .card-base {
    border-radius: var(--radius-lg);
  }
  
  .step-card,
  .stat-card,
  .problem-card {
    padding: clamp(16px, 3vw, 20px);
  }
  
}

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

@media (prefers-contrast: high) {
  .card-base {
    border: 2px solid var(--color-text);
  }
  
  .btn-base {
    border: 2px solid currentColor;
  }
}

/* Enhanced focus-visible for all interactive elements */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(0, 114, 206, 0.2);
}

/* Focus-visible for links and CTAs */
a:focus-visible,
.btn-base:focus-visible,
.cta-primary:focus-visible,
.cta-secondary:focus-visible,
.cta-calendly:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(0, 114, 206, 0.2);
}

:target {
  scroll-margin-top: 80px;
} 

.site-footer {
  background: var(--color-bg);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

.site-footer nav {
  margin-bottom: 16px;
}

.site-footer nav a {
  color: var(--color-primary);
  text-decoration: none;
  margin: 0 16px;
  transition: color 0.3s ease;
  font-weight: 500;
}

.site-footer nav a:hover {
  color: var(--color-accent);
}

.site-footer nav a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-footer p {
  margin: 0;
}

/* Cross-fade effects */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  position: relative;
}

section.section-active {
  opacity: 1;
  transform: translateY(0);
}

section:not(.section-active) {
  opacity: 0.3;
  transform: translateY(20px);
}

/* Enhanced fade-in for specific elements */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax effect for hero */
.hero {
  transform: translateY(0);
  transition: transform 0.1s ease-out;
} 
/* Quick wins: pulse CTA, stat gradient, sticky header */
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-card); }
  50% { transform: scale(1.03); box-shadow: var(--shadow-hover); }
}

/* CTA animations removed to avoid color flashes; limit to bg/border transitions */

.stat-number {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: var(--color-primary);
}

/* Accent only on first stat for rhythm */
.stats-grid .stat-card:first-child .stat-number {
  color: var(--color-primary);
}

.sticky-header {
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  transition: top 0.3s ease;
  background: rgba(250, 251, 252, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 114, 206, 0.08);
  z-index: 1001;
  border-bottom: 1px solid var(--color-border);
}

.sticky-header.show {
  top: 0;
}

.sticky-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 4vw, 32px);
}

.sticky-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
}

.sticky-header .brand img {
  width: 28px;
  height: 28px;
}

.sticky-header .actions {
  display: flex;
  gap: 12px;
}

.sticky-header .btn-base {
  min-height: 44px;
  padding: 10px 16px;
}

.sticky-header nav a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Demo placeholder styles */
.demo-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(16px, 3vw, 24px) 0;
}

.demo-placeholder.success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: var(--color-success);
}

.demo-placeholder.primary {
  background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-primary-100) 100%);
  border-color: var(--color-primary);
}

.placeholder-content span {
  font-size: clamp(2rem, 4vw, 3rem);
  display: block;
  margin-bottom: 16px;
}

.placeholder-content h4 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.placeholder-content p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Client logo styles */
.client-logo {
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-primary);
  text-align: center;
  min-width: 120px;
}

/* Hero enhancements */
.hero-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: inline-block;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.8); }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.urgency-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin: 24px 0;
  text-align: center;
}

.urgency-icon {
  font-size: 1.5rem;
  margin-right: 8px;
}

.cta-guarantee {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  text-align: center;
}

/* AI Interpretation Simulation Styles */
.ai-interpretation {
  background: var(--color-bg-alt);
  position: relative;
}

.ai-simulation {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Query Box */
.query-box {
  background: var(--color-bg);
  border: 2px solid var(--color-primary-200);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: clamp(32px, 5vw, 48px);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.query-icon {
  font-size: clamp(1.5rem, 3vw, 2rem);
  flex-shrink: 0;
}

.query-text {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
  min-height: 1.5em;
}

/* Cursor Animation */
.cursor {
  color: var(--color-primary);
  animation: blink 1s infinite;
}

.cursor.hidden {
  opacity: 0;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* AI Scanner */
.ai-scanner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.ai-scanner.active {
  opacity: 1;
}

.scanner-line {
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-accent) 20%, 
    var(--color-primary) 50%, 
    var(--color-accent) 80%, 
    transparent 100%);
  box-shadow: 0 0 20px var(--color-accent);
  animation: scan 2s ease-in-out;
}

@keyframes scan {
  0% {
    top: -4px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 32px);
  margin-top: clamp(32px, 5vw, 48px);
}

.result-box {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.3;
  transform: scale(0.95);
}

.result-box.result-fail {
  border-color: #fecaca;
  background: #fef2f2;
}

.result-box.result-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  opacity: 0.3;
  transform: scale(0.95);
}

.result-box.result-success.visible {
  opacity: 1;
  transform: scale(1);
  border-color: var(--color-success);
  box-shadow: 0 0 30px rgba(56, 161, 105, 0.3), var(--shadow-card);
  animation: glow-success 0.8s ease-out;
}

@keyframes glow-success {
  0% {
    box-shadow: var(--shadow-card);
    transform: scale(0.95);
  }
  50% {
    box-shadow: 0 0 40px rgba(56, 161, 105, 0.4), var(--shadow-hover);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 30px rgba(56, 161, 105, 0.3), var(--shadow-card);
    transform: scale(1);
  }
}

.result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.result-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.result-header h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
}

.result-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ChatGPT Interface */
.chatgpt-interface {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-header {
  background: #f8fafc;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
}

.chat-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.chat-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.875rem;
}

.chat-response {
  padding: 16px;
  background: var(--color-bg);
}

.chat-response p {
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.hotel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.hotel-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.competitor-hotel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.competitor-hotel.faded {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  opacity: 0.6;
}

.competitor-hotel.faded .hotel-name {
  color: #64748b;
}

.your-hotel {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid var(--color-success);
  position: relative;
}

.your-hotel.recommended {
  animation: pulse-glow-green 2s infinite;
}

@keyframes pulse-glow-green {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    transform: scale(1.02);
  }
}

.hotel-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.hotel-name {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.875rem;
  flex: 1;
}

.your-hotel .hotel-name {
  font-weight: 700;
  color: var(--color-success);
}

.recommendation-badge {
  background: linear-gradient(135deg, var(--color-success) 0%, #22c55e 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
}

.chat-note {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;
}

.chat-note.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.chat-note.success {
  background: #f0fdf4;
  color: var(--color-success);
  border: 1px solid #bbf7d0;
}

/* Animation States for Result Boxes */
.result-box {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.result-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-box.dimmed {
  opacity: 0.6;
}

.result-box.blurred {
  filter: blur(2px);
  opacity: 0.4;
}

.result-box.highlighted {
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
  transform: scale(1.02);
}

/* Green box initially hidden */
.result-box.result-success {
  opacity: 0;
  transform: translateY(30px);
}

.result-box.result-success.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Recommendation badge bounce effect */
.recommendation-badge {
  animation: badge-bounce 0.6s ease-out 0.3s both;
}

@keyframes badge-bounce {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Results Grid Animation States */
.results-grid {
  position: relative;
}

.results-grid.scanning::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(34, 197, 94, 0.3) 50%, 
    transparent 100%);
  animation: scan-sweep 1.5s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

@keyframes scan-sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.results-grid.transition-complete .result-box.result-fail {
  transform: translateX(-10px) scale(0.95);
}

.results-grid.transition-complete .result-box.result-success {
  transform: translateX(10px) scale(1.05);
}

.result-description {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .query-box {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .query-text {
    text-align: center;
  }
  
  .result-box {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .ai-simulation {
    padding: 0 8px;
  }
  
  .query-box {
    padding: 16px;
  }
  
  .result-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .preview-content {
    padding: 12px;
  }
}

/* Results showcase */
.results-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(24px, 5vw, 48px);
}

.result-card {
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  position: relative;
  transition: all 0.3s ease;
}

.result-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-bg-alt) 100%);
  transform: scale(1.02);
}

.result-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.result-badge {
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.result-stats {
  text-align: right;
}

.big-number {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--color-primary);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.result-card blockquote {
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin: 16px 0;
  color: var(--color-text);
}

.result-card cite {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* Problem reveal */
.problem-reveal {
  max-width: 900px;
  margin: 0 auto;
}

.problem-scenario {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 32px);
  margin-bottom: 24px;
}

.scenario-step {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.scenario-step:last-child {
  border-bottom: none;
}

/* New Hero Layout and Animations */
.logo-payoff {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  min-height: 100vh;
  padding: 0 clamp(20px, 4vw, 32px);
  width: 100%;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-scanner-animation {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 300px;
}

.website-mockup {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 280px;
  height: 180px;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.mockup-header {
  background: var(--color-bg-alt);
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
  display: flex;
  gap: 4px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-url {
  margin-left: 16px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: 4px;
}

.mockup-content {
  padding: 16px;
}

.mockup-text-line {
  height: 12px;
  background: var(--color-border);
  border-radius: 6px;
  margin-bottom: 8px;
  animation: shimmer 2s infinite;
}

.mockup-text-line.short {
  width: 60%;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.ai-radar {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
}

.radar-circle {
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 50%;
  background: linear-gradient(to top, var(--color-accent), transparent);
  transform-origin: bottom center;
  transform: translate(-50%, 0) rotate(0deg);
  animation: radar-sweep 3s linear infinite;
  box-shadow: 0 0 10px var(--color-accent);
}

@keyframes radar-sweep {
  0% { transform: translate(-50%, 0) rotate(0deg); }
  100% { transform: translate(-50%, 0) rotate(360deg); }
}

.ai-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  animation: pulse-ai 2s ease-in-out infinite;
}

@keyframes pulse-ai {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.scan-result {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  animation: result-appear 4s ease-in-out infinite;
}

@keyframes result-appear {
  0%, 70% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  80%, 90% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

.result-icon {
  margin-right: 4px;
}

.cta-payoff {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  text-align: center;
  font-weight: 500;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 32px);
    text-align: center;
    min-height: 100vh;
    padding: 100px clamp(20px, 4vw, 32px) 40px;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 20px;
  }
  
  .ai-scanner-animation {
    max-width: 300px;
    height: 250px;
  }
  
  .website-mockup {
    width: 240px;
    height: 150px;
  }
  
  .ai-radar {
    width: 100px;
    height: 100px;
    right: 10px;
  }
  
  .logo-payoff {
    font-size: 0.6875rem;
  }
}

.scenario-step.danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 8px 0;
}

.scenario-step.success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 8px 0;
}

.step-icon {
  font-size: 1.5rem;
  margin-right: 16px;
  flex-shrink: 0;
}

.problem-impact {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  text-align: center;
}

.problem-impact h3 {
  color: #92400e;
  margin-bottom: 12px;
}

/* Enhanced CTA section */
.urgency-offer {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 3px solid #f59e0b;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 40px);
  text-align: center;
  margin-bottom: 32px;
}

.urgency-offer h3 {
  color: #92400e;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 16px;
}

.offer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.feature {
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
}

.mega-cta {
  font-size: clamp(1.125rem, 3vw, 1.375rem) !important;
  padding: clamp(20px, 4vw, 28px) clamp(40px, 8vw, 60px) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3) !important;
}

.cta-buttons {
  text-align: center;
  margin: 32px 0;
}

.cta-urgency {
  font-size: 1rem;
  color: #dc2626;
  font-weight: 700;
  margin-top: 12px;
}

.trust-signals {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-item {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .sticky-header { display: none; }
  
  .results-showcase {
    grid-template-columns: 1fr;
  }
  
  .result-card.featured {
    transform: none;
  }
  
  .trust-signals {
    flex-direction: column;
    gap: 12px;
  }
  
  .offer-features {
    grid-template-columns: 1fr;
  }
}

/* Calendly modal always on top */
.calendly-overlay,
.calendly-popup,
.calendly-modal,
.calendly-container,
#calendlyOverlay,
[class*="calendly"] {
  z-index: 99999 !important;
}

/* Lock scroll when popup is open */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100%;
}
