/* ========================================================= 
   PREMIUM SUB-SITES UNIFIED STYLES
   For CLAT, IPMAT, and CUET Pages
========================================================= */

:root {
  /* Brand Colors */
  --primary: #f26d21;
  --primary-dark: #d95a12;
  --primary-light: rgba(242, 109, 33, 0.08);
  
  /* Text & Backgrounds */
  --text-dark: #111827;
  --text-muted: #4b5563;
  --bg-light: #f9fafb;
  --bg-alt: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  
  /* Styling Tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08);
  --shadow-primary: 0 10px 25px -5px rgba(242, 109, 33, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ========================================================= 
   UTILITIES
========================================================= */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a45 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-pill {
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 20px;
}

.section-padding { padding: 100px 0; }
.bg-light-alt { background-color: var(--bg-alt); }

/* ========================================================= 
   HERO SECTIONS
========================================================= */
.hero-premium {
  background: linear-gradient(135deg, #fffaf7 0%, var(--white) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Abstract Background Blob */
.hero-premium::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242,109,33,0.06) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-premium .container { position: relative; z-index: 1; }

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

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}

.hero-features li i {
  color: var(--primary);
  font-size: 18px;
}

.hero-image-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  text-align: center;
  position: relative;
  transform: translateY(0);
  transition: transform var(--transition-normal);
}

.hero-image-card:hover {
  transform: translateY(-5px);
}

.hero-image-card img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.hero-image-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ========================================================= 
   COURSE CARDS (PROGRAMS PAGE)
========================================================= */
.programs-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.programs-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.programs-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-bar select {
  appearance: none;
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 12px 40px 12px 20px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.filter-bar select:hover, .filter-bar select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.course-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.card-premium {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-banner {
  height: 140px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-text {
  background: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.card-features li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-features li::before {
  content: '\f00c';
  font-family: 'FontAwesome';
  color: #10b981;
  font-size: 12px;
  background: #d1fae5;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-premium {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: var(--bg-alt);
  color: var(--text-dark);
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-premium:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.card-premium.popular {
  border: 2px solid var(--primary);
}

.card-premium.popular .banner-text {
  background: var(--primary);
  color: var(--white);
}

.card-premium.popular .btn-premium {
  background: var(--primary);
  color: var(--white);
}

.card-premium.popular .btn-premium:hover {
  background: var(--primary-dark);
}

/* ========================================================= 
   CONFIGURATOR (ENROLL PAGES)
========================================================= */
.config-container {
  max-width: 1000px;
  margin: 0 auto;
}

.config-header {
  text-align: center;
  margin-bottom: 50px;
}

.config-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.config-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.config-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  background: var(--primary-light);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

/* Custom Radio Cards */
.radio-card-label {
  display: block;
  cursor: pointer;
  margin-bottom: 16px;
}

.radio-card-label:last-child {
  margin-bottom: 0;
}

.radio-card-label input[type="radio"] {
  display: none;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  background: var(--white);
}

.radio-card:hover {
  border-color: #d1d5db;
  background: var(--bg-light);
}

.radio-card-label input[type="radio"]:checked + .radio-card {
  border-color: var(--primary);
  background: var(--primary-light);
}

.radio-check {
  width: 24px;
  height: 24px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.radio-card-label input[type="radio"]:checked + .radio-card .radio-check {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.radio-check i {
  font-size: 12px;
}

.radio-content {
  flex-grow: 1;
}

.radio-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.radio-desc {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Pricing Summary Sticky Card */
.summary-sticky {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.summary-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row span:last-child {
  font-weight: 700;
  color: var(--text-dark);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px dashed var(--border);
  font-size: 1.5rem;
  font-weight: 800;
}

.summary-total .price-amount {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
}

.checkout-form {
  margin-top: 30px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color var(--transition-fast);
  background: var(--bg-light);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-checkout {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a45 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(242, 109, 33, 0.4);
}

.secure-badge {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.secure-badge i {
  color: #10b981;
}

/* ========================================================= 
   RESPONSIVE DESIGN 
========================================================= */
@media (max-width: 991px) {
  .hero-title { font-size: 2.5rem; }
  .config-layout { grid-template-columns: 1fr; }
  .summary-sticky { position: static; margin-top: 30px; }
  .course-grid-premium { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hero-premium { padding: 60px 0 80px; text-align: center; }
  .hero-features { align-items: flex-start; text-align: left; }
  .hero-image-card { margin-top: 40px; }
  .programs-header h1 { font-size: 2rem; }
  .config-header h2 { font-size: 2rem; }
  .radio-card { flex-direction: column; text-align: center; gap: 12px; }
  .radio-check { margin: 0 auto; }
}
