:root {
  /* Colors - Light Theme */
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.2);
  --accent: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --danger: #dc2626;
  --success: #059669;
  --border: #e2e8f0;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --section-padding: 80px 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  line-height: 1.1;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.nav ul {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  font-weight: 500;
  color: var(--text-muted);
}

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

.header-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Before/After Slider */
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
  border: 4px solid #fff;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.img-after {
  background-image: url('car_after.png');
  background-size: cover;
  background-position: center;
}

/* img-before fills the FULL container — clip-path reveals only the left portion */
.img-before {
  background-image: url('car_before.png');
  background-size: cover;
  background-position: center;
  clip-path: inset(0 50% 0 0);
}

/* Divider line */
.slider-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  z-index: 9;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
}

/* Slider labels */
.slider-label {
  position: absolute;
  top: 20px;
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 5;
  pointer-events: none;
}

.label-before { left: 16px; }
.label-after  { right: 16px; }

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 100%;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.handle-circle {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.handle-circle svg {
  width: 20px;
  height: 20px;
  color: #374151;
}

/* Sections */
section {
  padding: var(--section-padding);
}

/* Pain */
.pain {
  background: var(--bg-alt);
  padding: 120px 0 80px;
}

.pain-card {
  background: var(--surface);
  padding: 60px;
  border-radius: 40px;
  border: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.pain-question {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  opacity: 0.9;
}

.pain-cta {
  margin-top: 3rem;
  font-size: 1.25rem;
  color: var(--primary);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* Agitation */
.agitation {
  padding: 100px 0;
}

.agitation-content {
  max-width: 800px;
  margin: 0 auto;
}

.agitation-stat {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.agitation-text {
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.agitation-heading {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.agitation-list {
  padding-left: 1.5rem;
}

.agitation-list li {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.agitation-list li::marker {
  color: var(--primary);
  font-weight: 800;
}

/* Solution Intro */
.solution-intro {
  padding: 120px 0;
  background: var(--bg-alt);
  text-align: center;
}

.solution-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.5rem;
  color: var(--text-main);
}

.solution-highlight {
  margin-top: 2rem;
  color: var(--primary);
  font-size: 1.75rem;
}

/* How it Works */
.how-it-works {
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 20px var(--primary-glow);
}

/* Benefits Bar */
.benefits-bar {
  background: var(--text-main);
  color: #fff;
  padding: 100px 0;
}

.benefits-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: #fff;
}

.benefits-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.benefit-item .large {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  color: var(--accent);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  padding: 50px 30px;
  border-radius: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: 0.4s;
}

.price-card.featured {
  background: #fff;
  border: 3px solid var(--primary);
  transform: scale(1.05);
  box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.15);
  position: relative;
}

.featured-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
}

.price-name {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.price-value {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.price-value span {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-features {
  margin-bottom: 3rem;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

/* FAQ */
.faq {
  background: var(--bg-alt);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

/* CTA benefits recap */
.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  padding: 28px 40px;
  background: var(--bg-alt);
  border-radius: 20px;
  border: 1px solid var(--border);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-benefit-value {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-benefit-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Lead Form */
.lead-form {
  padding: 120px 0;
}

.lead-form-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -40px auto 60px;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.demo-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-alt);
  padding: 50px;
  border-radius: 32px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.form-hint {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500 !important;
  transition: 0.3s;
}

.radio-label:hover {
  border-color: var(--primary);
}

.btn-submit {
  width: 100%;
  margin-top: 20px;
  padding: 20px;
}

.form-success {
  text-align: center;
  padding: 60px;
  background: var(--bg-alt);
  border-radius: 32px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--success);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 30px;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-bottom: 3rem;
  color: var(--text-muted);
}

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

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { animation-delay: 0.1s; }
[data-delay="2"] { animation-delay: 0.2s; }
[data-delay="3"] { animation-delay: 0.3s; }
[data-delay="4"] { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 3rem; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-title { font-size: 3.5rem; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: scale(1); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .problem-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .benefits-grid { flex-direction: column; gap: 40px; }
}
