/* ==========================================================================
   PREPSEQUENCE GLOBAL ADVISORY - APPLE-LEVEL LIGHT ACADEMIC DESIGN SYSTEM
   Executive Navy (#0F172A) & Regal Gold (#B8860B / #D4AF37)
   Clean Glassmorphism, Micro-interactions, Crisp Typography
   ========================================================================== */

:root {
  /* Ultra-clean Palette */
  --color-page-bg: #FBFBFD;
  --color-surface-white: #FFFFFF;
  --color-surface-elevated: #F1F5F9;
  
  --color-navy-dark: #0F172A; /* Deep Oxford Slate Navy */
  --color-navy-card: #FFFFFF;
  --color-navy-elevated: #F8FAFC;
  --color-navy-border: #E2E8F0;
  --color-border-hover: #CBD5E1;
  
  --color-gold: #B8860B; /* Regal Antique Gold */
  --color-gold-hover: #9A7007;
  --color-gold-light: rgba(184, 134, 11, 0.08);
  --color-gold-badge: #FEFCE8;
  --color-gold-border: #FDE68A;
  
  --color-text-main: #0F172A; /* High Contrast Oxford Navy */
  --color-text-muted: #1E293B; /* Crisp Slate 800 (Very Legible) */
  --color-text-dim: #334155; /* Slate 700 (High Contrast Secondary) */
  --color-text-inverse: #FFFFFF;
  
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  --gradient-navy: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  --gradient-hero: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, rgba(251, 251, 253, 0) 70%), #FBFBFD;
  --gradient-ticker: linear-gradient(90deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-glass: 0 20px 40px -15px rgba(15, 23, 42, 0.07);
  --shadow-gold: 0 10px 25px -5px rgba(184, 134, 11, 0.25);
  
  --font-main: 'Plus Jakarta Sans', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--color-page-bg);
  color: var(--color-text-main);
  line-height: 1.72;
  letter-spacing: -0.012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography & Helpers */
.text-gold {
  color: var(--color-gold);
}

.text-gold-gradient {
  color: var(--color-gold);
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-gold);
  border: 1px solid rgba(184, 134, 11, 0.3);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.08);
}

.section-title-wrapper {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.25rem auto;
}

.section-title {
  font-size: 2.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.25;
  color: var(--color-navy-dark);
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.75;
}

/* High-Contrast Overrides for Dark Sections */
.section-dark .section-title,
.section-dark h2,
.section-dark h2.section-title {
  color: #FFFFFF !important;
}

.section-dark .section-subtitle,
.section-dark p,
.section-dark p.section-subtitle {
  color: #CBD5E1 !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.975rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #B8860B 0%, #9A7007 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(184, 134, 11, 0.35);
  background: linear-gradient(135deg, #C5A059 0%, #A67007 100%);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--color-navy-dark);
  border: 1px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--color-gold-badge);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-1px);
}

/* Announcement Top Bar */
.top-ticker {
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.65rem 1rem;
  text-align: center;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.top-ticker span {
  color: #FDE68A;
  font-weight: 800;
}

/* Header & Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-navy-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-img {
  transform: translateY(-1px);
}

.footer .logo-img {
  height: 56px;
}

.logo span {
  color: var(--color-gold);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  color: #0F172A;
  font-weight: 700;
  font-size: 1.025rem;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
  background: rgba(184, 134, 11, 0.08);
}

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

.nav-cta-btn {
  height: 44px;
  padding: 0 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
}

/* 4-Language Dropdown Switcher */
.lang-dropdown {
  position: relative;
}

.lang-select-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 44px;
  padding: 0 1.1rem;
  background: #FFFFFF;
  border: 1.5px solid #94A3B8;
  border-radius: var(--radius-full);
  color: var(--color-navy-dark);
  font-weight: 800;
  font-size: 0.925rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.lang-select-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 155px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 0.4rem;
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}

.lang-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
  color: #334155;
}

.lang-option:hover, .lang-option.active {
  background: rgba(184, 134, 11, 0.1);
  color: var(--color-gold);
}

/* Hero Section */
.hero {
  padding: 6.5rem 0 5.25rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--color-navy-dark);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 780px;
  margin: 0 auto 2.75rem auto;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Hero Stats Bar */
.hero-stats {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-glass);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  line-height: 1;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  font-weight: 600;
  line-height: 1.4;
}

/* Interactive Admissions Calculator Widget */
.calc-card {
  background: #FFFFFF;
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 28px;
  padding: 3rem 2.75rem;
  box-shadow: var(--shadow-glass);
  margin-top: 4rem;
  text-align: left;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.45rem;
}

.form-select, .form-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  padding: 0 1rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-navy-dark);
  background: #F8FAFC;
  transition: var(--transition);
  outline: none;
}

.form-select:focus, .form-input:focus {
  border-color: var(--color-gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.calc-result-box {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #FEFCE8;
  border: 1px solid #FDE68A;
  border-radius: 16px;
  color: var(--color-navy-dark);
  flex-direction: column;
  gap: 1rem;
  animation: fadeIn 0.3s ease;
}

.calc-result-box.active {
  display: flex;
}

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

/* Feature Matrix / Comparison Table */
.comparison-wrapper {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.75rem 2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #CBD5E1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table th.comparison-highlight {
  color: #FEF08A;
  font-weight: 900;
  font-size: 1.15rem;
  background: rgba(184, 134, 11, 0.25);
  border-left: 1.5px solid rgba(184, 134, 11, 0.4);
  border-right: 1.5px solid rgba(184, 134, 11, 0.4);
  text-align: center;
}

.comparison-table td {
  padding: 1.5rem 2rem;
  font-size: 1.05rem;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.comparison-table td.comparison-highlight {
  background: rgba(184, 134, 11, 0.15);
  font-weight: 700;
  color: #FFFFFF;
  border-left: 1.5px solid rgba(184, 134, 11, 0.3);
  border-right: 1.5px solid rgba(184, 134, 11, 0.3);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  font-weight: 800;
  font-size: 0.8rem;
  margin-right: 0.4rem;
}

.cross-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  font-weight: 800;
  font-size: 0.8rem;
  margin-right: 0.4rem;
}

/* Section Dark (High-Contrast White Text on Dark Navy) */
.section-dark {
  background-color: var(--color-navy-dark) !important;
  color: #FFFFFF !important;
  padding: 7.5rem 0;
}

.section-dark .section-title {
  color: #FFFFFF !important;
}

.section-dark .section-subtitle {
  color: #CBD5E1 !important;
}

.section-dark .badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FEF08A !important;
  border-color: rgba(254, 240, 138, 0.4) !important;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem;
}

.team-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(254, 240, 138, 0.5);
}

.team-card h3 {
  color: #FFFFFF !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.4rem !important;
}

.team-card [data-i18n*="role"], .team-role {
  color: #FEF08A !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  margin-bottom: 1rem !important;
}

.team-card p {
  color: #E2E8F0 !important;
  font-size: 1.025rem !important;
  line-height: 1.65 !important;
}

/* Cards & Sections */
.section {
  padding: 7.5rem 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 134, 11, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-gold-badge);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  border: 1px solid var(--color-gold-border);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 0.85rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.card-desc {
  font-size: 1.025rem;
  color: var(--color-text-muted);
  line-height: 1.72;
  font-weight: 400;
}

/* Page Banners for Secondary Pages */
.page-banner {
  padding: 5.5rem 0 4.25rem;
  background: var(--gradient-hero);
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-banner-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
}

.page-banner-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Case Studies Board Card Grid */
.case-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.25rem;
}

.case-board-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.case-board-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-dim);
}

.case-region-tag {
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  color: #334155;
}

.case-accepted-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.case-badge-pill {
  display: inline-block;
  background: #FEFCE8;
  color: #B8860B;
  border: 1px solid #FDE68A;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.case-quote {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  border-left: 3px solid var(--color-gold);
  padding-left: 0.85rem;
  margin-top: auto;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-gold);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.5s ease-in-out;
}

/* Footer */
.footer {
  background: var(--color-navy-dark);
  color: #FFFFFF;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col .logo {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-col p {
  color: #CBD5E1;
  font-size: 1.025rem;
  line-height: 1.7;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #E2E8F0;
  font-size: 1.025rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #FEF08A;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #CBD5E1;
  font-size: 0.95rem;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .calc-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 2.1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Board Segment Controls (Apple Style) */
.board-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.board-filters {
  display: inline-flex;
  background: #F1F5F9;
  padding: 0.35rem;
  border-radius: 9999px;
  gap: 0.25rem;
  border: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748B;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.filter-btn:hover {
  color: #0F172A;
}

.filter-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.9rem;
}

.search-input {
  width: 100%;
  height: 42px;
  padding: 0 1rem 0 2.5rem;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

/* ==========================================================================
   GLOBAL HIGH-CONTRAST OVERRIDES FOR DARK SECTIONS
   ========================================================================== */
.section-dark,
section.section-dark,
div.section-dark {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
}

.section-dark .section-title,
section.section-dark .section-title,
.section-dark h2 {
  color: #FFFFFF !important;
}

.section-dark .section-subtitle,
section.section-dark .section-subtitle {
  color: #CBD5E1 !important;
}

.section-dark .badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FEF08A !important;
  border: 1.5px solid rgba(254, 240, 138, 0.4) !important;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem;
}

.team-card {
  background: #1E293B !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px !important;
  padding: 2.5rem 2rem !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4) !important;
  text-align: center !important;
}

.team-card h3 {
  color: #FFFFFF !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.4rem !important;
}

.team-card .team-role,
.team-card [data-i18n*="role"] {
  color: #FEF08A !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  margin-bottom: 1rem !important;
}

.team-card p,
.team-card [data-i18n*="bio"] {
  color: #E2E8F0 !important;
  font-size: 1.025rem !important;
  line-height: 1.65 !important;
}
