/**
 * PES Collections - Primary Stylesheet
 * Enterprise Dual-Theme Architecture (Light Banking & Dark Command)
 */

/* ==========================================================================
   THEME VARIABLES
   ========================================================================== */

/* LIGHT THEME (DEFAULT - Institutional Banking Standard) */
:root, [data-theme="light"] {
  --bg-page: #f8fafc;
  --bg-section-alt: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  
  --topbar-bg: #0b1528;
  --topbar-text: #94a3b8;
  --topbar-border: rgba(255, 255, 255, 0.08);
  
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-border: #e2e8f0;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --brand-title-color: #0b1528;
  --brand-sub-color: #0284c7;
  --nav-link-color: #334155;
  --nav-link-hover: #0284c7;
  
  --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.1);
  --dropdown-bg: #ffffff;
  --dropdown-border: #e2e8f0;
  --dropdown-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  
  --table-th-bg: #f8fafc;
  --table-border: #e2e8f0;
  --table-text: #1e293b;
  
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-text: #0f172a;
  
  --hero-radial: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12), transparent 75%);
  --footer-bg: #070d19;
  
  /* Brand Accents */
  --accent-blue: #0284c7;
  --accent-primary: #0284c7;
  --accent-primary-hover: #0369a1;
  --accent-yellow: #d97706;
  --accent-teal: #0d9488;
  --accent-violet: #7c3aed;
  --accent-green: #059669;
  --accent-red: #dc2626;
}

/* DARK THEME (Operations & Command Mode) */
[data-theme="dark"] {
  --bg-page: #060d1f;
  --bg-section-alt: #040918;
  --bg-surface: #0c1836;
  --bg-surface-elevated: #11224d;
  --bg-card: #0f1f45;
  --bg-card-hover: #132757;
  
  --topbar-bg: #030814;
  --topbar-text: #94a3b8;
  --topbar-border: rgba(255, 255, 255, 0.08);
  
  --header-bg: rgba(6, 13, 31, 0.94);
  --header-border: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --brand-title-color: #ffffff;
  --brand-sub-color: #facc15;
  --nav-link-color: #94a3b8;
  --nav-link-hover: #ffffff;
  
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.5);
  --dropdown-bg: #0c1836;
  --dropdown-border: rgba(255, 255, 255, 0.15);
  --dropdown-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  
  --table-th-bg: rgba(255, 255, 255, 0.04);
  --table-border: rgba(255, 255, 255, 0.06);
  --table-text: #e2e8f0;
  
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-text: #ffffff;
  
  --hero-radial: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.16), transparent 70%);
  --footer-bg: #030712;
  
  /* Brand Accents */
  --accent-blue: #38bdf8;
  --accent-primary: #0284c7;
  --accent-primary-hover: #0369a1;
  --accent-yellow: #facc15;
  --accent-teal: #0d9488;
  --accent-violet: #8b5cf6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */

.top-bar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  font-size: 13px;
  padding: 8px 0;
  color: var(--topbar-text);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--topbar-text);
  white-space: nowrap;
}
.top-bar-item i {
  color: #facc15;
}
.top-bar-item a:hover {
  color: #ffffff;
}
.badge-cin {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (ZERO OVERFLOW, PERFECT CENTERING)
   ========================================================================== */

header.site-header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  z-index: 1000;
  padding: 10px 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}

/* Brand Block */
.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--brand-title-color);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-sub {
  font-size: 10.5px;
  color: var(--brand-sub-color);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  display: block;
  white-space: nowrap;
}

/* Navigation Links - Single-Line & Clean */
.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
  white-space: nowrap;
}

.nav-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--nav-link-color);
  padding: 8px 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.active,
.has-dropdown.active-parent > .nav-item {
  color: var(--nav-link-hover);
}

.nav-item.active::after,
.has-dropdown.active-parent > .nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 6px;
  right: 6px;
  height: 2.5px;
  background: var(--accent-blue);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
}

.dropdown-toggle i {
  font-size: 10px;
  transition: transform 0.2s ease;
  margin-top: 1px;
}

/* ==========================================================================
   DROPDOWN MENUS (ENTERPRISE LOOK)
   ========================================================================== */

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dropdown-bg);
  border: 1px solid var(--dropdown-border);
  box-shadow: var(--dropdown-shadow);
  border-radius: 12px;
  padding: 10px;
  min-width: 320px;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  margin-top: 8px;
  animation: fadeInDown 0.18s ease-out forwards;
}

/* Dropdown Bridge to prevent mouse gap */
.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: flex;
}

.has-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.dropdown-menu li a:hover {
  background: var(--bg-section-alt);
}

.dropdown-menu li a i {
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.dropdown-menu li a div {
  display: flex;
  flex-direction: column;
}

.dropdown-menu li a strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.dropdown-menu li a span {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HEADER ACTION GROUP (THEME TOGGLE & EMPANELMENT CTA)
   ========================================================================== */

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  outline: none;
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  background: var(--border-hover);
}

.theme-toggle-btn i {
  font-size: 13px;
  color: var(--accent-yellow);
}

/* Empanelment RFP Button - Centered and Vertically Aligned */
.btn-empanel {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
  line-height: 1.2;
}

.btn-empanel:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding: 80px 0 60px;
  background: var(--hero-radial);
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-yellow);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  max-width: 950px;
  margin-bottom: 22px;
  color: var(--text-main);
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5);
  color: #fff;
}
.btn-outline {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--bg-section-alt);
  border-color: var(--border-hover);
}

/* Metrics Grid */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}
.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}
.metric-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   PAGE HEADER (INNER PAGES)
   ========================================================================== */

.page-header {
  padding: 60px 0 45px;
  background: var(--hero-radial);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}
.page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.page-header-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}
.page-header-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   SECTION COMMONS
   ========================================================================== */

.section-padding {
  padding: 75px 0;
}
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.section-badge {
  color: var(--accent-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-main);
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* ==========================================================================
   BANK PARTNERS STRIP
   ========================================================================== */

.partners-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
}
.partners-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--accent-yellow);
  font-weight: 700;
  margin-bottom: 20px;
}
.partner-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.partner-badge {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-badge i {
  color: var(--accent-blue);
}

/* ==========================================================================
   DUAL-ENGINE CARDS & 3-COL FEATURES
   ========================================================================== */

.dual-engine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.engine-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: 16px;
  padding: 38px;
  position: relative;
  transition: all 0.3s ease;
}
.engine-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-hover);
}
.engine-card.caas {
  border-top: 4px solid var(--accent-teal);
}
.engine-card.laas {
  border-top: 4px solid var(--accent-violet);
}
.engine-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 18px;
}
.badge-caas {
  background: rgba(13, 148, 136, 0.15);
  color: var(--accent-teal);
}
.badge-laas {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-violet);
}
.engine-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
}
.engine-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 26px;
  line-height: 1.65;
}
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-checklist li {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
}
.feature-checklist li i {
  margin-top: 3px;
  font-size: 14px;
}
.engine-card.caas .feature-checklist li i {
  color: var(--accent-teal);
}
.engine-card.laas .feature-checklist li i {
  color: var(--accent-violet);
}

/* 3-Column Features */
.features-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 30px;
  border-radius: 12px;
  transition: all 0.25s ease;
}
.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}
.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.icon-blue { background: rgba(2, 132, 199, 0.12); color: var(--accent-blue); }
.icon-yellow { background: rgba(217, 119, 6, 0.12); color: var(--accent-yellow); }
.icon-green { background: rgba(5, 150, 105, 0.12); color: var(--accent-green); }
.icon-violet { background: rgba(124, 58, 237, 0.12); color: var(--accent-violet); }
.icon-red { background: rgba(220, 38, 38, 0.12); color: var(--accent-red); }
.icon-teal { background: rgba(13, 148, 136, 0.12); color: var(--accent-teal); }

.feature-box-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}
.feature-box-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ALERTS & BORROWER CAUTION
   ========================================================================== */

.alert-card {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-left: 6px solid var(--accent-red);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 35px;
}
.alert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}
.alert-header i {
  color: var(--accent-red);
  font-size: 22px;
}
.alert-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   TABLES
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--table-border);
  background: var(--bg-surface);
  box-shadow: var(--card-shadow);
}
table.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
table.custom-table th {
  background: var(--table-th-bg);
  padding: 16px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--table-border);
}
table.custom-table td {
  padding: 18px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--table-border);
  color: var(--table-text);
}
table.custom-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   FAQ TABS & ACCORDION
   ========================================================================== */

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
}
.faq-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.faq-tab-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.faq-tab-content {
  display: none;
}
.faq-tab-content.active {
  display: block;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.accordion-item.active {
  border-color: var(--accent-blue);
}
.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-main);
}
.accordion-header i {
  font-size: 14px;
  color: var(--accent-blue);
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}
.accordion-body {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}
.accordion-item.active .accordion-body {
  display: block;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: 16px;
  padding: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  color: var(--input-text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ==========================================================================
   TEAM & LEADERSHIP (ABOUT PAGE)
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-hover);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-section-alt);
  border: 2px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent-blue);
  margin: 0 auto 18px;
}
.team-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12.5px;
  color: var(--accent-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.team-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   POLICY DOCUMENT PAGES
   ========================================================================== */

.policy-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: 16px;
  padding: 45px;
  max-width: 960px;
  margin: 0 auto;
}
.policy-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: var(--text-main);
  margin: 32px 0 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.policy-content h2:first-child {
  margin-top: 0;
}
.policy-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.policy-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   FOOTER (ALWAYS DARK FOR CREDIBILITY)
   ========================================================================== */

footer.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 65px 0 25px;
  color: #94a3b8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #94a3b8;
}
.footer-col h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: #94a3b8;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: #cbd5e1;
}
.footer-contact-item i {
  color: #facc15;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.footer-disclaimer-note {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1100px) {
  .nav-links { gap: 12px; }
  .nav-item { font-size: 13.5px; padding: 6px 4px; }
  .btn-empanel { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 38px; }
  .dual-engine-grid { grid-template-columns: 1fr; }
  .features-3col { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .top-bar-left { display: none; }
  
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--dropdown-shadow);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
    display: none;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 12px;
    display: none;
    animation: none;
  }
  
  .has-dropdown.open-mobile .dropdown-menu {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .btn-empanel {
    display: none;
  }
  
  .hero-title { font-size: 30px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .features-3col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .faq-tabs { flex-direction: column; }
}
