/* ==========================================================================
   CSC VERIFICATION OF RATINGS - DESIGN SYSTEM & COMPONENT STYLES
   Civil Service Reviewer (civilservicereviewer.org)
   Supports Light & Dark Modes with High-Contrast Legibility & Mobile Polish
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Default Light Theme */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-alt: #f8fafc;
  --bg-navbar: rgba(255, 255, 255, 0.94);
  
  --brand-blue: #1d4ed8;
  --brand-blue-hover: #1e40af;
  --brand-blue-light: #2563eb;
  --brand-blue-glow: rgba(37, 99, 235, 0.15);
  
  --accent-gold: #d97706;
  --accent-gold-light: #b45309;
  --success: #059669;
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning-bg: #fffbeb;
  
  --text-white: #0f172a; /* High contrast dark for headings */
  --text-main: #1e293b;  /* Dark legible body */
  --text-muted: #475569; /* Slate secondary */
  --text-dim: #64748b;   /* Muted captions */
  
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #94a3b8;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.09);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.18);
  
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-base: #060911;
  --bg-surface: #0b1120;
  --bg-card: #0f192f;
  --bg-card-hover: #14223f;
  --bg-card-alt: #162444;
  --bg-navbar: rgba(11, 17, 32, 0.94);
  
  --brand-blue: #2563eb;
  --brand-blue-hover: #3b82f6;
  --brand-blue-light: #60a5fa;
  --brand-blue-glow: rgba(59, 130, 246, 0.22);
  
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --warning-bg: rgba(245, 158, 11, 0.15);
  
  --text-white: #f8fafc;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.25);
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.3);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 70px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-navbar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-wrapper img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-white);
}

.badge-year {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue-light);
}

.btn-header-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-header-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all var(--transition);
}

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

[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
:root:not([data-theme="dark"]) .icon-sun { display: none; }
:root:not([data-theme="dark"]) .icon-moon { display: block; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

.icon-menu-close { display: none; }
.mobile-menu-btn[aria-expanded="true"] .icon-menu-bars { display: none; }
.mobile-menu-btn[aria-expanded="true"] .icon-menu-close { display: block; }

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-medium);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-nav-panel.open { display: block; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-links a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; color: var(--text-main); }
.mobile-nav-links a.active { background: rgba(37, 99, 235, 0.12); color: var(--brand-blue-light); }

@media (max-width: 900px) {
  .nav-links, .btn-header-dl { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; }
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs-bar {
  padding: 16px 0 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

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

.breadcrumb-item a:hover {
  color: var(--brand-blue-light);
}

.breadcrumb-separator {
  color: var(--border-strong);
  font-size: 0.75rem;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.ratings-hero {
  padding: 30px 0 35px;
  text-align: center;
  position: relative;
}

.live-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success);
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-main-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.18;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-main-title .gradient-text {
  background: linear-gradient(135deg, #2563eb, #1d4ed8 40%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .hero-main-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #3b82f6 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ==========================================================================
   PRIMARY OCSERGS PORTAL CTA BOX
   ========================================================================== */
.ocsergs-cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(217, 119, 6, 0.08) 100%), var(--bg-surface);
  border: 2px solid var(--brand-blue-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  max-width: 900px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.ocsergs-cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.ocsergs-cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ocsergs-official-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-blue-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.ocsergs-deadline-tag {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.ocsergs-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.btn-ocsergs-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 580px;
  padding: 18px 28px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 8px 26px rgba(220, 38, 38, 0.4);
  transition: all var(--transition);
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-ocsergs-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.55);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
}

.ocsergs-url-hint {
  font-size: 0.84rem;
  color: var(--text-dim);
  font-family: monospace;
}

.ocsergs-url-hint a {
  color: var(--brand-blue-light);
  text-decoration: underline;
}

/* ==========================================================================
   METRIC HIGHLIGHT BAR
   ========================================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 45px;
}

.stat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}

.stat-chip:hover {
  transform: translateY(-2px);
  border-color: var(--brand-blue-light);
}

.stat-chip-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand-blue-light);
  line-height: 1.2;
}

.stat-chip-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   REGIONAL SELECTOR & SEARCH
   ========================================================================== */
.region-nav-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  margin-bottom: 45px;
  box-shadow: var(--shadow-md);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.region-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.region-search-input {
  width: 100%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 11px 18px 11px 40px;
  font-size: 0.92rem;
  color: var(--text-white);
  outline: none;
  font-family: inherit;
  transition: all var(--transition);
}

.region-search-input:focus {
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  background: var(--bg-surface);
}

.search-svg-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Regional Grid */
.regional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.region-card-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.region-card-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.region-card-btn.active-region {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05));
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 2px var(--brand-blue-light);
}

.region-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.region-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-white);
}

.region-subinfo {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.region-arrow {
  color: var(--brand-blue-light);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.region-card-btn:hover .region-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   INTERACTIVE OCSERGS SIMULATOR / FIELD HELPER
   ========================================================================== */
.simulator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  margin-bottom: 45px;
  box-shadow: var(--shadow-md);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 26px 0;
}

.step-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand-blue-light);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mock-form-preview {
  background: var(--bg-base);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  margin-top: 20px;
}

.form-grid-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.mock-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mock-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.86rem;
  color: var(--text-main);
  pointer-events: none;
}

/* ==========================================================================
   PASSERS VS NON-PASSERS GUIDELINES
   ========================================================================== */
.results-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 45px;
}

.action-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.action-card.passer-card {
  border-top: 5px solid var(--success);
}

.action-card.nonpasser-card {
  border-top: 5px solid var(--brand-blue-light);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.card-badge.passer {
  background: var(--success-bg);
  color: var(--success);
}

.card-badge.nonpasser {
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-blue-light);
}

.action-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.action-card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.action-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.action-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.checklist-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   REGIONAL CONTACT & DETAILS CARD
   ========================================================================== */
.regional-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin-bottom: 45px;
  box-shadow: var(--shadow-md);
}

.regional-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.detail-block {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.detail-block-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.detail-block-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ==========================================================================
   IMPORTANT CSC LEGAL NOTICE CALLOUT
   ========================================================================== */
.csc-notice-callout {
  background: var(--warning-bg);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 45px;
  color: var(--text-main);
}

.csc-notice-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-gold-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.csc-notice-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  margin-bottom: 45px;
  box-shadow: var(--shadow-md);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

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

.faq-item:hover {
  border-color: var(--brand-blue-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   APP DOWNLOAD CTA BANNER
   ========================================================================== */
.app-banner-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #172554 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.app-banner-info {
  max-width: 620px;
}

.app-banner-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.app-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.app-banner-desc {
  font-size: 0.95rem;
  color: #e0e7ff;
  line-height: 1.55;
  margin-bottom: 20px;
}

.app-store-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-store.apple {
  background: #ffffff;
  color: #0f172a !important;
}

.btn-store.google {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   STICKY BAR & FOOTER
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-medium);
  padding: 12px 18px;
  z-index: 90;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-icon img {
  border-radius: 8px;
}

.sticky-name {
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--text-white);
}

.sticky-rating {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.btn-sticky-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--brand-blue-light);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: var(--radius-full);
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 30px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-disclaimer-note {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .region-search-wrapper { max-width: 100%; }
  .ocsergs-cta-card { padding: 26px 20px; }
  .btn-ocsergs-primary { font-size: 1rem; padding: 15px 20px; }
  .simulator-box { padding: 24px 18px; }
}
