:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --secondary: #EC4899;
  --accent: #14B8A6;
  --accent-dark: #0D9488;
  --warning: #F59E0B;
  --success: #16A34A;
  --danger: #EF4444;
  --bg: #EEF2F7;
  --surface: #FFFFFF;
  --surface-alt: #F3F4F6;
  --border: #E5E7EB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
}

.main-app {
  display: flex;
  min-height: 100vh;
}

.main-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.main-container {
  flex: 1;
  padding: 28px 32px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* SIDEBAR */
.sidebar {
  width: 280px;
  background: #1E2A4A;
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sidebar-top {
  margin-bottom: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #1E40AF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,0.45);
}

.sidebar-logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sidebar-logo::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: #60A5FA;
  border-radius: 3px;
  margin-top: 4px;
}

.logo-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-top: 6px;
}

.sidebar-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  line-height: 1.4;
}

.sidebar-menu {
  list-style: none;
  margin-top: 20px;
}

.sidebar-menu li {
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s ease;
  margin-bottom: 6px;
  position: relative;
}

.sidebar-menu li a {
  text-decoration: none;
  color: #fff;
  flex: 1;
}

.sidebar-menu li:hover {
  background: rgba(255,255,255,0.12);
}

.sidebar-menu li.active {
  background: rgba(255,255,255,0.2);
}

.sidebar-menu li.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: #60A5FA;
}

.badge {
  background: rgba(255,255,255,0.3);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.mega-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 280px;
  background: #fff;
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  border-radius: 14px;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 50;
}

.mega-wrap.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
}

.mega-list {
  list-style: none;
}

.mega-list li {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.9rem;
}

.mega-list li:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

.mega-list a {
  text-decoration: none;
  color: inherit;
}

/* HEADER BAR */
.header-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.auth-actions {
  display: flex;
  gap: 10px;
}

.auth-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.auth-btn.auth-login {
  background: #FFFFFF;
  color: #1E40AF;
  border: 2px solid #1E40AF;
}

.auth-btn.auth-login:hover {
  background: #EFF6FF;
}

.auth-btn.auth-signup {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #fff;
  border: none;
  box-shadow: 0 10px 22px rgba(37,99,235,0.35);
}

.auth-btn.auth-signup:hover {
  box-shadow: 0 14px 30px rgba(37,99,235,0.45);
}

/* HERO */
.hero-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #FFFFFF, #F1F5F9);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.hero-box::after {
  content: '';
  position: absolute;
  right: -160px;
  top: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #E0EAFF, transparent 70%);
  border-radius: 50%;
}

.hero-box::before {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #ECFEFF, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: #2563EB;
}

.hero-heading {
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111827;
  letter-spacing: 0.02em;
}

.hero-heading span {
  color: #2563EB;
}

.hero-sub {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #4B5563;
  max-width: 520px;
}

.hero-search {
  display: flex;
  gap: 8px;
  background: #F1F5F9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  max-width: 500px;
  border: 1px solid #E5E7EB;
  transition: all 0.18s ease;
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  color: #111827;
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
}

.hero-search input::placeholder {
  color: #6B7280;
}

.hero-search button {
  border: none;
  background: #2563EB;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.hero-search button:hover {
  background: #1D4ED8;
}

.hero-search:focus-within {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
  background: #FFFFFF;
}

.hero-notes {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* STATS */
.stat-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.stat-block {
  background: #F9FAFB;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  flex: 1;
  min-width: 120px;
}

.stat-label {
  font-size: 0.8rem;
  color: #6B7280;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}

/* STEPS */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(15,23,42,0.06);
  transition: all 0.2s ease;
}

.step-card:hover {
  box-shadow: 0 8px 18px rgba(15,23,42,0.1);
}

.step-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.step-text-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.step-text-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* SECTION */
.section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  gap: 20px;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 8px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* CHIPS */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  position: relative;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15,23,42,0.12);
}

.chip.active {
  background: #2563EB;
  border-color: #2563EB;
  color: #fff;
}

.chip.active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: #2563EB;
}

/* BUNDLES GRID */
#bundles-list-free,
#bundles-list-paid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* BUNDLE CARD */
.bundle-card-prof {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(15,23,42,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}

.bundle-card-prof::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,0.03));
  pointer-events: none;
}

.bundle-card-prof[data-free="1"] {
  background: linear-gradient(180deg, #ECFDF5, #FFFFFF);
  border-color: #A7F3D0;
}

.bundle-card-prof[data-category="main"] {
  background: linear-gradient(180deg, #EFF6FF, #FFFFFF);
  border-color: #BFDBFE;
}

.bundle-card-prof[data-category="advanced"] {
  background: linear-gradient(180deg, #F5F3FF, #FFFFFF);
  border-color: #DDD6FE;
}

.bundle-card-prof[data-category="neet"] {
  background: linear-gradient(180deg, #ECFEFF, #FFFFFF);
  border-color: #A5F3FC;
}

.bundle-card-prof[data-free="0"] {
  border: 1.5px solid #CBD5F5;
}

.bundle-card-prof[data-free="0"]::before {
  content: 'PREMIUM';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 6px;
  background: #EEF2FF;
  color: #3730A3;
  z-index: 1;
}

.bundle-card-prof:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.18);
  border-color: #2563EB;
}

.bundle-card-prof:hover .b-title {
  color: #1D4ED8;
}

.b-thumb {
  width: 100%;
  height: 135px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 12px;
  background: #FFFFFF;
  padding: 8px;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 0;
}

.bundle-card-prof:hover .b-thumb {
  transform: translateY(-6px);
}

.b-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
}

.b-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
  gap: 6px;
}

.b-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
}

.bundle-card-prof[data-category="main"] .b-title { color: #1D4ED8; }
.bundle-card-prof[data-category="advanced"] .b-title { color: #5B21B6; }
.bundle-card-prof[data-category="neet"] .b-title { color: #0F766E; }
.bundle-card-prof[data-free="1"] .b-title { color: #166534; }

.b-price {
  background: #2563EB;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  position: relative;
}

.bundle-card-prof[data-free="1"] .b-price {
  background: linear-gradient(135deg, #22C55E, #16A34A);
}

.bundle-card-prof[data-free="0"] .b-price {
  background: linear-gradient(135deg, #4F46E5, #3730A3);
  box-shadow: 0 6px 14px rgba(79,70,229,0.4);
}

.b-price::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bundle-card-prof:hover .b-price::after {
  opacity: 1;
}

.b-short {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.b-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.b-tag-live,
.b-tag-soon {
  border-radius: 6px;
  font-size: 0.68rem;
  padding: 4px 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.b-tag-live {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #fff;
}

.b-tag-soon {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
}

.bundle-card-prof[data-state="active"] .b-tag-live {
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.b-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.b-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  transition: all 0.18s ease;
}

.b-btn-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.6s ease;
}

.b-btn-main:hover::before {
  left: 120%;
}

.b-btn-main:hover {
  box-shadow: 0 8px 20px rgba(37,99,235,0.35);
  transform: translateY(-2px);
}

.bundle-card-prof[data-free="1"] .b-btn-main {
  background: linear-gradient(135deg, #22C55E, #16A34A);
}

.bundle-card-prof[data-category="advanced"] .b-btn-main {
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
}

.bundle-card-prof[data-category="neet"] .b-btn-main {
  background: linear-gradient(135deg, #14B8A6, #0F766E);
}

.bundle-card-prof[data-free="0"] .b-btn-main {
  background: linear-gradient(135deg, #4F46E5, #4338CA);
}

/* MODAL */
#bundle-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
}

#bundle-overlay.active {
  display: block;
}

.b-sidebar-modal {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  max-width: 90vw;
  max-height: 90vh;
  background: #FFFFFF;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-radius: 14px;
  overflow-y: auto;
}

.b-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--surface-alt);
  color: var(--text-primary);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  z-index: 10;
}

.b-close:hover {
  background: var(--border);
}

.b-detail-header {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.b-detail-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.b-sidebar-modal:hover .b-detail-header img {
  transform: scale(1.05);
}

.b-detail-body {
  padding: 20px;
}

.b-detail-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.b-detail-price-line {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #111827;
}

.b-detail-price-line strong {
  color: #1E40AF;
  font-size: 1.1rem;
}

.b-detail-meta {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 12px;
  line-height: 1.6;
}

.b-detail-divider {
  border-bottom: 1px solid var(--border);
  margin: 12px 0;
}

.b-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.b-detail-actions .b-btn-main {
  padding: 11px 14px;
  font-size: 0.85rem;
}

.b-detail-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
}

/* FOOTER CTA */
.footer-cta {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 36px;
  color: #111827;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.08);
  position: relative;
  overflow: hidden;
}

.footer-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-cta p {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-cta ul {
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-cta li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.footer-cta li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #2563EB;
}

footer {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

/* IDLE POPUP */
#idle-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

#idle-box {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--danger);
}

#idle-box h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

#idle-box p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

#idle-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.idle-btn {
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.idle-btn-primary {
  background: linear-gradient(135deg, var(--success), #10B981);
  color: #fff;
}

.idle-btn-secondary {
  background: var(--surface-alt);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.idle-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* RESPONSIVE */
@media(max-width: 1200px) {
  #bundles-list-free,
  #bundles-list-paid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 960px) {
  .main-app {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 12px 20px;
    justify-content: space-between;
  }
  .sidebar-top { margin-bottom: 0; }
  .sidebar-sub { display: none; }
  .sidebar-menu {
    display: flex;
    flex: 1;
    margin-left: 20px;
    margin-top: 0;
  }
  .sidebar-menu li {
    flex: 1;
    justify-content: center;
    margin: 0;
  }
  .mega-wrap { display: none; }
  .hero-box {
    grid-template-columns: 1fr;
    background-image: none;
  }
  .main-container {
    padding: 20px 16px;
  }
  .b-sidebar-modal {
    right: 50%;
    top: 60px;
    transform: translateX(50%);
    width: 90vw;
  }
}

@media(max-width: 768px) {
  #bundles-list-free,
  #bundles-list-paid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .hero-heading {
    font-size: 1.45rem;
  }
  .bundle-card-prof {
    padding: 14px;
  }
  .b-thumb {
    height: 130px;
  }
  .footer-cta {
    padding: 24px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .chip-row {
    width: 100%;
    flex-direction: column;
  }
}

@media(max-width: 640px) {
  #bundles-list-free,
  #bundles-list-paid {
    grid-template-columns: 1fr;
  }
  .hero-box {
    padding: 20px;
  }
  .hero-heading {
    font-size: 1.35rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .stat-row {
    gap: 8px;
  }
  .stat-block {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .b-sidebar-modal {
    width: 95vw;
  }
}
/* Hide only "Ends in" text, keep "Live in" */
.bundle-card-prof[data-state="active"] .countdown {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}
/* ============================= */
/* HIDE "Ends in" for active bundles */
.bundle-card-prof[data-state="active"] .countdown {
  display: none;
}

/* ============================= */
/* STYLISH "Live in / Coming Soon" */
.bundle-card-prof[data-state="coming_soon"] .countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-top: 8px;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;

  color: #92400E;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-radius: 999px;
  border: 1px solid #F59E0B;

  animation: comingSoonBlink 1.6s infinite;
}

/* ⏳ icon before text */
.bundle-card-prof[data-state="coming_soon"] .countdown::before {
  content: "⏳";
  font-size: 0.8rem;
}

/* ============================= */
/* BLINK / PULSE EFFECT */
@keyframes comingSoonBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(245,158,11,0.6);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245,158,11,0);
    opacity: 0.85;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245,158,11,0);
    opacity: 1;
  }
}
.sidebar-menu li a {
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
}

.sidebar-menu li.active a {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
}

/* ============================= */
/* COUNTDOWN VISIBILITY RULES */

/* Hide "Ends in" for ACTIVE bundles */
.bundle-card-prof[data-state="active"] .countdown {
  display: none;
}

/* Stylish "Live in / Coming Soon" */
.bundle-card-prof[data-state="coming_soon"] .countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-top: 8px;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;

  color: #92400E;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-radius: 999px;
  border: 1px solid #F59E0B;

  animation: comingSoonBlink 1.6s infinite;
}

/* ⏳ icon */
.bundle-card-prof[data-state="coming_soon"] .countdown::before {
  content: "⏳";
  font-size: 0.8rem;
}

/* Pulse animation */
@keyframes comingSoonBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(245,158,11,0.6);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245,158,11,0);
    opacity: 0.85;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245,158,11,0);
    opacity: 1;
  }
}

/* ============================= */
/* SIDEBAR BUTTON STYLE */

.sidebar-menu li a {
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
}

.sidebar-menu li.active a {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
}

