/* =========================================================
   Nexora Digital — Stylesheet
   ========================================================= */

:root {
  /* Color */
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --surface-soft: #EEF0F9;
  --ink: #0E1224;
  --ink-muted: #5B6178;
  --ink-faint: #9198B0;
  --navy: #0B0F1E;
  --navy-surface: #151A30;
  --navy-surface-2: #1C223E;
  --navy-text: #E7E9F5;
  --navy-text-muted: #939AB8;
  --accent: #5B4CFF;
  --accent-ink: #4636E0;
  --accent-soft: #EDEBFF;
  --accent-2: #14C9B7;
  --accent-2-soft: #E2FBF7;
  --border: #E4E6F0;
  --border-navy: rgba(231, 233, 245, 0.12);

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(14, 18, 36, 0.04), 0 12px 32px -12px rgba(14, 18, 36, 0.12);
  --shadow-card-hover: 0 1px 2px rgba(14, 18, 36, 0.06), 0 20px 40px -14px rgba(14, 18, 36, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; pointer-events: auto; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; pointer-events: auto; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section {
  padding: 96px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 17px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(91, 76, 255, 0.55);
}
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy-text);
  border-color: var(--border-navy);
}
.btn-ghost-dark:hover { border-color: var(--navy-text); transform: translateY(-1px); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 247, 251, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 70px !important;
  height: auto;
  display: block;
}
.brand-mark svg { width: 16px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 20px;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--surface-soft); }
.nav-link.active { color: var(--ink); background: var(--accent-soft); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------- Waveform divider ---------- */
.waveform-divider {
  width: 100%;
  height: 46px;
  display: block;
  margin: 0;
}
.waveform-divider path {
  fill: none;
  stroke: url(#waveGradient);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.waveform-divider.in-view path { stroke-dashoffset: 0; }
.waveform-divider.on-dark path { stroke: url(#waveGradientDark); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--navy-text);
  padding: 76px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 88px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-top: 18px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--navy-text-muted);
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.trust-row {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--border-navy);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-row span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-text-muted);
}
.trust-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
}
.trust-stat small {
  font-size: 12.5px;
  color: var(--navy-text-muted);
}

/* Hero chat mock panel */
.mock-panel {
  background: var(--navy-surface);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
}
.mock-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-navy);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); }
.mock-panel-head span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--navy-text-muted);
  letter-spacing: 0.04em;
}
.mock-thread { display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.mock-msg {
  max-width: 80%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.5s ease forwards;
}
.mock-msg.bot {
  align-self: flex-start;
  background: var(--navy-surface-2);
  color: var(--navy-text);
  border-bottom-left-radius: 2px;
}
.mock-msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 2px;
}
.mock-msg.voice {
  align-self: flex-start;
  background: var(--navy-surface-2);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.mock-msg.d1 { animation-delay: 0.2s; }
.mock-msg.d2 { animation-delay: 0.9s; }
.mock-msg.d3 { animation-delay: 1.6s; }
.mock-msg.d4 { animation-delay: 2.3s; }
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }

.mock-wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.mock-wave span {
  width: 3px;
  background: var(--accent-2);
  border-radius: 2px;
  animation: waveBar 1.1s ease-in-out infinite;
}
.mock-wave span:nth-child(1) { height: 6px; animation-delay: 0s; }
.mock-wave span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.mock-wave span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.mock-wave span:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.mock-wave span:nth-child(5) { height: 8px; animation-delay: 0.4s; }
.mock-wave span:nth-child(6) { height: 13px; animation-delay: 0.5s; }
@keyframes waveBar { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

.mock-typing { display: flex; gap: 4px; padding: 12px 14px; }
.mock-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy-text-muted);
  animation: bounce 1.3s infinite ease-in-out both;
}
.mock-typing span:nth-child(1) { animation-delay: -0.3s; }
.mock-typing span:nth-child(2) { animation-delay: -0.15s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* ---------- Logo strip ---------- */
.logo-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.logo-strip .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.logo-strip-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.logo-strip-marks {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-faint);
}

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: #DADEEE; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 21px; height: 21px; }
.icon-violet { background: var(--accent-soft); color: var(--accent-ink); }
.icon-teal { background: var(--accent-2-soft); color: #0C8478; }

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--ink-muted); font-size: 15px; }

/* ---------- Service category blocks ---------- */
.service-category { margin-bottom: 64px; }
.service-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.service-category-head h2 { font-size: 26px; }
.service-category-head p { color: var(--ink-muted); font-size: 15px; max-width: 380px; text-align: right; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.service-detail li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}
.service-detail li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--accent-2); }

/* ---------- Process steps ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-step { position: relative; padding-top: 6px; }
.process-step .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.process-step h3 { margin-top: 12px; font-size: 18px; }
.process-step p { margin-top: 8px; color: var(--ink-muted); font-size: 14.5px; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy);
  color: var(--navy-text);
  padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  color: #fff;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--navy-text-muted);
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.testimonial p.quote {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 780px;
}
.testimonial-attr { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.testimonial-attr b { display: block; font-size: 14.5px; }
.testimonial-attr span { font-size: 13px; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #1A1440, var(--navy) 60%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); max-width: 480px; }
.cta-band p { color: var(--navy-text-muted); margin-top: 10px; }

/* ---------- Page header ---------- */
.page-header {
  background: var(--navy);
  color: var(--navy-text);
  padding: 64px 0 60px;
}
.page-header h1 { font-size: clamp(32px, 4.2vw, 46px); color: #fff; margin-top: 16px; max-width: 680px; }
.page-header p { margin-top: 16px; color: var(--navy-text-muted); font-size: 17px; max-width: 560px; }

/* ---------- About page ---------- */
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-item { display: flex; gap: 16px; }
.value-item .num { font-family: var(--font-mono); color: var(--accent); font-size: 13px; flex-shrink: 0; padding-top: 3px; }
.value-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.value-item p { font-size: 14.5px; color: var(--ink-muted); }

.split-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.split-block img, .split-panel {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-surface), var(--navy));
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  color: var(--navy-text);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-info-card h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.contact-info-card > p { color: var(--navy-text-muted); font-size: 14.5px; margin-bottom: 28px; }
.contact-info-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid var(--border-navy);
}
.contact-info-row:first-of-type { border-top: none; }
.contact-info-row svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.contact-info-row b { display: block; font-size: 14px; color: #fff; }
.contact-info-row span { font-size: 13.5px; color: var(--navy-text-muted); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-error {
  display: none;
  font-size: 12.5px;
  color: #D64545;
  margin-top: 6px;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D64545; }
.field.invalid .field-error { display: block; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--accent-2-soft);
  color: #0C8478;
  align-items: center;
  gap: 10px;
}
.form-status.show { display: flex; }
.form-status svg { width: 17px; height: 17px; flex-shrink: 0; }

.faq-mini { margin-top: 20px; }
.faq-item { border-top: 1px solid var(--border); padding: 18px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 18px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 10px; color: var(--ink-muted); font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 100;
  background: var(--navy);
  color: var(--navy-text-muted);
  padding: 36px 0 20px;
}
.site-footer a {
  position: relative;
  z-index: 101;
  cursor: pointer;
  pointer-events: auto !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-navy);
}
.footer-brand p { 
  margin-top: 8px; 
  font-size: 13.5px; 
  max-width: 280px; 
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-text);
  margin-bottom: 10px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col a { font-size: 13.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.footer-socials {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.05);
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: var(--accent, #5B4CFF);
  border-color: var(--accent, #5B4CFF);
  color: #FFFFFF !important;
}

.footer-socials svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
  stroke: #FFFFFF !important;
}

/* ---------- Chatbot IFRAME (Non-blocking Fix) ---------- */
.chatbot-iframe {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  z-index: 9999;
  pointer-events: none !important; /* CRITICAL: Prevents invisible iframe area from blocking page clicks */
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 56px; }
  .grid-2, .grid-3, .grid-4, .process-list, .value-list, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .service-category-head { flex-direction: column; align-items: flex-start; }
  .service-category-head p { text-align: left; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .process-list, .value-list, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 36px; flex-direction: column; align-items: flex-start; }
  .logo-strip .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ---------- Mobile Drawer Navigation Setup ---------- */
@media (max-width: 992px) {
  .desktop-only,
  .site-header .nav-links,
  .site-header .nav-actions {
    display: none !important;
  }

  .site-header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1001;
    pointer-events: auto !important;
  }

  .nav-toggle svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke: #2563eb;
  }

  /* Overlay Background */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 15, 30, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
    pointer-events: auto !important;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Slide-Out Mobile Drawer (Position & Padding Fix) */
  .mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82vw;
    max-width: 320px;
    height: 100vh;
    background: #0d1322;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding: 28px 24px; /* Proper padding off the screen edge */
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    visibility: hidden;
    pointer-events: auto !important;
  }

  .mobile-drawer.active {
    right: 0;
    visibility: visible;
  }

  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .mobile-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    pointer-events: auto !important;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    width: 100%;
  }

  /* Link clickability and touch area fix */
  .mobile-nav-link,
  .mobile-drawer a {
    color: #f8fafc;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 8px 0;
    display: block;
    position: relative;
    z-index: 10002;
    pointer-events: auto !important;
    touch-action: manipulation;
    transition: color 0.2s ease;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    color: #8b7cff;
  }

  .mobile-cta {
    margin-top: 24px;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 10002;
    pointer-events: auto !important;
  }

  .mobile-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Hide Mobile Drawer & Overlay on Desktop ---------- */
@media (min-width: 993px) {
  .mobile-drawer,
  .mobile-overlay,
  .mobile-close-btn,
  .nav-toggle {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
  }

  .nav-actions {
    display: flex !important;
  }
}

/* ==========================================================================
   Brand & Logo Sizing Fixes
   ========================================================================== */

/* Header & General Brand Link */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #1e293b;
}

/* Header Brand Mark Container */
.site-header .brand-mark {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Prevents container squishing */
}

/* Header Logo Image */
.site-header .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Prevents distortion */
  display: block;
}

/* Mobile Drawer Brand Mark Container */
.mobile-drawer-header .brand-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile Drawer Logo Image */
.mobile-drawer-header .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Footer Brand Image Override */
.footer-brand .brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  top: 0 !important; /* Cleans up hardcoded inline style offsets */
}

/* ==========================================================================
   Desktop vs Mobile Visibility Guardrails
   ========================================================================== */

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .nav-toggle,
  .mobile-drawer,
  .mobile-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE DRAWER & DESKTOP NAVIGATION FIX
   ========================================================================== */

/* 1. COMPLETELY HIDE MOBILE DRAWER & OVERLAY ON DESKTOP SCREENS */
@media (min-width: 769px) {
  .mobile-drawer,
  .mobile-overlay,
  .mobile-close-btn,
  .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .site-header .desktop-only {
    display: flex !important;
  }
}

/* 2. BASE STYLES FOR MOBILE DRAWER (SLIDE-OUT OFF-SCREEN BY DEFAULT) */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.mobile-overlay.active {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 999;
  padding: 1.5rem;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transform: translateX(-100%); /* Keeps it hidden off-screen until opened */
  transition: transform 0.3s ease-in-out;
}

.mobile-drawer.open,
.mobile-drawer.active {
  transform: translateX(0); /* Slides in when opened */
}

/* 3. DESKTOP HEADER FLEXBOX LAYOUT ALIGNMENT */
.site-header .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-header .brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Overlay covering the rest of the screen */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-out Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #0b0f19;
  z-index: 999;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

/* Ensure Mobile Drawer is hidden off-screen by default */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 998;
  display: none;
}

.mobile-overlay.active {
  display: block !important;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background-color: #0b0f19;
  z-index: 999;
  padding: 1.5rem;
  transform: translateX(100%); /* Keeps drawer off-screen */
  transition: transform 0.3s ease-in-out;
}

.mobile-drawer.open {
  transform: translateX(0) !important; /* Displays drawer on click */
}

/* Hide Mobile Elements on Desktop View */
@media (min-width: 769px) {
  .mobile-drawer,
  .mobile-overlay,
  .nav-toggle {
    display: none !important;
  }
}
/* Keep Mobile Drawer off-screen on desktop */
aside.mobile-drawer {
  display: none !important;
}

@media (max-width: 768px) {
  aside.mobile-drawer {
    display: flex !important;
  }
}

<style>
  /* Force hide drawer on desktop screens directly from HTML */
  @media screen and (min-width: 769px) {
    .mobile-drawer,
    #mobileDrawer,
    .mobile-overlay {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
  }
</style>

<style>
  /* Permanently hide mobile drawer & overlay on PC / Desktop */
  @media screen and (min-width: 769px) {
    #mobileDrawer,
    #mobileOverlay,
    .mobile-drawer,
    .mobile-overlay {
      display: none !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }
  }

  /* Show drawer on Mobile / Phone screens */
  @media screen and (max-width: 768px) {
    .mobile-drawer {
      display: flex;
    }
  }
</style>