@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --primary-dark: #3D52A0;
  --primary-medium: #7091E6;
  --secondary: #8697C4;
  --light-bg: #ADBBDA;
  --page-bg: #EDE8F5;
  --cta: #FBBF24;
  --cta-hover: #F59E0B;
  --text-dark: #1E1B2E;
  --text-muted: #5a6785;
  --success: #10B981;
  --error: #EF4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(180deg, var(--page-bg) 0%, var(--light-bg) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-dark);
}

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

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

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* =======================
   NAVIGATION
   ======================= */
.nav {
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 82, 160, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo .logo-image {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

/* =======================
   HERO SECTION
   ======================= */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 64px 100px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: inline-block;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  z-index: 0;
}

.floating-shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--secondary) 100%);
  opacity: 0.15;
  top: -100px;
  left: -150px;
}

.floating-shape-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-hover) 100%);
  opacity: 0.1;
  top: 150px;
  right: -80px;
  animation-delay: 3s;
}

/* =======================
   LEAD FORM
   ======================= */
.lead-form-container {
  position: relative;
}

.lead-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(61, 82, 160, 0.15);
  border: 1px solid rgba(61, 82, 160, 0.1);
}

.form-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-medium);
  box-shadow: 0 0 0 3px rgba(112, 145, 230, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.submit-button {
  width: 100%;
  background: var(--cta);
  color: var(--text-dark);
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Manrope', sans-serif;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
  background: var(--cta-hover);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* =======================
   SECTIONS
   ======================= */
.section-label {
  text-align: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label.light {
  color: var(--light-bg);
}

.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 60px;
  letter-spacing: -1px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

/* =======================
   METRICS SECTION
   ======================= */
.metrics {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 64px 100px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(61, 82, 160, 0.1);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61, 82, 160, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.metric-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.metric-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

/* =======================
   HOW IT WORKS SECTION
   ======================= */
.how-it-works {
  background: white;
  padding: 100px 64px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--page-bg) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 1px solid rgba(61, 82, 160, 0.1);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61, 82, 160, 0.12);
}

.step-number {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: var(--cta);
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 800;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =======================
   FEATURES SECTION
   ======================= */
.features {
  background: var(--primary-dark);
  padding: 100px 64px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: white;
  margin-bottom: 60px;
  letter-spacing: -1px;
}

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

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(61, 82, 160, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(61, 82, 160, 0.2);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =======================
   CTA SECTION
   ======================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
  padding: 100px 64px;
  text-align: center;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--page-bg);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: var(--cta);
  color: var(--text-dark);
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
  font-family: 'Manrope', sans-serif;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
  background: var(--cta-hover);
}

.cta-button.large {
  padding: 18px 48px;
  font-size: 17px;
}

/* =======================
   FOOTER
   ======================= */
.footer {
  background: var(--text-dark);
  padding: 60px 64px;
  color: var(--light-bg);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo .footer-logo-image {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-copyright {
  font-size: 14px;
  color: var(--secondary);
}

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr 400px;
    gap: 40px;
  }

  .hero-title {
    font-size: 42px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-content {
    padding: 0 24px;
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .hero {
    padding: 40px 24px 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .lead-form {
    padding: 32px 24px;
  }

  .metrics {
    padding: 60px 24px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-it-works {
    padding: 60px 24px;
  }

  .section-inner {
    padding: 0 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features {
    padding: 60px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title,
  .features-title,
  .cta-title {
    font-size: 28px;
  }

  .cta-section {
    padding: 60px 24px;
  }

  .footer {
    padding: 40px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .form-title {
    font-size: 24px;
  }

  .metric-value {
    font-size: 36px;
  }

  .section-title,
  .features-title,
  .cta-title {
    font-size: 24px;
  }

  .lead-form {
    padding: 24px 20px;
  }
}