/* ==========================================================================
   CollegeSikta — Figma Design System & Responsive Stylesheet
   Desktop (1440px), Tablet (834px), Mobile (390px / 360px)
   ========================================================================== */

/* 1. CSS Variables & Reset */
:root {
  --cs-primary: #2563eb;
  --cs-primary-hover: #1d4ed8;
  --cs-primary-light: #eff6ff;
  --cs-primary-border: #bfdbfe;
  
  --cs-dark: #0f172a;
  --cs-dark-surface: #1e293b;
  --cs-dark-cta: #111c33;
  --cs-text-main: #0f172a;
  --cs-text-muted: #475569;
  --cs-text-light: #94a3b8;
  
  --cs-bg-body: #f8fafc;
  --cs-bg-card: #ffffff;
  --cs-border-subtle: #e2e8f0;
  --cs-border-input: #cbd5e1;
  
  --cs-cyan: #06b6d4;
  --cs-cyan-hover: #0891b2;
  --cs-emerald: #10b981;
  --cs-emerald-light: #ecfdf5;
  --cs-emerald-border: #a7f3d0;
  --cs-emerald-text: #047857;
  
  --cs-amber: #f59e0b;
  --cs-amber-light: #fffbeb;
  --cs-amber-border: #fde68a;
  --cs-amber-text: #b45309;
  
  --cs-red: #ef4444;
  --cs-red-light: #fef2f2;
  --cs-red-border: #fecaca;
  --cs-red-text: #b91c1c;

  --cs-radius-sm: 8px;
  --cs-radius-md: 12px;
  --cs-radius-lg: 16px;
  --cs-radius-xl: 20px;
  --cs-radius-2xl: 24px;
  
  --cs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --cs-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --cs-shadow-lg: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --cs-shadow-card: 0 2px 12px rgba(15, 23, 42, 0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

.cs-nav-container,
.cs-hero-container,
.cs-results-container,
.cs-stats-container,
.cs-steps-container,
.cs-colleges-container,
.cs-cta-container,
.cs-footer-container {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body.cs-body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--cs-bg-body);
  color: var(--cs-text-main);
  line-height: 1.5;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.cs-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.cs-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.cs-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.cs-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--cs-primary);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.cs-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cs-text-main);
}

.cs-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cs-nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--cs-text-muted);
  transition: color 0.15s ease;
  position: relative;
  padding: 0.4rem 0;
}

.cs-nav-link:hover,
.cs-nav-link.active {
  color: var(--cs-primary);
}

.cs-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cs-btn-login {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cs-text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--cs-radius-sm);
  transition: all 0.15s ease;
}

.cs-btn-login:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--cs-primary);
}

.cs-btn-getstarted {
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--cs-primary);
  color: #ffffff;
  padding: 0.55rem 1.35rem;
  border-radius: var(--cs-radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.cs-btn-getstarted:hover {
  background: var(--cs-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.cs-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.cs-toggle-line {
  width: 22px;
  height: 2px;
  background-color: var(--cs-text-main);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Drawer Menu */
.cs-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  overflow-y: auto;
}

.cs-mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.cs-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.cs-drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--cs-text-muted);
  cursor: pointer;
  padding: 4px;
}

.cs-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-drawer-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cs-text-main);
  padding: 0.65rem 0.5rem;
  border-radius: var(--cs-radius-sm);
  transition: all 0.15s ease;
}

.cs-drawer-link:hover {
  color: var(--cs-primary);
  background: var(--cs-primary-light);
}

.cs-drawer-divider {
  height: 1px;
  background: var(--cs-border-subtle);
  margin: 1rem 0;
}

.cs-drawer-btn {
  text-align: center;
  padding: 0.8rem;
  border-radius: var(--cs-radius-sm);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.cs-drawer-btn.primary {
  background: var(--cs-primary);
  color: #ffffff;
}

.cs-drawer-btn.outline {
  border: 1px solid var(--cs-border-input);
  color: var(--cs-text-main);
}

.cs-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cs-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   3. HERO SECTION & PREDICTION CARD
   ========================================================================== */
.cs-hero-section {
  padding: 4rem 2rem 3rem;
  max-width: 1320px;
  margin: 0 auto;
}

.cs-hero-container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Left Column */
.cs-hero-left {
  padding-top: 1rem;
}

.cs-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cs-primary-light);
  border: 1px solid var(--cs-primary-border);
  border-radius: 9999px;
  color: var(--cs-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cs-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cs-primary);
}

.cs-hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--cs-text-main);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.cs-hero-title-highlight {
  color: var(--cs-text-main);
  position: relative;
}

.cs-hero-subtitle {
  font-size: 1.05rem;
  color: var(--cs-text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 2rem;
}

.cs-hero-actions {
  margin-bottom: 2rem;
}

.cs-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border-radius: var(--cs-radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
}

.cs-btn-hero-primary:hover {
  background: var(--cs-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.cs-hero-microcopy {
  font-size: 0.82rem;
  color: var(--cs-text-light);
  margin-top: 0.75rem;
}

.cs-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--cs-border-subtle);
  border-radius: 9999px;
  display: inline-flex;
  box-shadow: var(--cs-shadow-sm);
}

.cs-avatar-stack {
  display: flex;
  align-items: center;
}

.cs-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
}

.cs-avatar:first-child {
  margin-left: 0;
}

.avatar-1 { background: #3b82f6; }
.avatar-2 { background: #8b5cf6; }
.avatar-3 { background: #10b981; }

.cs-proof-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cs-text-muted);
}

/* Right Column: Prediction Card */
.cs-prediction-card {
  background: var(--cs-bg-card);
  border: 1px solid var(--cs-border-subtle);
  border-radius: var(--cs-radius-xl);
  padding: 2.25rem;
  box-shadow: var(--cs-shadow-lg);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-prediction-card:hover {
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.12);
}

.cs-card-top-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--cs-primary-light);
  border: 1px solid var(--cs-primary-border);
  border-radius: 6px;
  color: var(--cs-primary-hover);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cs-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cs-text-main);
  margin-bottom: 0.35rem;
}

.cs-card-subtitle {
  font-size: 0.88rem;
  color: var(--cs-text-muted);
  margin-bottom: 1.5rem;
}

.cs-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cs-form-group {
  display: flex;
  flex-direction: column;
}

.cs-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
}

.cs-form-input,
.cs-form-select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: #ffffff;
  border: 1px solid var(--cs-border-input);
  border-radius: var(--cs-radius-md);
  font-size: 0.92rem;
  color: var(--cs-text-main);
  transition: all 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.cs-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' 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 0.85rem center;
  background-size: 14px;
  padding-right: 2.25rem;
  cursor: pointer;
}

.cs-form-input:focus,
.cs-form-select:focus {
  outline: none;
  border-color: var(--cs-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cs-field-error {
  font-size: 0.75rem;
  color: var(--cs-red);
  margin-top: 0.3rem;
  min-height: 16px;
  display: none;
}

.cs-field-error.active {
  display: block;
}

.cs-form-submit-wrap {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.cs-btn-predict-main {
  width: 100%;
  background: var(--cs-dark-surface);
  color: #ffffff;
  border: none;
  border-radius: var(--cs-radius-md);
  padding: 0.9rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.cs-btn-predict-main:hover {
  background: var(--cs-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.cs-btn-predict-main:active {
  transform: translateY(0);
}

.cs-btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: cs-spin 0.8s linear infinite;
}

.cs-btn-predict-main.loading .cs-btn-spinner {
  display: inline-block;
}

.cs-btn-predict-main.loading .cs-btn-text {
  opacity: 0.8;
}

@keyframes cs-spin {
  to { transform: rotate(360deg); }
}

.cs-form-disclaimer {
  font-size: 0.78rem;
  color: var(--cs-text-light);
  text-align: center;
  margin-top: 0.9rem;
  line-height: 1.4;
}

/* ==========================================================================
   4. DYNAMIC PREDICTION RESULTS CONTAINER
   ========================================================================== */
.cs-results-section {
  padding: 2.5rem 2rem 3rem;
  max-width: 1320px;
  margin: 0 auto;
}

.cs-results-container {
  background: #ffffff;
  border: 1px solid var(--cs-border-subtle);
  border-radius: var(--cs-radius-xl);
  padding: 2rem;
  box-shadow: var(--cs-shadow-md);
}

.cs-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cs-border-subtle);
  margin-bottom: 1.75rem;
}

.cs-results-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cs-text-main);
  letter-spacing: -0.01em;
}

.cs-results-meta {
  font-size: 0.85rem;
  color: var(--cs-text-muted);
  margin-top: 2px;
}

.cs-results-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cs-filter-chip {
  background: #f1f5f9;
  border: 1px solid transparent;
  color: var(--cs-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cs-filter-chip:hover {
  background: #e2e8f0;
  color: var(--cs-text-main);
}

.cs-filter-chip.active {
  background: var(--cs-primary);
  color: #ffffff;
  border-color: var(--cs-primary);
}

.cs-filter-chip.chip-safe.active {
  background: var(--cs-emerald);
  border-color: var(--cs-emerald);
}

.cs-filter-chip.chip-moderate.active {
  background: #0284c7;
  border-color: #0284c7;
}

.cs-filter-chip.chip-competitive.active {
  background: var(--cs-amber);
  border-color: var(--cs-amber);
}

.cs-filter-chip.chip-reach.active {
  background: var(--cs-red);
  border-color: var(--cs-red);
}

.cs-results-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--cs-text-muted);
}

.cs-sort-select {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--cs-border-input);
  border-radius: var(--cs-radius-sm);
  background: #ffffff;
  font-size: 0.84rem;
  color: var(--cs-text-main);
  cursor: pointer;
}

/* Loading Skeleton */
.cs-results-loading {
  padding: 2rem 0;
}

.cs-loading-spinner-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.cs-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--cs-primary);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: cs-spin 0.8s linear infinite;
}

.cs-loading-text {
  font-size: 0.92rem;
  color: var(--cs-text-muted);
  font-weight: 500;
}

.cs-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cs-skeleton-card {
  height: 180px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: cs-shimmer 1.5s infinite;
  border-radius: var(--cs-radius-lg);
}

@keyframes cs-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Error & Empty States */
.cs-results-error,
.cs-results-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.cs-error-icon,
.cs-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.cs-error-title,
.cs-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cs-text-main);
  margin-bottom: 0.4rem;
}

.cs-error-desc,
.cs-empty-desc {
  font-size: 0.88rem;
  color: var(--cs-text-muted);
  max-width: 480px;
  margin: 0 auto 1.25rem;
}

.cs-btn-retry {
  background: var(--cs-primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--cs-radius-sm);
  font-weight: 600;
  cursor: pointer;
}

/* Results Grid & Cards */
.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cs-result-card {
  background: #ffffff;
  border: 1px solid var(--cs-border-subtle);
  border-radius: var(--cs-radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cs-result-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.cs-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.85rem;
}

.cs-chance-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cs-chance-safe {
  background: var(--cs-emerald-light);
  border: 1px solid var(--cs-emerald-border);
  color: var(--cs-emerald-text);
}

.cs-chance-moderate {
  background: var(--cs-primary-light);
  border: 1px solid var(--cs-primary-border);
  color: var(--cs-primary-hover);
}

.cs-chance-competitive {
  background: var(--cs-amber-light);
  border: 1px solid var(--cs-amber-border);
  color: var(--cs-amber-text);
}

.cs-chance-reach {
  background: var(--cs-red-light);
  border: 1px solid var(--cs-red-border);
  color: var(--cs-red-text);
}

.cs-college-code-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cs-text-light);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
}

.cs-result-college-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cs-text-main);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.cs-result-branch-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cs-primary);
  margin-bottom: 1rem;
}

.cs-result-data-box {
  background: #f8fafc;
  border: 1px solid var(--cs-border-subtle);
  border-radius: var(--cs-radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cs-data-item {
  display: flex;
  flex-direction: column;
}

.cs-data-label {
  font-size: 0.7rem;
  color: var(--cs-text-light);
  text-transform: uppercase;
  font-weight: 600;
}

.cs-data-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cs-text-main);
}

.cs-result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cs-border-subtle);
}

.cs-result-allotment-note {
  font-size: 0.76rem;
  color: var(--cs-text-light);
}

.cs-btn-view-details {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cs-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cs-results-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cs-border-subtle);
}

.cs-results-note {
  font-size: 0.9rem;
  color: var(--cs-text-muted);
}

.cs-btn-open-full {
  background: var(--cs-primary-light);
  border: 1px solid var(--cs-primary-border);
  color: var(--cs-primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--cs-radius-sm);
  transition: all 0.15s ease;
}

.cs-btn-open-full:hover {
  background: var(--cs-primary);
  color: #ffffff;
}

/* ==========================================================================
   5. STATS ROW (4 CARDS)
   ========================================================================== */
.cs-stats-section {
  padding: 2.5rem 2rem 3rem;
  max-width: 1320px;
  margin: 0 auto;
}

.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cs-stat-card {
  background: var(--cs-bg-card);
  border: 1px solid var(--cs-border-subtle);
  border-radius: var(--cs-radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--cs-shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cs-stat-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.cs-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-blue { color: var(--cs-primary); }
.stat-skyblue { color: #0284c7; }
.stat-emerald { color: var(--cs-emerald-text); }
.stat-amber { color: var(--cs-amber-text); }

.cs-stat-label {
  font-size: 0.92rem;
  color: var(--cs-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   6. HOW IT WORKS (A CLEARER WAY TO PLAN)
   ========================================================================== */
.cs-steps-section {
  padding: 4rem 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

.cs-section-header {
  margin-bottom: 2.5rem;
}

.cs-section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cs-text-main);
  margin-bottom: 0.5rem;
}

.cs-section-subtitle {
  font-size: 1rem;
  color: var(--cs-text-muted);
  line-height: 1.5;
}

.cs-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cs-step-card {
  background: var(--cs-bg-card);
  border: 1px solid var(--cs-border-subtle);
  border-radius: var(--cs-radius-xl);
  padding: 2rem;
  box-shadow: var(--cs-shadow-card);
  transition: all 0.2s ease;
}

.cs-step-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--cs-shadow-md);
  transform: translateY(-2px);
}

.cs-step-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--cs-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.step-badge-blue {
  background: var(--cs-primary-light);
  color: var(--cs-primary);
  border: 1px solid var(--cs-primary-border);
}

.step-badge-purple {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.step-badge-emerald {
  background: var(--cs-emerald-light);
  color: var(--cs-emerald-text);
  border: 1px solid var(--cs-emerald-border);
}

.cs-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cs-text-main);
  margin-bottom: 0.6rem;
}

.cs-step-description {
  font-size: 0.92rem;
  color: var(--cs-text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   7. EXPLORE ENGINEERING COLLEGES
   ========================================================================== */
.cs-colleges-section {
  padding: 2.5rem 2rem 4rem;
  max-width: 1320px;
  margin: 0 auto;
}

.cs-colleges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cs-college-card {
  background: var(--cs-bg-card);
  border: 1px solid var(--cs-border-subtle);
  border-radius: var(--cs-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--cs-shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.cs-college-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--cs-shadow-md);
  transform: translateY(-2px);
}

.cs-college-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cs-college-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cs-primary);
  background: var(--cs-primary-light);
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.cs-college-info {
  flex: 1;
}

.cs-college-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cs-text-main);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.cs-college-location {
  font-size: 0.82rem;
  color: var(--cs-text-light);
}

.cs-college-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.cs-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
}

.tag-green {
  background: var(--cs-emerald-light);
  color: var(--cs-emerald-text);
  border: 1px solid var(--cs-emerald-border);
}

.tag-blue {
  background: var(--cs-primary-light);
  color: var(--cs-primary-hover);
  border: 1px solid var(--cs-primary-border);
}

.tag-purple {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.tag-neutral {
  background: #f1f5f9;
  color: #475569;
}

.cs-college-card-action {
  border-top: 1px solid var(--cs-border-subtle);
  padding-top: 0.75rem;
}

.cs-link-action {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cs-primary);
}

/* ==========================================================================
   8. CALL TO ACTION BANNER
   ========================================================================== */
.cs-cta-section {
  padding: 1.5rem 2rem 4rem;
  max-width: 1320px;
  margin: 0 auto;
}

.cs-cta-card {
  background: var(--cs-dark-cta);
  border-radius: var(--cs-radius-2xl);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.4);
}

.cs-cta-left {
  max-width: 650px;
}

.cs-cta-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.cs-cta-subtitle {
  font-size: 1rem;
  color: #94a3b8;
}

.cs-btn-cta-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-cyan);
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: var(--cs-radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
}

.cs-btn-cta-teal:hover {
  background: var(--cs-cyan-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.cs-footer {
  border-top: 1px solid var(--cs-border-subtle);
  background: #ffffff;
  padding: 2.5rem 2rem;
}

.cs-footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cs-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cs-text-main);
}

.cs-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.cs-footer-links a {
  font-size: 0.88rem;
  color: var(--cs-text-muted);
  transition: color 0.15s ease;
}

.cs-footer-links a:hover {
  color: var(--cs-primary);
}

.cs-footer-copyright {
  font-size: 0.84rem;
  color: var(--cs-text-light);
}

/* ==========================================================================
   10. MOBILE FIXED BOTTOM NAVIGATION BAR
   ========================================================================== */
.cs-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--cs-border-subtle);
  z-index: 900;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.cs-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--cs-text-light);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--cs-radius-sm);
  transition: all 0.15s ease;
}

.cs-bottom-icon {
  width: 20px;
  height: 20px;
}

.cs-bottom-nav-item.active,
.cs-bottom-nav-item:hover {
  color: var(--cs-primary);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (Desktop, Tablet 834px, Mobile 390px / 360px)
   ========================================================================== */

/* Tablet (834px & Screens <= 1024px) */
@media (max-width: 1024px) {
  .cs-nav-links {
    display: none;
  }

  .cs-mobile-toggle {
    display: flex;
  }

  .cs-hero-section {
    padding: 2.5rem 1.5rem 2rem;
  }

  .cs-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cs-hero-left {
    padding-top: 0;
    max-width: 680px;
  }

  .cs-hero-title {
    font-size: 2.6rem;
  }

  .cs-prediction-card {
    max-width: 100%;
    padding: 2rem;
  }

  .cs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .cs-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cs-colleges-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cs-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
  }

  .cs-cta-left {
    max-width: 100%;
  }
}

/* Mobile Screens (<= 767px, 390px, 360px) */
@media (max-width: 767px) {
  body.cs-body {
    padding-bottom: 74px; /* Space for bottom nav bar */
  }

  .cs-mobile-bottom-nav {
    display: flex;
  }

  .cs-nav-container {
    padding: 0 1rem;
    height: 60px;
  }

  .cs-logo-text {
    font-size: 1.15rem;
  }

  .cs-btn-login,
  .cs-btn-getstarted {
    display: none;
  }

  .cs-mobile-toggle {
    display: flex;
  }

  .cs-hero-section {
    padding: 1.5rem 1rem 1.25rem;
  }

  .cs-hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .cs-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .cs-social-proof {
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 0.6rem 0.9rem;
    gap: 8px;
  }

  .cs-proof-text {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .cs-prediction-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--cs-radius-lg);
  }

  .cs-card-title {
    font-size: 1.25rem;
  }

  .cs-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cs-stats-section,
  .cs-steps-section,
  .cs-colleges-section,
  .cs-cta-section,
  .cs-results-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cs-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .cs-stat-card {
    padding: 1.25rem 1rem;
    border-radius: var(--cs-radius-md);
  }

  .cs-stat-number {
    font-size: 1.75rem;
  }

  .cs-stat-label {
    font-size: 0.8rem;
  }

  .cs-section-title {
    font-size: 1.5rem;
  }

  .cs-results-container {
    padding: 1.25rem;
  }

  .cs-results-grid {
    grid-template-columns: 1fr;
  }

  .cs-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .cs-results-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-results-filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .cs-cta-card {
    padding: 2rem 1.25rem;
    border-radius: var(--cs-radius-xl);
  }

  .cs-cta-title {
    font-size: 1.45rem;
  }

  .cs-footer {
    padding: 2rem 1rem;
    text-align: center;
  }

  .cs-footer-container {
    flex-direction: column;
    gap: 1.25rem;
  }

  .cs-footer-links {
    justify-content: center;
    gap: 1rem;
  }
}

/* Extra Compact Phones (360px & below) */
@media (max-width: 360px) {
  .cs-hero-title {
    font-size: 1.75rem;
  }

  .cs-stats-grid {
    grid-template-columns: 1fr;
  }

  .cs-btn-predict-main {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
}


/* ==========================================================================
   ADDITIONAL MASTER PROMPT SECTIONS (FIGMA LIGHT DESIGN SYSTEM)
   ========================================================================== */

/* --- 6. Features Grid Section --- */
.cs-features-section {
  padding: 4.5rem 0;
  background: var(--cs-bg-body, #f8fafc);
}

.cs-features-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cs-feature-card {
  background: #ffffff;
  border: 1px solid var(--cs-border, #e2e8f0);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.cs-feature-card:hover {
  border-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.cs-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cs-feature-icon.icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.cs-feature-icon.icon-cyan {
  background: #ecfeff;
  color: #0891b2;
}

.cs-feature-icon.icon-purple {
  background: #faf5ff;
  color: #9333ea;
}

.cs-feature-icon.icon-emerald {
  background: #ecfdf5;
  color: #059669;
}

.cs-feature-icon.icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.cs-feature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.cs-feature-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cs-feature-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.cs-feature-link:hover {
  gap: 8px;
}

/* --- 7. Weekly Test Series Showcase --- */
.cs-weekly-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.cs-weekly-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-weekly-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.cs-weeks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cs-week-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.cs-week-card.active-week {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.cs-week-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-week-num {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.cs-week-num.text-blue {
  color: #2563eb;
}

.cs-week-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
}

.badge-done {
  background: #ecfdf5;
  color: #059669;
}

.badge-live {
  background: #eff6ff;
  color: #2563eb;
}

.badge-locked {
  background: #f1f5f9;
  color: #94a3b8;
}

.cs-week-topic {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.cs-btn-week {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
}

.btn-done {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.btn-live {
  background: #2563eb;
  color: #ffffff;
}

.btn-locked {
  background: transparent;
  color: #94a3b8;
}

.cs-sample-q-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
}

.cs-sample-q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cs-q-timer {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.cs-sample-q-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cs-sample-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.cs-sample-opt {
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #334155;
  font-weight: 500;
}

.cs-sample-opt.correct-opt {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
  font-weight: 600;
}

.cs-sample-q-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- 9. Testimonials Section --- */
.cs-testimonials-section {
  padding: 4.5rem 0;
  background: #f8fafc;
}

.cs-testimonials-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cs-testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cs-testi-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.cs-testi-quote {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.cs-testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cs-testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.cs-testi-avatar.av-1 { background: #2563eb; }
.cs-testi-avatar.av-2 { background: #06b6d4; }
.cs-testi-avatar.av-3 { background: #8b5cf6; }

.cs-testi-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.cs-testi-rank {
  font-size: 0.8rem;
  color: #64748b;
}

/* --- 10. Pricing Section --- */
.cs-pricing-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.cs-pricing-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.cs-pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.cs-pricing-card.featured {
  border: 2px solid #2563eb;
  position: relative;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12);
}

.cs-plan-popular-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.cs-plan-header {
  margin-bottom: 1.75rem;
}

.cs-plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.cs-plan-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.25rem;
  min-height: 40px;
}

.cs-plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.cs-plan-price span {
  font-size: 0.92rem;
  font-weight: 500;
  color: #64748b;
}

.cs-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.cs-plan-features li {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-plan-features li.disabled {
  color: #94a3b8;
  text-decoration: line-through;
}

.cs-btn-plan {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  box-sizing: border-box;
}

.cs-btn-plan.primary {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.cs-btn-plan.outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.cs-btn-plan:hover {
  transform: translateY(-1px);
}

/* --- 11. FAQ Accordion Section --- */
.cs-faq-section {
  padding: 4.5rem 0;
  background: #f8fafc;
}

.cs-faq-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cs-faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.cs-faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.cs-faq-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: #64748b;
}

.cs-faq-card.open .cs-faq-chevron {
  transform: rotate(180deg);
  color: #2563eb;
}

.cs-faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

.cs-faq-card.open .cs-faq-answer {
  display: block;
}

/* --- 13. Comprehensive 4-Column Footer --- */
.cs-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 4.5rem 0 2rem 0;
}

.cs-footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.cs-footer-brand-col {
  max-width: 320px;
}

.cs-footer-tagline {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0.85rem 0 1.25rem 0;
}

.cs-footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cs-social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cs-social-link:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

.cs-footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.cs-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-footer-links a {
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cs-footer-links a:hover {
  color: #2563eb;
}

.cs-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Responsive Additions for New Sections --- */
@media (max-width: 900px) {
  .cs-features-grid,
  .cs-testimonials-grid,
  .cs-weeks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .cs-footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .cs-features-grid,
  .cs-testimonials-grid,
  .cs-weeks-grid,
  .cs-sample-options-grid,
  .cs-footer-top-grid {
    grid-template-columns: 1fr;
  }
}


/* Backward compatibility for legacy templates using landing-body */
body.landing-body {
  background-color: var(--cs-bg-body, #f8fafc);
  color: var(--cs-text-main, #0f172a);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.ambient-blue-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  top: -120px;
  left: 15%;
}

.ambient-cyan-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  top: 400px;
  right: -100px;
}

/* ==========================================================================
   KCET COLLEGE ARTICLES & COUNSELING GUIDES (FIGMA LIGHT SAAS DESIGN)
   ========================================================================== */

.article-hero-section {
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.article-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.article-hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.article-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

.article-card .post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.post-category-tag {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.post-date-tag {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.article-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.article-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-card .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.article-card:hover .read-more-link {
  gap: 10px;
  color: #1d4ed8;
}

/* Article Detail Page */
.article-detail-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

.back-to-articles-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 1.75rem;
  padding: 0.5rem 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.back-to-articles-btn:hover {
  background: #dbeafe;
  color: #1d4ed8;
  transform: translateX(-3px);
}

.article-detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.article-detail-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.article-detail-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-meta-detailed {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #64748b;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-detail-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-detail-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.article-detail-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.75rem 0 0.75rem;
}

.article-detail-content p {
  margin-bottom: 1.4rem;
}

.article-detail-content ul,
.article-detail-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #334155;
}

.article-detail-content li {
  margin-bottom: 0.5rem;
}

.article-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.article-detail-content th,
.article-detail-content td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.article-detail-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
}

.article-detail-content blockquote {
  border-left: 4px solid #2563eb;
  padding: 1rem 1.25rem;
  background: #eff6ff;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  color: #1e3a8a;
  font-style: italic;
}

.article-cta-box {
  background: #0f172a;
  color: #ffffff;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  margin-top: 3.5rem;
  text-align: center;
}

.article-cta-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.article-cta-box p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.article-cta-box .btn-primary {
  background: #2563eb;
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
}

.article-cta-box .btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
