@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Light Theme Palette */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.75);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --border-subtle: #e2e8f0;
  --border-card: rgba(226, 232, 240, 0.9);
  --border-focus: #3b82f6;

  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-glow: rgba(37, 99, 235, 0.25);
  --brand-accent: #0284c7;

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --danger: #ef4444;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html.dark {
  /* Clean Neutral Charcoal & Gray Dark Theme */
  --bg-primary: #18181b;
  --bg-secondary: #222226;
  --bg-tertiary: #2e2e34;
  --bg-card: rgba(34, 34, 38, 0.95);
  --bg-glass: rgba(24, 24, 27, 0.85);

  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  --border-subtle: #2e2e34;
  --border-card: rgba(255, 255, 255, 0.09);
  --border-focus: #60a5fa;

  --brand-blue: #3b82f6;
  --brand-blue-hover: #2563eb;
  --brand-blue-glow: rgba(59, 130, 246, 0.35);
  --brand-accent: #38bdf8;

  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.15);

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 14px 30px -4px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   2. GLOBAL BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Background Ambient Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
}

html.dark .ambient-glow::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
}

.ambient-glow::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, rgba(168, 85, 247, 0) 70%);
  border-radius: 50%;
}

html.dark .ambient-glow::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Container */
.app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .app-container {
    padding: 0 2rem;
  }
}

/* Grid Layout */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .layout-grid {
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
  }
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
}

.sidebar-column {
  min-width: 0;
}

.sticky-sidebar {
  position: static;
}

@media (min-width: 1024px) {
  .sticky-sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.4);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-discount {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-pill {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-blue);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px 0 var(--brand-blue-glow);
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 20px 0 var(--brand-blue-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   3. HEADER STYLES
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 1rem;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 0.55rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu-btn {
  display: none;
  color: var(--text-main);
  padding: 0.25rem;
}

@media (max-width: 868px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-title span {
  color: var(--brand-blue);
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

@media (max-width: 868px) {
  .nav-links {
    display: none;
  }
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.nav-item:hover {
  color: var(--text-main);
}

.nav-item.active {
  color: var(--brand-blue);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-bar {
  position: relative;
  display: none;
  align-items: center;
}

@media (min-width: 992px) {
  .search-bar {
    display: flex;
  }
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input {
  width: 220px;
  height: 38px;
  padding: 0.4rem 0.75rem 0.4rem 2.25rem;
  font-size: 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-main);
  outline: none;
  transition: width 0.2s ease, border-color 0.2s ease;
}

.search-input:focus {
  width: 260px;
  border-color: var(--brand-blue);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-blue);
  transform: scale(1.05);
}

.icon-moon {
  display: none;
}

html.dark .icon-sun {
  display: none;
}

html.dark .icon-moon {
  display: block;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .auth-buttons {
    display: none;
  }
}

.btn-signin {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.btn-signin:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-signup {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px var(--brand-blue-glow);
}

.btn-signup:hover {
  background: var(--brand-blue-hover);
}

/* ==========================================================================
   4. BREADCRUMB STYLES
   ========================================================================== */
.breadcrumb-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.back-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.back-btn:hover {
  background: var(--bg-tertiary);
  color: var(--brand-blue);
  border-color: var(--border-focus);
  transform: translateX(-2px);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.breadcrumb-item a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.separator {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.breadcrumb-item.current {
  color: var(--text-main);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   5. HERO BANNER STYLES
   ========================================================================== */
.hero-banner-container {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  position: relative;
}

.banner-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.banner-blur-backdrop {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.6);
  transform: scale(1.15);
  opacity: 0.85;
}

.banner-image {
  position: relative;
  z-index: 2;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner-container:hover .banner-image {
  transform: scale(1.02);
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.banner-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.5s infinite;
}

.banner-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* ==========================================================================
   6. DESCRIPTION COMPONENT STYLES
   ========================================================================== */
.desc-card {
  padding: 1.5rem;
  position: relative;
  border-radius: var(--radius-xl);
}

.desc-header {
  margin-bottom: 1rem;
}

.desc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.desc-title-group h2 {
  font-size: 1.35rem;
  color: var(--text-main);
}

.desc-content-wrapper {
  position: relative;
  max-height: 180px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.desc-content-wrapper.expanded {
  max-height: 1200px;
}

.desc-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.desc-text strong {
  color: var(--text-main);
}

.highlights-box {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.highlights-box h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.highlight-item strong {
  color: var(--text-main);
}

.important-note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.note-icon {
  font-size: 1.25rem;
}

.note-body p {
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.note-body p:last-child {
  margin-bottom: 0;
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-card) 20%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.desc-content-wrapper.expanded .fade-overlay {
  opacity: 0;
}

.toggle-desc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.toggle-desc-btn:hover {
  color: var(--brand-blue-hover);
  background: rgba(37, 99, 235, 0.08);
}

.chevron-icon {
  transition: transform 0.3s ease;
}

.desc-content-wrapper.expanded + .toggle-desc-btn .chevron-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   7. TEST LIST & SYLLABUS COMPONENT STYLES
   ========================================================================== */
.tests-section {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.tabs-header {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.25rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--brand-blue);
}

.active-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tab-btn.active .active-indicator {
  opacity: 1;
}

.tests-subheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.subheader-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tests-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tag-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.test-sort-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.tests-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.test-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  gap: 1rem;
  transition: all 0.2s ease;
}

.test-item:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.test-item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.test-visual-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.test-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.test-meta-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.test-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.test-number-pill {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

.test-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.btn-view-test {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

html.dark .btn-view-test {
  background: #ffffff;
  color: #18181b;
}

.btn-view-test:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  transform: scale(1.04);
}

/* Syllabus Panel */
.syllabus-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.pattern-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

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

.subject-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.pattern-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.pattern-table th {
  background: var(--bg-tertiary);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.pattern-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.pattern-table tfoot td {
  background: var(--bg-tertiary);
  font-weight: 700;
  border-bottom: none;
}

.level-pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.marks-pill {
  font-weight: 700;
  color: var(--brand-blue);
}

.marking-rules {
  background: var(--bg-tertiary);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.marking-rules h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.marking-rules ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.marking-rules strong {
  color: var(--text-main);
}

/* ==========================================================================
   8. TEST DETAIL MODAL STYLES
   ========================================================================== */
.test-modal-dialog {
  border: none;
  background: transparent;
  max-width: 540px;
  width: 90vw;
  margin: auto;
  padding: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.test-modal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  color: var(--text-main);
}

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

.header-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  color: var(--text-main);
  background: var(--border-subtle);
}

.modal-title {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-blue);
  font-family: var(--font-display);
}

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

.modal-sections {
  margin-bottom: 1.25rem;
}

.modal-sections h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.45rem 0.65rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

.sec-name {
  font-weight: 500;
}

.sec-val {
  font-weight: 700;
  color: var(--brand-blue);
}

.test-rules {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.25rem;
}

.test-rules p {
  margin-bottom: 0.25rem;
}

.test-rules p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   9. PRICING & PURCHASE SIDEBAR STYLES
   ========================================================================== */
.pricing-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.pricing-course-title {
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text-main);
}

.price-display-box {
  background: var(--bg-tertiary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.price-amount-group {
  display: flex;
  align-items: baseline;
  color: var(--text-main);
}

.currency {
  font-size: 1.4rem;
  font-weight: 700;
}

.current-price {
  font-size: 2.3rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--text-main);
}

.price-comparison {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.original-price {
  font-size: 1rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.validity-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.validity-indicator strong {
  color: var(--text-main);
}

.buy-now-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.buy-now-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.buy-now-btn:active {
  transform: translateY(0);
}

.coupon-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-subtle);
}

.coupon-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.coupon-ticket-icon {
  color: var(--text-dim);
}

.coupon-input-group {
  display: flex;
  gap: 0.5rem;
}

.coupon-input {
  flex: 1;
  height: 38px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease;
}

.coupon-input:focus {
  border-color: var(--brand-blue);
}

.btn-apply-coupon {
  padding: 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  color: var(--brand-blue);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.btn-apply-coupon:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}

.coupon-msg {
  font-size: 0.75rem;
  display: none;
}

.coupon-msg.success {
  display: block;
  color: var(--success);
}

.coupon-msg.error {
  display: block;
  color: var(--danger);
}

.coupon-hints {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.coupon-tag-btn {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.inclusions-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.checklist-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.check-icon {
  color: var(--success);
  flex-shrink: 0;
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* ==========================================================================
   10. FEATURES SECTION STYLES
   ========================================================================== */
.features-wrapper {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  margin-top: 1.5rem;
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.features-header h3 {
  font-size: 1.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  padding: 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
}

.feature-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.bg-blue { background: rgba(37, 99, 235, 0.15); color: #3b82f6; }
.bg-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.bg-purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.bg-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.feature-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   11. APP DOWNLOAD BANNER STYLES
   ========================================================================== */
.app-banner {
  padding: 2rem;
  border-radius: var(--radius-xl);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%), var(--bg-card);
  border: 1px solid rgba(37, 99, 235, 0.25);
  overflow: hidden;
  position: relative;
}

.app-banner-content {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  width: fit-content;
}

.app-banner-content h3 {
  font-size: 1.5rem;
  color: var(--text-main);
}

.app-banner-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.app-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.playstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #000000;
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.playstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.playstore-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.playstore-text .sub {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.8;
}

.playstore-text .main {
  font-size: 0.95rem;
  font-weight: 700;
}

.app-rating {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.app-mockup-graphic {
  display: none;
}

@media (min-width: 868px) {
  .app-mockup-graphic {
    display: block;
    flex-shrink: 0;
  }
}

.phone-frame {
  width: 200px;
  height: 250px;
  background: #0f172a;
  border-radius: 20px 20px 0 0;
  border: 4px solid #334155;
  border-bottom: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 0.6rem;
}

.phone-screen {
  background: var(--bg-primary);
  height: 100%;
  border-radius: 12px 12px 0 0;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

.phone-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-main);
}

.phone-body {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.phone-timer {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.phone-question {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

.phone-options {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.p-opt {
  font-size: 0.6rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
}

.p-opt.active {
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-blue);
  font-weight: 700;
}

/* ==========================================================================
   12. FAQ SECTION STYLES
   ========================================================================== */
.faq-section {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  margin-top: 1.5rem;
}

.faq-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.faq-header h3 {
  font-size: 1.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
}

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

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.35);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.faq-answer {
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px dashed transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: var(--border-subtle);
  padding-top: 0.75rem;
}

/* ==========================================================================
   13. FOOTER STYLES
   ========================================================================== */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border-card);
  background: var(--bg-secondary);
  padding: 3rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 3rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-logo-text span {
  color: var(--brand-blue);
}

.brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 380px;
}

.edge-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  width: fit-content;
  border: 1px solid var(--border-subtle);
}

.cloudflare-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f97316;
}

.col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.col-links a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.app-subtext {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #000000;
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease;
}

.footer-play-btn:hover {
  transform: translateY(-2px);
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.btn-text span {
  font-size: 0.6rem;
  opacity: 0.8;
}

.btn-text strong {
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.legal-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   14. ANIMATIONS & UTILITIES
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ==========================================================================
   13. MAINTENANCE PAGE
   ========================================================================== */
.maintenance-page-wrapper {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 60px;
  position: relative;
  z-index: 1;
}

.maintenance-card {
  width: 100%;
  max-width: 820px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.maintenance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #3b82f6, #10b981);
}

.maintenance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--warning);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.badge-dot-amber {
  width: 8px;
  height: 8px;
  background-color: var(--warning);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--warning);
  animation: pulse 1.8s infinite;
}

.maintenance-icon-wrapper {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px auto;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warning);
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.2);
  position: relative;
}

.maintenance-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-main);
}

.maintenance-hindi-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 14px;
}

.maintenance-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px auto;
  line-height: 1.65;
}

.maintenance-live-alert {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.maintenance-live-alert:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.live-alert-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.live-alert-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.live-alert-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.live-alert-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.live-alert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.live-alert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: #ffffff;
}

.maintenance-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.maintenance-feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

.feature-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.maintenance-feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.maintenance-feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.maintenance-footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.support-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.support-link-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

@media (max-width: 768px) {
  .maintenance-card {
    padding: 32px 20px;
  }

  .maintenance-live-alert {
    flex-direction: column;
    align-items: flex-start;
  }

  .live-alert-btn {
    width: 100%;
    justify-content: center;
  }

  .maintenance-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   14. RAW MAINTENANCE NOTICE (NO BOX / SIMPLE 3 LINES)
   ========================================================================== */
.raw-notice-wrapper {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
}

.raw-notice-content {
  max-width: 820px;
  width: 100%;
}

.raw-line {
  margin: 20px 0;
  line-height: 1.6;
}

.raw-line-1 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--text-main);
}

.raw-line-2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--brand-accent);
}

.raw-line-3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  margin-top: 28px;
}

.raw-link {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.raw-link:hover {
  color: var(--brand-blue-hover);
}


