/* ── Reset & Base ────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(59, 130, 246, 0.10);
  --shadow-lg: 0 10px 40px rgba(59, 130, 246, 0.12);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ──────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-right: 32px;
}

.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.nav-cta {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--blue-600);
  padding: 10px 22px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

/* ── Hero Section ────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 200px 0 140px;
  background: linear-gradient(175deg, var(--white) 0%, var(--blue-50) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(80px);
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--blue-200);
  top: -120px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: var(--blue-400);
  bottom: -60px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--blue-100);
  top: 40%;
  left: 55%;
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease-out;
  border: 1px solid var(--blue-200);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  color: var(--blue-600);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: -4px;
  bottom: 2px;
  width: calc(100% + 8px);
  height: 10px;
  background: var(--blue-200);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  padding: 20px 48px;
  font-size: 1.2rem;
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.35);
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  z-index: -1;
  opacity: 0.5;
  filter: blur(12px);
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37, 99, 235, 0.45);
}

.btn-lg {
  padding: 22px 52px;
  font-size: 1.25rem;
}

.btn-arrow {
  transition: transform 0.2s;
}

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

/* ── Hero Highlights ─────────────────────── */
.hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 72px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
  flex-wrap: wrap;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.hero-highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.highlight-icon {
  font-size: 1.3rem;
}

.highlight-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ── Features Section ────────────────────── */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Enroll CTA Section ──────────────────── */
.form-section {
  padding: 100px 0;
  background: var(--blue-50);
}

.enroll-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.btn-enroll-large {
  padding: 22px 56px;
  font-size: 1.3rem;
}

/* ── Payment Section ─────────────────────── */
.payment-section {
  padding: 100px 0;
  background: var(--white);
}

.payment-container {
  display: flex;
  justify-content: center;
}

.payment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
  background: var(--blue-50);
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue-600);
  border: 6px solid var(--blue-100);
}

.payment-card .section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.payment-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  font-weight: 500;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.trust-badge {
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.payment-description strong {
  font-size: 1.4rem;
  color: var(--blue-600);
}

.payment-steps {
  width: 100%;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--gray-50);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text {
  font-size: 1rem;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.4;
}

.step-text strong {
  color: var(--gray-900);
  font-weight: 700;
}

.btn-pay {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.payment-details {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px dashed var(--gray-200);
}

.payment-details.show {
  display: flex;
  animation: fadeInUp 0.4s ease-out;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  background: var(--white);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.qr-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.qr-image-wrapper {
  background: var(--white);
  padding: 8px;
  border: 2px dashed var(--gray-200);
  border-radius: 12px;
  display: inline-flex;
}

.qr-code-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.upi-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}

.upi-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.upi-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 14px;
}

.upi-id {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 0.5px;
}

.copy-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.copy-btn:hover {
  background: var(--gray-100);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  font-size: 1.05rem;
  padding: 16px 24px;
  margin-top: 8px;
}

.btn-whatsapp:hover {
  background: #20C05C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* ── Footer ──────────────────────────────── */
.footer {
  padding: 32px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

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

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .nav-container {
    height: 74px;
  }

  .brand-logo {
    height: 50px;
  }

  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-highlights {
    gap: 10px;
  }

  .hero-highlight-item {
    padding: 10px 16px;
  }

  .highlight-text {
    font-size: 0.82rem;
  }

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

  .section-title {
    font-size: 1.6rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 64px;
  }

  .brand-logo {
    height: 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 16px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .hero-highlights {
    gap: 8px;
  }

  .hero-highlight-item {
    padding: 10px 14px;
  }
}
