* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(to bottom, #ffffff, #eef2ff);
  color: #111;
  overflow-x: hidden;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: center;       /* horizontal center */
  text-align: center;
  padding: 0 20px;
}

.badge {
  color: #5b6cff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Main heading */
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 900px;
}

.hero h1 span {
  color: #5b6cff;
}

/* Subtitle */
.subtitle {
  margin-top: 18px;
  font-size: 18px;
  color: #555;
  max-width: 600px;
}

/* Buttons */
.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #5b6cff, #8b5cf6);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 12px 35px rgba(91,108,255,0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(91,108,255,0.6);
}

.btn-secondary {
  background: #ffffff;
  color: #111;
  border: 1px solid #ddd;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #f4f6ff;
}

/* ================= COMMON SECTIONS ================= */
section {
  padding: 90px 20px;
}

h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* ================= FEATURES ================= */
.features {
  background: #ffffff;
}

.feature-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* ================= HOW IT WORKS ================= */
.how {
  background: linear-gradient(to bottom, #f9fbff, #eef2ff);
}

.steps {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  width: 200px;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5b6cff, #8b5cf6);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 16px;
  color: #333;
}

/* ================= BENEFITS ================= */
.benefits {
  background: #ffffff;
}

.benefits ul {
  max-width: 500px;
  margin: auto;
  list-style: none;
}

.benefits li {
  font-size: 18px;
  margin: 14px 0;
  color: #333;
}

/* ================= CTA ================= */
.cta {
  background: linear-gradient(135deg, #5b6cff, #8b5cf6);
  color: #ffffff;
  text-align: center;
}

.cta h2 {
  color: #ffffff;
  margin-bottom: 25px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 16px;
  }
}

/* ================= USER DETAILS FORM ================= */

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Inputs & Select */
.card input,
.card select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid #dfe3f0;
  outline: none;
  transition: all 0.25s ease;
  background: #fafbff;
}

.card input:focus,
.card select:focus {
  border-color: #5b6cff;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.12);
}

/* Disabled Email */
.card input:disabled {
  background: #f2f4f8;
  color: #888;
  cursor: not-allowed;
}

/* Submit Button (reuse primary style but improve spacing) */
.card .btn-primary {
  margin-top: 10px;
  width: 100%;
  padding: 15px;
  font-size: 16px;
}

/* Small Screen Adjustments */
@media (max-width: 480px) {
  .card {
    padding: 24px;
  }
}

/* ================= DASHBOARD ================= */

.dashboard {
  display: flex;
  min-height: 100vh;
  background: #f4f6ff;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #111827;
  color: #fff;
  padding: 25px 20px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

.menu {
  list-style: none;
}

.menu li {
  padding: 12px 10px;
  margin-bottom: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s;
}

.menu li:hover {
  background: rgba(255,255,255,0.1);
}

.logout {
  margin-top: 20px;
  color: #ff7a7a;
}

/* Main Content */
.main {
  flex: 1;
  padding: 40px;
}

/* Cards */
.info-card {
  background: #fff;
  padding: 25px 30px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  max-width: 600px;
}

.info-card h2 span {
  color: #5b6cff;
}
