/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --bg-color: #060913;
  --card-bg: rgba(15, 23, 42, 0.55);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-glow: rgba(139, 92, 246, 0.03);
  --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --secondary-gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.15);
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.2);
  --accent-yellow: #f59e0b;
  --accent-red: #ef4444;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Syne', sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
}

.bg-glow-1 {
  background: var(--accent-purple);
  top: -100px;
  right: -100px;
}

.bg-glow-2 {
  background: var(--accent-cyan);
  bottom: 20%;
  left: -200px;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* Grids */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 19, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 18px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.main-nav {
  display: none;
  gap: 32px;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

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

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

/* ==========================================================================
   HERO / STEPS SECTION
   ========================================================================== */
.hero-section {
  padding: 60px 0 100px 0;
  position: relative;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-card {
  display: none;
  width: 100%;
  max-width: 900px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px var(--card-glow);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 40px;
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gradient);
}

.step-card.active {
  display: block;
  animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- STEP 1: INPUT HERO --- */
#step-input {
  text-align: center;
  max-width: 800px;
  padding: 60px 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 36px auto;
}

.url-input-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .url-input-container {
    flex-direction: row;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 8px;
    transition: var(--transition);
  }
  .url-input-container:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
  }
}

.input-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.url-icon, .input-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.url-input-container input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 16px 16px 52px;
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
  font-family: var(--font-sans);
}

@media (min-width: 600px) {
  .url-input-container input {
    background: transparent;
    border: none;
    padding: 12px 12px 12px 52px;
  }
}

.form-notice {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* --- STEP 2: FAKE LOADING SCREEN --- */
.loader-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .loader-layout {
    grid-template-columns: 1.2fr 1.8fr;
  }
}

.loader-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
}

/* Radar Scanner */
.radial-scanner {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
}

.scanner-ring {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: rotate infinite linear;
}

.ring-1 {
  top: 0; left: 0; right: 0; bottom: 0;
  border-top-color: var(--accent-purple);
  border-bottom-color: var(--accent-cyan);
  animation-duration: 2s;
}

.ring-2 {
  top: 15px; left: 15px; right: 15px; bottom: 15px;
  border-left-color: var(--accent-purple);
  border-right-color: var(--accent-cyan);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.ring-3 {
  top: 30px; left: 30px; right: 30px; bottom: 30px;
  border-top-color: var(--accent-cyan);
  border-bottom-color: var(--accent-purple);
  animation-duration: 3s;
}

.scanner-core {
  position: absolute;
  top: 45px; left: 45px; right: 45px; bottom: 45px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.scanner-percentage {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-status-text {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  min-height: 24px;
  color: var(--text-primary);
}

.loading-bar-container {
  width: 100%;
  max-width: 220px;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.loading-bar-progress {
  width: 0%;
  height: 100%;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.target-display {
  font-size: 13px;
  color: var(--text-muted);
}

/* Loader Details & Terminal Log */
.loader-details h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.log-terminal {
  height: 150px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  font-family: monospace;
  font-size: 12px;
  color: #38bdf8;
  overflow-y: auto;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  scroll-behavior: smooth;
}

.log-entry {
  line-height: 1.4;
}

.log-info { color: #38bdf8; }
.log-warn { color: #fbbf24; }
.log-success { color: #34d399; }

.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.checklist-items li.active {
  color: var(--text-primary);
  font-weight: 500;
}

.checklist-items li.completed {
  color: var(--text-secondary);
}

.check-status {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.checklist-items li.active .check-status {
  border-color: var(--accent-cyan);
}

.checklist-items li.active .check-status::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.checklist-items li.completed .check-status {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.checklist-items li.completed .check-status::after {
  content: '✓';
  color: #000;
  font-size: 12px;
  font-weight: 900;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* --- STEP 3: RESULTS & LEAD CAPTURE --- */
.results-header {
  text-align: center;
  margin-bottom: 36px;
}

.results-header .section-title {
  font-size: 26px;
  margin-bottom: 10px;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 480px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 850px) {
  .results-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.score-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.score-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

.card-badge-new {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--secondary-gradient);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 10;
}

.score-radial {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px auto;
  position: relative;
}

.circular-chart {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}

.score-warning .circle {
  stroke: var(--accent-yellow);
}

.score-danger .circle {
  stroke: var(--accent-red);
}

.score-success .circle {
  stroke: var(--accent-green);
}

/* ==========================================================================
   FINDINGS SECTION
   ========================================================================== */
.findings-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
}

.findings-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-primary);
}

.findings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .findings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 950px) {
  .findings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.finding-group {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 20px;
}

.finding-group-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.findings-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.findings-list li {
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}

.findings-list li::before {
  content: '•';
  color: var(--accent-purple);
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.findings-list li.success-finding {
  color: var(--accent-green);
  font-weight: 500;
  padding-left: 0;
}

.findings-list li.success-finding::before {
  display: none;
}

.blurred-text {
  filter: blur(2.5px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
  display: inline-block;
  vertical-align: middle;
}

.lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(236, 72, 153, 0.25) 100%);
  border: 1px solid rgba(139, 92, 246, 0.5);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  color: #f3e8ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-left: 8px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
  vertical-align: middle;
}

/* ==========================================================================
   USP MOCKUP TEASER CARD
   ========================================================================== */
.mockup-teaser-card {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 20px;
  padding: 30px;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}

@media (min-width: 768px) {
  .mockup-teaser-card {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    padding: 36px;
  }
}

.badge-usp {
  display: inline-block;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-info h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.mockup-info p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.usp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usp-list li {
  font-size: 13px;
  color: var(--text-secondary);
}

.usp-list li strong {
  color: var(--text-primary);
}

/* Mockup Visual Lock */
.mockup-visual-locked {
  height: 180px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px dashed rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mockup-visual-locked:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.locked-mockup-bg {
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 50%, #06b6d4 100%);
  opacity: 0.15;
  filter: blur(16px);
  border-radius: 12px;
  transition: var(--transition);
}

.mockup-visual-locked:hover .locked-mockup-bg {
  opacity: 0.25;
  filter: blur(10px);
}

.lock-overlay {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #c084fc;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lock-circle {
  width: 46px;
  height: 46px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
  transition: var(--transition);
}

.mockup-visual-locked:hover .lock-circle {
  background: rgba(139, 92, 246, 0.35);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Locked list item interactive cursor */
.locked-item-clickable {
  cursor: pointer;
  transition: var(--transition);
}

.locked-item-clickable:hover .blurred-text {
  opacity: 0.75;
  filter: blur(1.8px);
}

.locked-item-clickable:hover .lock-badge {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.45) 0%, rgba(236, 72, 153, 0.45) 100%);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
  transform: scale(1.04);
}

.score-inner {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.score-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.score-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.lead-capture-box {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.03) 100%);
  border: 2px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.15), inset 0 0 20px rgba(139, 92, 246, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  margin-top: 40px;
  animation: border-pulse 4s infinite alternate;
}

@keyframes border-pulse {
  0% {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
  }
  100% {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 45px rgba(6, 182, 212, 0.25);
  }
}

.lead-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  white-space: nowrap;
}

.form-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  text-align: center;
}

.form-content p {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px auto;
}

#lead-form {
  max-width: 500px;
  margin: 0 auto;
}

.lead-inputs {
  margin-bottom: 20px;
}

.lead-inputs .input-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.lead-inputs .input-wrapper:focus-within {
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.lead-inputs input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 12px 12px 48px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  font-family: var(--font-sans);
}

.lead-inputs .input-icon {
  left: 16px;
}

.lead-terms-notice {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
  line-height: 1.4;
}

.lead-terms-notice a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
}

.lead-terms-notice a:hover {
  text-decoration: underline;
}

/* --- STEP 4: SUCCESS SCREEN --- */
.success-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--accent-green);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--accent-green-glow);
  animation: fillChecked .4s ease-in-out .4s forwards, scaleUp .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--accent-green);
  fill: none;
  animation: strokeCircle .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}

@keyframes fillChecked {
  100% { box-shadow: inset 0px 0px 0px 40px var(--accent-green-glow); }
}

@keyframes scaleUp {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.success-content h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.success-message {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 30px;
}

.success-details-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  margin-bottom: 30px;
}

.success-details-box p {
  font-size: 15px;
  margin-bottom: 12px;
}

.success-details-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.success-details-box li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.success-details-box li::before {
  content: '→';
  color: var(--accent-cyan);
  font-weight: bold;
}

.success-timeframe {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 30px;
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */
.benefits-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

.section-title-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 28px;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.benefit-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.benefit-icon-wrapper svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.benefit-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2),
  .benefit-card:nth-child(3) {
    grid-column: span 2;
  }
  .benefit-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .benefit-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 19, 0.5) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.process-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition);
}

.process-step:hover .process-number {
  color: var(--accent-cyan);
  transform: scale(1.05);
}

.process-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.process-content p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
}

.faq-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

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

.faq-answer p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  padding-bottom: 20px;
}

/* Active FAQ Item State */
.faq-item.active {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(139, 92, 246, 0.2);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary height to slide down */
  transition: max-height 0.35s ease-in, padding 0.35s ease-in;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--card-border);
  background: #03060c;
  padding: 60px 0 30px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 14px;
  max-width: 380px;
}

.footer-links h4 {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 12px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS OVERRIDES (PRO-UX)
   ========================================================================== */
@media (max-width: 600px) {
  /* Reduce card padding on mobile to maximize horizontal workspace */
  .step-card, .legal-card {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }

  /* Compact typography on small screens */
  h1, .hero-title {
    font-size: 28px !important;
  }
  h2, .section-title {
    font-size: 22px !important;
  }
  h3 {
    font-size: 18px !important;
  }
  
  /* Reduce general padding to make sections look cohesive */
  .hero-section {
    padding: 40px 0 60px 0 !important;
  }
}

@media (max-width: 520px) {
  /* Header adjustments to prevent text/button overflow and visual clutter */
  .site-header {
    padding: 10px 0 !important;
  }
  
  .logo {
    font-size: 14px !important;
    gap: 6px !important;
  }

  .logo-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .header-cta .btn {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 380px) {
  /* Hide header CTA on tiny viewports (like iPhone SE) to prevent logo wrapping */
  .header-cta {
    display: none !important;
  }
  .header-container {
    justify-content: center !important;
  }
}
