/* =========================
   1. RESET & VARIABLES
   ========================= */
* { box-sizing: border-box; }

body {
  margin: 0; padding: 0;
  font-family: 'Inter', sans-serif;
  /* Soft Purple-Blue Gradient Background */
  background: linear-gradient(135deg, #f5f3ff 0%, #e0e7ff 100%); 
  color: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   2. BACKGROUND AMBIENCE
   ========================= */
.bg-ambience {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5;
}
.blob-1 { top: -10%; left: -10%; width: 40%; height: 40%; background: rgba(167, 139, 250, 0.4); }
.blob-2 { bottom: 0%; right: 0%; width: 40%; height: 40%; background: rgba(129, 140, 248, 0.4); }

/* =========================
   3. NAVBAR
   ========================= */
.navbar {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  width: 100%;
}
.nav-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}

.brand-pill-nav {
  display: flex; align-items: center; gap: 8px;
  background-color: #fbbf24; color: #1e3a8a;
  font-weight: 800; font-size: 16px; 
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}
.pill-logo-nav { height: 18px; width: auto; display: block; }

.nav-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  background: white; color: #2563eb; border: 1px solid #dbeafe;
  padding: 6px 14px; border-radius: 99px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* =========================
   4. LAYOUT CONTAINERS
   ========================= */
.main-container {
  width: 100%;
  flex: 1; 
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

/* Mobile Default: Stacked */
.desktop-grid {
  width: 100%;
  max-width: 450px; 
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* =========================
   5. LEFT COLUMN (Hero & Form)
   ========================= */
.left-column {
  display: flex; flex-direction: column; gap: 20px;
}

.hero-text { 
  text-align: center;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

h1 {
  font-size: 28px; font-weight: 800; line-height: 1.2; 
  margin: 0 0 10px; color: #0f172a;
}

.hero-brand-pill {
  display: inline-block;
  background-color: #fbbf24; color: #1e3a8a;
  font-size: 28px; font-weight: 900;
  padding: 2px 18px; border-radius: 40px; 
  transform: rotate(-2deg); 
  box-shadow: 0 6px 12px -3px rgba(251, 191, 36, 0.5);
  margin-top: 4px;
}

.subtitle {
  font-size: 15px; color: #475569; line-height: 1.6; 
  margin-top: 12px; margin-bottom: 0;
}
.text-dark { color: #2563eb; font-weight: 700; }

/* Form Card */
.form-card {
  background: white; border-radius: 20px; 
  padding: 24px; 
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  border: 1px solid #fff; 
  position: relative; overflow: hidden;
}
.card-gradient-top {
  position: absolute; top: 0; left: 0; width: 100%; height: 6px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.form-header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px;
}
.form-header h2 { margin: 0; font-size: 18px; font-weight: 800; color: #1e293b; }
.form-header p { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.icon-flame {
  background: #eff6ff; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

/* Inputs */
.input-wrapper { position: relative; margin-bottom: 12px; } 
.input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #94a3b8; font-size: 16px; z-index: 2;
}
.prefix {
  position: absolute; left: 38px; top: 50%; transform: translateY(-50%);
  font-size: 14px; font-weight: 600; color: #64748b; pointer-events: none; z-index: 2;
}
input, select {
  width: 100%; padding: 14px 14px 14px 38px; 
  background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #0f172a;
  outline: none; transition: all 0.2s; font-family: 'Inter', sans-serif; appearance: none;
}
input#phone { padding-left: 70px; }
input:focus, select:focus {
  border-color: #3b82f6; background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.dropdown-arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 12px; color: #94a3b8; pointer-events: none;
}

/* Button */
.gradient-btn {
  width: 100%; padding: 16px; 
  background: linear-gradient(90deg, #ec4899 0%, #3b82f6 100%);
  color: white;
  font-weight: 800; border-radius: 10px; border: none; font-size: 16px;
  cursor: pointer; transition: transform 0.1s, opacity 0.2s; margin-top: 10px;
  box-shadow: 0 4px 10px -2px rgba(236, 72, 153, 0.4);
}
.gradient-btn:active { transform: scale(0.98); }
.gradient-btn:disabled { 
  background: #e2e8f0; color: #94a3b8; cursor: not-allowed; box-shadow: none; opacity: 0.7;
}

/* Checkbox */
.consent-row {
  display: flex; gap: 8px; align-items: center; justify-content: flex-start;
  font-size: 12px; color: #475569; font-weight: 500;
  margin-bottom: 0; cursor: pointer; padding: 6px 0;
}
.consent-row input {
  width: 16px; height: 16px; 
  accent-color: #2563eb; margin: 0; cursor: pointer;
  border-radius: 0; /* Square */
  -webkit-appearance: checkbox;
}

/* =========================
   6. RIGHT COLUMN (Toppers)
   ========================= */
.right-column {
  display: flex; flex-direction: column; gap: 16px;
}

/* Card Common Style (Yellow) */
.topper-card {
  background-color: #fffbeb; 
  border: 2px solid #fcd34d; 
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.1);
  display: flex; flex-direction: column; 
}

/* Hall of Fame */
.hall-of-fame-card {
  gap: 12px;
}
.hof-header {
  font-size: 16px; font-weight: 800; color: #b45309; 
  margin-bottom: 4px; display: flex; align-items: center; gap: 6px;
}
.hof-row { display: flex; align-items: center; gap: 12px; }
.rank-badge {
  background: #fbbf24; color: #1e3a8a; 
  font-size: 12px; font-weight: 800; 
  padding: 5px 12px; border-radius: 6px;
  min-width: 60px; text-align: center;
}
.topper-name { font-size: 14px; font-weight: 600; color: #1e293b; }

/* Feature Cards Grid */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.feature-card {
  align-items: center; text-align: center;
  padding: 24px 16px;
}
.card-emoji { font-size: 28px; margin-bottom: 10px; line-height: 1; }
.feature-card p {
  font-size: 13px; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.4;
}

/* =========================
   7. WEB VIEW (Desktop)
   ========================= */
@media (min-width: 900px) {
  .desktop-grid {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: start;
  }

  /* Left Column Alignment */
  .hero-text { 
    text-align: left;
    margin-bottom: 20px;
  }
  
  h1 { font-size: 36px; }
  .hero-brand-pill { font-size: 34px; padding: 2px 24px; }
  .subtitle { font-size: 16px; max-width: 90%; }
  
  /* Right Column Layout - ALIGNMENT FIX */
  .right-column {
    margin-top: 45px; /* Pushes it down to align with the "NEETprep" entry */
  }
  
  .hall-of-fame-card {
    padding: 30px;
  }
  
  .features-grid {
    gap: 20px;
  }
}

/* Footer */
footer {
  border-top: 1px solid #e2e8f0; padding: 20px; 
  text-align: center; font-size: 12px; color: #94a3b8; 
  background: white; width: 100%; margin-top: auto;
}