:root {
  --primary: #4ea8de;
  --secondary: #7400b8;
  --dark: #1f1f1f;
  --light: #f9f9f9;
  --brand:#0d6efd; --ink:#1f1f1f; --muted:#6b7280;
}

    * {
      box-sizing: border-box;
    }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fb;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Hero (aligned with generate_api/generate_ai) */
.hero-modern { position:relative; overflow:hidden; padding:60px 16px 28px; background: radial-gradient(1200px 600px at 80% -10%, rgba(13,110,253,0.18), transparent 60%), linear-gradient(180deg,#ffffff, #f7f9fc); }
.hero-modern .inner { max-width:1080px; margin:0 auto; display:flex; gap:22px; align-items:center; justify-content:space-between; }
.hero-kicker { display:inline-flex; gap:8px; align-items:center; padding:6px 10px; border-radius:999px; background:#eaf2ff; color:#174ea6; font-weight:600; font-size:0.8rem; }
.hero-title { font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height:1.1; color:var(--ink); margin:10px 0 8px; font-weight:800; }
.hero-sub { font-size:1rem; color:var(--muted); max-width:60ch; }

/* Mobile tweaks: stack hero content and center text, shrink illustration */
@media (max-width: 768px) {
  .hero-modern .inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .hero-modern .inner > div:first-child { width: 100%; }
  .hero-modern .inner [aria-hidden=true] lottie-player { max-width: 130px; }
}

/* Card container */
.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Modern card */
.card {
  background: #fff;
  padding: 2.0rem;
  border-radius: 16px;
  border:1px solid #e5e8ec;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  width: 100%;
  max-width: 720px;
  animation: fadeIn 0.8s ease-in-out;
}

    h2 {
      text-align: center;
      margin-bottom: 1.5rem;
      font-size: 2rem;
      color: var(--primary);
    }

    label {
      font-weight: 600;
    }

    .form-control {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #ccc;
      border-radius: 0.6rem;
      margin-bottom: 1rem;
      font-size: 1rem;
    }

    .form-check {
      margin-bottom: 1.5rem;
    }

    .form-check-label a {
      color: var(--secondary);
      text-decoration: underline;
    }

.btn-submit, .btn-secondary {
  background: var(--primary);
  color: white;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.btn-submit:hover, .btn-secondary:hover { filter: brightness(0.98); }

footer {
  text-align: center;
  padding: 1.2rem;
  background: var(--dark);
  color: white;
  font-size: 0.9rem;
}

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

    /* Stepper Styling */
.stepper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.step.active {
  background-color: var(--primary);
}

.step-labels {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
  color: #333;
  font-size: 0.9rem;
}

.stepper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

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

.step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.step.active {
  background-color: var(--primary);
}
