/* ==========================================================================
   CODILITE.COM — MASTER PRODUCTION STYLESHEET
   Brand Accent: rgb(11, 56, 65)
   Theme: Executive Light / High Contrast / Technical Precision
   Typography: Lato & IBM Plex Sans Arabic / Geist Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

:root {
  --brand: rgb(11, 56, 65);
  --brand-hover: rgb(7, 38, 44);
  --brand-light: rgba(11, 56, 65, 0.08);
  --brand-border: rgba(11, 56, 65, 0.18);
  --brand-glow: rgba(11, 56, 65, 0.25);
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --ink: rgb(11, 56, 65);
  --sub: #334155;
  --lab: #64748b;
  --border: #e2e8f0;
  --border-subtle: #edf2f7;
  --surface-border-subtle: #e2e8f0;
  --surface-card: #ffffff;
  --surface-ground: #f8fafc;

  /* Aliases for backwards compatibility */
  --red: rgb(11, 56, 65);
  --accent: #5eead4;
  --teal: #0d4652;

  --font-ibm-plex-arabic: 'IBM Plex Sans Arabic', 'Lato', -apple-system, sans-serif;
  --font-lato: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-main: var(--font-lato);
  --font-heading: var(--font-ibm-plex-arabic);
  
  /* Aliases for legacy tokens */
  --font-sg: var(--font-ibm-plex-arabic);
  --font-jb: 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-page);
  color: var(--ink);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-page);
  color: var(--sub);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  color: var(--sub);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

ul, ol {
  padding-left: 1.25rem;
}

/* ==================== 1. SITE HEADER & NAVIGATION ==================== */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 90;
}

.brand-container, .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-container a, .logo-container a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-svg {
  width: 38px;
  height: 38px;
  stroke: var(--brand);
  stroke-width: 2.8;
  fill: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: #0d9488;
}

/* Desktop Navigation */
nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
}

nav.desktop-nav a {
  color: var(--brand);
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  position: relative;
}

nav.desktop-nav a:hover, nav.desktop-nav a.active {
  color: #0d9488;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.chevron-icon {
  width: 10px;
  height: 6px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-pane {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(11, 56, 65, 0.08);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-pane {
  display: flex;
}

.dropdown-pane a {
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--brand);
  display: block;
}

.dropdown-pane a:hover {
  background: var(--brand-light);
  color: var(--brand);
  opacity: 1;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand);
  color: #ffffff !important;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(11, 56, 65, 0.15);
  text-decoration: none;
}

.btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 56, 65, 0.25);
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand) !important;
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

.btn-top {
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
}

.arrow-icon {
  width: 18px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(3px);
}

/* Burger Button for Mobile */
.burger-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
}

.burger-box {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: var(--brand);
  transition: all 0.25s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background: #ffffff;
  z-index: 85;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

body.menu-open .mobile-menu-overlay,
body.nav-open .mobile-menu-overlay,
.mobile-menu-overlay.active {
  display: flex !important;
}

.menu-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.menu-eyebrow {
  font-family: var(--font-jb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lab);
  margin-bottom: 1.25rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.mobile-accordion-toggle {
  cursor: pointer;
  user-select: none;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0 0.75rem 1rem;
}

.mobile-submenu.active {
  display: flex;
}

.mobile-submenu a {
  font-size: 1rem;
  color: var(--sub);
}

.menu-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ==================== 2. MAIN CONTENT SECTIONS ==================== */
.content-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-eyebrow {
  font-family: var(--font-jb);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-family: var(--font-main);
  font-size: 1.12rem;
  color: var(--sub);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 3.5rem;
}

/* ==================== 3. CARDS & GRID ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(11, 56, 65, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 14px 34px rgba(11, 56, 65, 0.09);
}

.card-num {
  font-family: var(--font-jb);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-light);
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 1.25rem;
  border-radius: 3px;
}

.card-title, .card h2, .card h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand) !important;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.card-text {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--sub);
  line-height: 1.65;
}

/* Highlight / Scope Notice Box */
.notice-box {
  background: rgba(11, 56, 65, 0.05);
  border-left: 4px solid var(--brand);
  padding: 1.5rem 2rem;
  margin-bottom: 3.5rem;
  border-radius: 0 4px 4px 0;
}

.notice-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--brand) !important;
  margin-bottom: 0.4rem;
}

.notice-box p {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--sub);
  line-height: 1.6;
}

/* Sub-card evaluation / deliverable boxes */
.eval-box {
  background: #f8fafc;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.eval-box h4 {
  color: var(--brand) !important;
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.eval-box ul {
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--sub);
  line-height: 1.6;
  padding-left: 1.2rem;
}

/* ==================== 4. CONSULTATION DRAWER ==================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 56, 65, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.consultation-drawer, .drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 520px;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid var(--border);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.75rem;
  overflow-y: auto;
}

body.drawer-open .drawer-backdrop,
.drawer-backdrop.active,
.consultation-drawer.active ~ .drawer-backdrop,
.consultation-drawer.active .drawer-backdrop,
#consultationDrawer.active .drawer-backdrop {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.drawer-open .consultation-drawer,
body.drawer-open .drawer,
.consultation-drawer.active,
.drawer.active,
#consultationDrawer.active .drawer-panel,
#consultationDrawer.active {
  transform: translateX(0) !important;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand);
}

.drawer-close-btn, .drawer-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--brand);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  border-radius: 4px;
}

/* Forms */
.drawer-panel {
  position: relative;
  width: 100%;
}

.form-notice {
  font-size: 0.85rem;
  color: var(--lab);
  margin-top: 1rem;
  line-height: 1.5;
}

.form-group, .d-group {
  margin-bottom: 1.25rem;
}

.form-label, .d-label {
  display: block;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea, .d-input, .d-select, .d-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--brand);
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus, .d-input:focus, .d-select:focus, .d-textarea:focus {
  border-color: var(--brand);
  background: #ffffff;
}

.form-textarea, .d-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-status, .d-status {
  margin-top: 15px;
  padding: 12px;
  font-size: 13.5px;
  display: none;
  border-radius: 4px;
}

.form-status.ok, .form-status.success, .d-status.ok {
  display: block;
  background: rgba(30, 200, 100, 0.12);
  border: 1px solid #10b981;
  color: #065f46;
}

.form-status.err, .form-status.error, .d-status.err {
  display: block;
  background: rgba(220, 30, 30, 0.12);
  border: 1px solid #ef4444;
  color: #991b1b;
}

.hp-field {
  display: none !important;
}

/* ==================== 5. FAQ ACCORDION ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open, .faq-item.active {
  border-color: var(--brand);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item.open .faq-toggle-icon,
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-family: var(--font-main);
  font-size: 0.98rem;
  color: var(--sub);
  line-height: 1.65;
}

.faq-item.open .faq-answer,
.faq-item.active .faq-answer {
  display: block !important;
}

/* ==================== CLEAN BORDERLESS 2-COLUMN FAQ (NO BOXES) ==================== */
.faq-clean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  align-items: start;
  margin-top: 2rem;
}

.faq-clean-column {
  display: flex;
  flex-direction: column;
}

.faq-line-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: border-color 0.2s ease;
}

.faq-line-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-line-item:hover {
  border-color: rgba(11, 56, 65, 0.4);
}

.faq-line-item.open {
  border-color: var(--brand);
}

.faq-toggle-btn {
  width: 100%;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  gap: 1rem;
}

.faq-meta-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
}

.faq-category-label {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d9488;
}

.faq-headline {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.4;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.faq-toggle-btn:hover .faq-headline {
  color: #0d9488;
}

.faq-toggle-sign {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  margin-top: -2px;
}

.faq-line-item.open .faq-toggle-sign {
  transform: rotate(45deg);
  color: #0d9488;
}

.faq-answer-panel {
  display: none;
  padding: 0 0 1.25rem 0;
}

.faq-line-item.open .faq-answer-panel {
  display: block;
}

.faq-answer-panel p {
  font-family: var(--font-main);
  font-size: 0.94rem;
  color: var(--sub);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 960px) {
  .faq-clean-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-clean-column:last-child .faq-line-item:first-child {
    border-top: none;
  }
}


/* ==================== OPTIMIZED & MINIMIZED UNBOXED FOOTER ==================== */
footer.site-footer {
  position: relative;
  background: #06181c;
  color: #94a3b8;
  padding: 3rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-main, 'Lato', sans-serif);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 1. Status row */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-status-minimal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-minimal-text {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #5eead4;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-back-to-top {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.footer-back-to-top:hover {
  color: #5eead4;
}

/* 2. Main Columns Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 2.25rem;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand-svg {
  width: 22px;
  height: 22px;
  stroke: #5eead4;
  stroke-width: 2;
  fill: none;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-brand-name .dot-accent {
  color: #5eead4;
}

.footer-brand-mission {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 1.25rem 0;
  max-width: 320px;
}

.footer-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.85rem;
}

.meta-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #64748b;
  text-transform: uppercase;
}

.meta-link {
  color: #5eead4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.meta-link:hover {
  color: #ffffff;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

.footer-minimal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-minimal-list li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-minimal-list li a:hover {
  color: #5eead4;
}

.footer-scope-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 1rem 0;
}

.footer-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5eead4;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-action-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-scope-response {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #64748b;
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

/* 3. Frameworks strip (pure text, no boxes) */
.footer-frameworks-row {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  margin-bottom: 1.75rem;
}

.frameworks-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #5eead4;
  font-weight: 700;
  white-space: nowrap;
}

.frameworks-text {
  color: #94a3b8;
  line-height: 1.5;
}

/* 4. Bottom legal bar */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #5eead4;
}

.footer-legal-links .sep {
  color: #475569;
}

.footer-security-note {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  color: #64748b;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-top-row, .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
