/* ============================================================
   SmartBITS — design system
   Theme: deep navy base · emerald #10B981 primary (AI-forward)
          cyan #22D3EE secondary · warm accent (human moment)
           warm amber #F59E0B accent (human moment)
   ============================================================ */

:root {
  /* base — deep navy (darkened for AI-forward contrast) */
  --navy-950: #081120;
  --navy-900: #0b1526;
  --navy-850: #0e1b33;
  --navy-800: #142647;
  --navy-700: #1c2e52;
  --navy-600: #2a4270;

  /* brand — emerald primary (act / verified / success) */
  --green-500: #10b981;
  --green-400: #34d399;
  /* secondary — cyan (data / intelligence / links) */
  --cyan-400: #22d3ee;
  /* minor — blue (tech texture only, never primary) */
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  /* warm — the human moment (scarce) */
  --warm-500: #f59e0b;
  --warm-400: #fbbf24;

  /* text */
  --text-100: #e6edf7;
  --text-300: #b9c5da;
  --text-500: #8fa1bd;

  /* layout */
  --container: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 72px;
  --shadow-glow: 0 0 0 1px rgba(16, 185, 129, 0.35), 0 12px 40px -12px rgba(16, 185, 129, 0.25);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-300);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--cyan-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-400);
}

h1, h2, h3, h4 {
  color: var(--text-100);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
}

:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green-500);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green-500);
  color: #052e1b;
}

.btn-primary:hover {
  background: var(--green-400);
  color: #052e1b;
  box-shadow: 0 8px 28px -8px rgba(16, 185, 129, 0.55);
}

.btn-ghost {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.45);
  color: var(--text-100);
}

.btn-ghost:hover {
  border-color: var(--cyan-400);
  color: var(--text-100);
  background: rgba(16, 185, 129, 0.16);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 17, 32, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.14);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.main-nav a {
  color: var(--text-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--text-100);
}

.nav-lang,
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-lang {
  border: 1px solid var(--navy-600);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.8rem;
}

.nav-lang .lang-active {
  color: var(--green-400);
  font-weight: 700;
}

.nav-lang .lang-sep {
  color: var(--navy-600);
}

.nav-phone {
  color: var(--text-100);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  color: var(--green-400);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-sm);
  color: var(--text-100);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero.svg") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 45%, rgba(8, 17, 32, 0.1), rgba(8, 17, 32, 0.88) 78%),
    linear-gradient(180deg, rgba(8, 17, 32, 0.55) 0%, rgba(11, 21, 38, 0.72) 55%, var(--navy-900) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-400);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.07);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.hero h1 .accent {
  color: var(--warm-500);
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-300);
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--navy-950);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.section-header .eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 0.7rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-500);
  margin: 0;
}

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.service-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--green-400);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-500);
  margin: 0;
}

/* ---------- projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.project-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: var(--shadow-glow);
}

.project-thumb {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 70% 20%, rgba(16, 185, 129, 0.22), transparent 55%),
    radial-gradient(circle at 20% 85%, rgba(34, 211, 238, 0.12), transparent 50%),
    var(--navy-850);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(79, 172, 237, 0.5);
  border-bottom: 1px solid var(--navy-700);
  overflow: hidden;
}

.project-thumb svg {
  width: 56px;
  height: 56px;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.project-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-400);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.07);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.project-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-500);
  margin: 0;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.about-quote {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-100);
  font-style: italic;
  border-left: 3px solid var(--warm-500);
  padding-left: 1.1rem;
  margin-bottom: 1.6rem;
}

.about-text p {
  color: var(--text-300);
}

.about-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 1.8rem;
}

.chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-100);
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.partner-box {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.partner-box .partner-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 0.4rem;
}

.partner-box img {
  height: 52px;
  width: auto;
}

.certs-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.certs-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 1.6rem;
}

.certs-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.certs-row img {
  height: 92px;
  width: auto;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.6rem;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-400);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-list a,
.contact-list .contact-value {
  font-weight: 600;
  color: var(--text-100);
  font-size: 1.02rem;
}

.contact-list a:hover {
  color: var(--green-400);
}

.contact-list .contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-500);
}

.contact-form-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-300);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--navy-950);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-sm);
  color: var(--text-100);
  font: 400 0.98rem/1.5 var(--font);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-500);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-500);
  margin: 0.4rem 0 1.2rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.ok {
  display: block;
  color: #5fd39a;
}

.form-status.err {
  display: block;
  color: #ff8a7a;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  padding: 2.2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-500);
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.88rem;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-phone {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(8, 17, 32, 0.97);
    border-bottom: 1px solid var(--navy-700);
    margin: 0;
    padding: 1.2rem 1.4rem 1.6rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 90;
  }

  .main-nav.open {
    transform: none;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- cookie consent banner ---------- */
.consent-banner {
  position: fixed;
  bottom: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  z-index: 150;
  max-width: 660px;
  margin-inline: auto;
  background: rgba(14, 22, 40, 0.97);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.65);
  padding: 1.15rem 1.35rem;
}

.consent-banner[hidden] {
  display: none;
}

.consent-inner p {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--text-300);
}

.consent-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ============================================================
   Light theme — activated by <html data-theme="light">
   Brand chrome (header, hero, project artwork, footer) stays
   dark; body, sections, cards and forms switch to light.
   ============================================================ */
:root[data-theme="light"] {
  /* surfaces — light scale */
  --navy-950: #eef2f8;
  --navy-900: #f6f8fb;
  --navy-850: #ffffff;
  --navy-800: #ffffff;
  --navy-700: #dfe6f0;
  --navy-600: #c9d4e4;

  /* text — brand navy as ink */
  --text-100: #0b1526;
  --text-300: #3d4c66;
  --text-500: #6b7a94;

  /* accents — darkened for contrast on light surfaces */
  --green-500: #0e9f6e;
  --green-400: #059669;
  --cyan-400: #0e7490;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --warm-500: #d97706;
  --warm-400: #f59e0b;

  --shadow-glow: 0 0 0 1px rgba(5, 150, 105, 0.22), 0 12px 32px -14px rgba(11, 21, 38, 0.22);
}

/* --- light theme: header stays dark (white logo, light text) --- */
:root[data-theme="light"] .site-header {
  background: rgba(8, 17, 32, 0.85);
}

:root[data-theme="light"] .main-nav a {
  color: #b9c5da;
}

:root[data-theme="light"] .main-nav a:hover {
  color: #e6edf7;
}

:root[data-theme="light"] .nav-lang,
:root[data-theme="light"] .nav-phone {
  color: #b9c5da;
}

:root[data-theme="light"] .nav-lang .lang-active {
  color: #34d399;
}

:root[data-theme="light"] .nav-lang .lang-sep {
  color: #8fa1bd;
}

:root[data-theme="light"] .nav-phone:hover {
  color: #34d399;
}

:root[data-theme="light"] .nav-toggle {
  color: #e6edf7;
  border-color: #2a4270;
}

/* --- light theme: hero uses the light artwork (data URI — no new
     image file on the server, scanner-safe); text colors flow from
     the light tokens (navy h1, slate sub, dark-teal kicker) --- */
 :root[data-theme="light"] .hero-bg {
   background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201920%201080%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%20%20%3Cdefs%3E%0A%20%20%20%20%3ClinearGradient%20id%3D%22bg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23FDFEFF%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220.55%22%20stop-color%3D%22%23EDF3FB%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23DFE9F6%22%2F%3E%0A%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%3CradialGradient%20id%3D%22glowCyan%22%20cx%3D%220.5%22%20cy%3D%220.5%22%20r%3D%220.5%22%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2338BDF8%22%20stop-opacity%3D%220.28%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220.55%22%20stop-color%3D%22%2338BDF8%22%20stop-opacity%3D%220.1%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2338BDF8%22%20stop-opacity%3D%220%22%2F%3E%0A%20%20%20%20%3C%2FradialGradient%3E%0A%20%20%20%20%3CradialGradient%20id%3D%22glowBlue%22%20cx%3D%220.5%22%20cy%3D%220.5%22%20r%3D%220.5%22%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2334D399%22%20stop-opacity%3D%220.25%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220.6%22%20stop-color%3D%22%2334D399%22%20stop-opacity%3D%220.08%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2334D399%22%20stop-opacity%3D%220%22%2F%3E%0A%20%20%20%20%3C%2FradialGradient%3E%0A%20%20%20%20%3CradialGradient%20id%3D%22glowOrange%22%20cx%3D%220.5%22%20cy%3D%220.5%22%20r%3D%220.5%22%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23FBBF24%22%20stop-opacity%3D%220.4%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F59E0B%22%20stop-opacity%3D%220%22%2F%3E%0A%20%20%20%20%3C%2FradialGradient%3E%0A%20%20%20%20%3Cfilter%20id%3D%22soft%22%20x%3D%22-60%25%22%20y%3D%22-60%25%22%20width%3D%22220%25%22%20height%3D%22220%25%22%3E%0A%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%2212%22%2F%3E%0A%20%20%20%20%3C%2Ffilter%3E%0A%20%20%3C%2Fdefs%3E%0A%0A%20%20%3Crect%20width%3D%221920%22%20height%3D%221080%22%20fill%3D%22url%28%23bg%29%22%2F%3E%0A%0A%20%20%3C%21--%20ambient%20glows%20--%3E%0A%20%20%3Ccircle%20cx%3D%22430%22%20cy%3D%22450%22%20r%3D%22420%22%20fill%3D%22url%28%23glowCyan%29%22%2F%3E%0A%20%20%3Ccircle%20cx%3D%221500%22%20cy%3D%22420%22%20r%3D%22380%22%20fill%3D%22url%28%23glowBlue%29%22%2F%3E%0A%20%20%3Ccircle%20cx%3D%22960%22%20cy%3D%22900%22%20r%3D%22520%22%20fill%3D%22url%28%23glowBlue%29%22%20opacity%3D%220.6%22%2F%3E%0A%0A%20%20%3C%21--%20skyline%20silhouette%20--%3E%0A%20%20%3Cg%20fill%3D%22%2333456B%22%3E%0A%20%20%20%20%3Crect%20x%3D%2260%22%20%20y%3D%22700%22%20width%3D%2284%22%20%20height%3D%22380%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22170%22%20y%3D%22620%22%20width%3D%2264%22%20%20height%3D%22460%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22260%22%20y%3D%22760%22%20width%3D%22110%22%20height%3D%22320%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22400%22%20y%3D%22660%22%20width%3D%2270%22%20%20height%3D%22420%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22520%22%20y%3D%22800%22%20width%3D%22120%22%20height%3D%22280%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22680%22%20y%3D%22600%22%20width%3D%2258%22%20%20height%3D%22480%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22770%22%20y%3D%22740%22%20width%3D%2296%22%20%20height%3D%22340%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22900%22%20y%3D%22680%22%20width%3D%2272%22%20%20height%3D%22400%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221010%22%20y%3D%22820%22%20width%3D%22130%22%20height%3D%22260%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221180%22%20y%3D%22640%22%20width%3D%2266%22%20height%3D%22440%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221280%22%20y%3D%22770%22%20width%3D%22104%22%20height%3D%22310%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221420%22%20y%3D%22700%22%20width%3D%2280%22%20height%3D%22380%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221540%22%20y%3D%22790%22%20width%3D%22120%22%20height%3D%22290%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221700%22%20y%3D%22650%22%20width%3D%2270%22%20height%3D%22430%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221800%22%20y%3D%22760%22%20width%3D%22120%22%20height%3D%22320%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%20%20%3C%21--%20lit%20windows%20--%3E%0A%20%20%3Cg%20fill%3D%22%23D9E4F5%22%20opacity%3D%220.9%22%3E%0A%20%20%20%20%3Crect%20x%3D%22188%22%20y%3D%22650%22%20width%3D%2210%22%20height%3D%226%22%2F%3E%3Crect%20x%3D%22210%22%20y%3D%22690%22%20width%3D%2210%22%20height%3D%226%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22190%22%20y%3D%22760%22%20width%3D%2210%22%20height%3D%226%22%2F%3E%3Crect%20x%3D%22420%22%20y%3D%22690%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22438%22%20y%3D%22730%22%20width%3D%229%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%22694%22%20y%3D%22630%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22712%22%20y%3D%22668%22%20width%3D%229%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%22918%22%20y%3D%22710%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22940%22%20y%3D%22752%22%20width%3D%229%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%221196%22%20y%3D%22672%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221214%22%20y%3D%22712%22%20width%3D%229%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%221442%22%20y%3D%22728%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221718%22%20y%3D%22682%22%20width%3D%229%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%221736%22%20y%3D%22722%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%20%20%3Cg%20fill%3D%22%230FA97E%22%20opacity%3D%220.9%22%3E%0A%20%20%20%20%3Crect%20x%3D%22210%22%20y%3D%22650%22%20width%3D%2210%22%20height%3D%226%22%2F%3E%3Crect%20x%3D%22420%22%20y%3D%22770%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22712%22%20y%3D%22706%22%20width%3D%229%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%22918%22%20y%3D%22792%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221214%22%20y%3D%22672%22%20width%3D%229%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%221460%22%20y%3D%22768%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%221736%22%20y%3D%22682%22%20width%3D%229%22%20height%3D%225%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%0A%20%20%3C%21--%20circuit%20traces%20--%3E%0A%20%20%3Cg%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M-20%20300%20H310%20V430%20H560%22%20stroke%3D%22%23B9C9E2%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M-20%20360%20H250%20V560%20H470%22%20stroke%3D%22%23C9D6EA%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1940%20260%20H1560%20V410%20H1350%22%20stroke%3D%22%23B9C9E2%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1940%20330%20H1640%20V540%20H1470%22%20stroke%3D%22%23C9D6EA%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M640%201080%20V920%20H820%20V800%22%20stroke%3D%22%23C9D6EA%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1260%201080%20V940%20H1090%20V830%22%20stroke%3D%22%23B9C9E2%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22560%22%20cy%3D%22430%22%20r%3D%225%22%20fill%3D%22%23059669%22%20opacity%3D%220.8%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22470%22%20cy%3D%22560%22%20r%3D%224%22%20fill%3D%22%230E7490%22%20opacity%3D%220.7%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%221350%22%20cy%3D%22410%22%20r%3D%225%22%20fill%3D%22%23059669%22%20opacity%3D%220.8%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%221470%22%20cy%3D%22540%22%20r%3D%224%22%20fill%3D%22%230E7490%22%20opacity%3D%220.7%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22820%22%20cy%3D%22800%22%20r%3D%224%22%20fill%3D%22%23059669%22%20opacity%3D%220.7%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%221090%22%20cy%3D%22830%22%20r%3D%224%22%20fill%3D%22%230E7490%22%20opacity%3D%220.6%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%0A%20%20%3C%21--%20binary%20rain%20--%3E%0A%20%20%3Cg%20font-family%3D%22ui-monospace%2C%20monospace%22%20font-size%3D%2224%22%20fill%3D%22%230E7490%22%20opacity%3D%220.3%22%3E%0A%20%20%20%20%3Ctext%20x%3D%22700%22%20y%3D%22210%22%3E0%3Ctspan%20x%3D%22700%22%20dy%3D%2234%22%3E1%3C%2Ftspan%3E%3Ctspan%20x%3D%22700%22%20dy%3D%2234%22%3E0%3C%2Ftspan%3E%3Ctspan%20x%3D%22700%22%20dy%3D%2234%22%3E0%3C%2Ftspan%3E%3Ctspan%20x%3D%22700%22%20dy%3D%2234%22%3E1%3C%2Ftspan%3E%3C%2Ftext%3E%0A%20%20%20%20%3Ctext%20x%3D%221240%22%20y%3D%22160%22%3E1%3Ctspan%20x%3D%221240%22%20dy%3D%2234%22%3E0%3C%2Ftspan%3E%3Ctspan%20x%3D%221240%22%20dy%3D%2234%22%3E1%3C%2Ftspan%3E%3Ctspan%20x%3D%221240%22%20dy%3D%2234%22%3E1%3C%2Ftspan%3E%3C%2Ftext%3E%0A%20%20%20%20%3Ctext%20x%3D%22330%22%20y%3D%22170%22%3E1%3Ctspan%20x%3D%22330%22%20dy%3D%2234%22%3E1%3C%2Ftspan%3E%3Ctspan%20x%3D%22330%22%20dy%3D%2234%22%3E0%3C%2Ftspan%3E%3C%2Ftext%3E%0A%20%20%20%20%3Ctext%20x%3D%221580%22%20y%3D%22640%22%3E0%3Ctspan%20x%3D%221580%22%20dy%3D%2234%22%3E1%3C%2Ftspan%3E%3Ctspan%20x%3D%221580%22%20dy%3D%2234%22%3E0%3C%2Ftspan%3E%3C%2Ftext%3E%0A%20%20%3C%2Fg%3E%0A%0A%20%20%3C%21--%20diamond%20padlock%2C%20left%20--%3E%0A%20%20%3Cg%20transform%3D%22translate%28430%20450%29%22%3E%0A%20%20%20%20%3Cg%20transform%3D%22rotate%2845%29%22%3E%0A%20%20%20%20%20%20%3Crect%20x%3D%22-150%22%20y%3D%22-150%22%20width%3D%22300%22%20height%3D%22300%22%20rx%3D%2230%22%20fill%3D%22none%22%20stroke%3D%22%230891B2%22%20stroke-opacity%3D%220.45%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%20%20%3Crect%20x%3D%22-150%22%20y%3D%22-150%22%20width%3D%22300%22%20height%3D%22300%22%20rx%3D%2230%22%20fill%3D%22%230891B2%22%20opacity%3D%220.06%22%2F%3E%0A%20%20%20%20%20%20%3Crect%20x%3D%22-118%22%20y%3D%22-118%22%20width%3D%22236%22%20height%3D%22236%22%20rx%3D%2222%22%20fill%3D%22none%22%20stroke%3D%22%23059669%22%20stroke-opacity%3D%220.3%22%20stroke-width%3D%221.5%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3Cg%20filter%3D%22url%28%23soft%29%22%20opacity%3D%220.75%22%3E%0A%20%20%20%20%20%20%3Crect%20x%3D%22-52%22%20y%3D%22-30%22%20width%3D%22104%22%20height%3D%2286%22%20rx%3D%2216%22%20fill%3D%22%230EA5E9%22%20opacity%3D%220.3%22%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M-30%20-30%20v-20%20a30%2030%200%200%201%2060%200%20v20%22%20stroke%3D%22%230EA5E9%22%20stroke-width%3D%2216%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3Cpath%20d%3D%22M-30%20-30%20v-20%20a30%2030%200%200%201%2060%200%20v20%22%20stroke%3D%22%230891B2%22%20stroke-width%3D%229%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22-52%22%20y%3D%22-30%22%20width%3D%22104%22%20height%3D%2286%22%20rx%3D%2216%22%20fill%3D%22%23FFFFFF%22%20fill-opacity%3D%220.72%22%20stroke%3D%22%230891B2%22%20stroke-width%3D%224%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%220%22%20cy%3D%226%22%20r%3D%228%22%20fill%3D%22%230E7490%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22-4%22%20y%3D%228%22%20width%3D%228%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22%230E7490%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%0A%20%20%3C%21--%20diamond%20padlock%2C%20right%20%28smaller%29%20--%3E%0A%20%20%3Cg%20transform%3D%22translate%281500%20430%29%20scale%280.62%29%22%3E%0A%20%20%20%20%3Cg%20transform%3D%22rotate%2845%29%22%3E%0A%20%20%20%20%20%20%3Crect%20x%3D%22-150%22%20y%3D%22-150%22%20width%3D%22300%22%20height%3D%22300%22%20rx%3D%2230%22%20fill%3D%22none%22%20stroke%3D%22%23059669%22%20stroke-opacity%3D%220.4%22%20stroke-width%3D%222%22%2F%3E%0A%20%20%20%20%20%20%3Crect%20x%3D%22-150%22%20y%3D%22-150%22%20width%3D%22300%22%20height%3D%22300%22%20rx%3D%2230%22%20fill%3D%22%23059669%22%20opacity%3D%220.05%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3Cg%20filter%3D%22url%28%23soft%29%22%20opacity%3D%220.65%22%3E%0A%20%20%20%20%20%20%3Crect%20x%3D%22-52%22%20y%3D%22-30%22%20width%3D%22104%22%20height%3D%2286%22%20rx%3D%2216%22%20fill%3D%22%2334D399%22%20opacity%3D%220.3%22%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M-30%20-30%20v-20%20a30%2030%200%200%201%2060%200%20v20%22%20stroke%3D%22%2334D399%22%20stroke-width%3D%2216%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3Cpath%20d%3D%22M-30%20-30%20v-20%20a30%2030%200%200%201%2060%200%20v20%22%20stroke%3D%22%23059669%22%20stroke-width%3D%229%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22-52%22%20y%3D%22-30%22%20width%3D%22104%22%20height%3D%2286%22%20rx%3D%2216%22%20fill%3D%22%23FFFFFF%22%20fill-opacity%3D%220.72%22%20stroke%3D%22%23059669%22%20stroke-width%3D%224%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%220%22%20cy%3D%226%22%20r%3D%228%22%20fill%3D%22%23047857%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22-4%22%20y%3D%228%22%20width%3D%228%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22%23047857%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%0A%20%20%3C%21--%20tiny%20top%20diamond%20--%3E%0A%20%20%3Cg%20transform%3D%22translate%281010%20210%29%20scale%280.3%29%20rotate%2845%29%22%3E%0A%20%20%20%20%3Crect%20x%3D%22-150%22%20y%3D%22-150%22%20width%3D%22300%22%20height%3D%22300%22%20rx%3D%2230%22%20fill%3D%22none%22%20stroke%3D%22%230891B2%22%20stroke-opacity%3D%220.4%22%20stroke-width%3D%223%22%2F%3E%0A%20%20%20%20%3Crect%20x%3D%22-150%22%20y%3D%22-150%22%20width%3D%22300%22%20height%3D%22300%22%20rx%3D%2230%22%20fill%3D%22%230891B2%22%20opacity%3D%220.05%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%0A%20%20%3C%21--%20orange%20accent%20node%20--%3E%0A%20%20%3Ccircle%20cx%3D%221500%22%20cy%3D%22720%22%20r%3D%2230%22%20fill%3D%22url%28%23glowOrange%29%22%2F%3E%0A%20%20%3Ccircle%20cx%3D%221500%22%20cy%3D%22720%22%20r%3D%226%22%20fill%3D%22%23D97706%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M1500%20700%20V660%20M1500%20740%20V780%20M1480%20720%20H1440%20M1520%20720%20H1560%22%20stroke%3D%22%23D97706%22%20stroke-opacity%3D%220.5%22%20stroke-width%3D%222%22%2F%3E%0A%0A%20%20%3C%21--%20floating%20particles%20--%3E%0A%20%20%3Cg%20fill%3D%22%230E7490%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22760%22%20cy%3D%22520%22%20r%3D%223%22%20opacity%3D%220.5%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22880%22%20cy%3D%22380%22%20r%3D%222.5%22%20opacity%3D%220.4%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%221150%22%20cy%3D%22560%22%20r%3D%223%22%20opacity%3D%220.5%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%221330%22%20cy%3D%22300%22%20r%3D%222.5%22%20opacity%3D%220.4%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22600%22%20cy%3D%22260%22%20r%3D%222%22%20opacity%3D%220.35%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%221720%22%20cy%3D%22520%22%20r%3D%222.5%22%20opacity%3D%220.4%22%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22240%22%20cy%3D%22380%22%20r%3D%222.5%22%20opacity%3D%220.4%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A") center / cover no-repeat;
}

 :root[data-theme="light"] .hero-bg::after {
  background: linear-gradient(180deg, rgba(246, 248, 251, 0) 55%,
               var(--navy-900) 100%);
}

/* --- light theme: footer stays dark --- */
:root[data-theme="light"] .site-footer {
  background: #081120;
  border-top-color: rgba(16, 185, 129, 0.12);
}

:root[data-theme="light"] .footer-inner p {
  color: #8fa1bd;
}

:root[data-theme="light"] .footer-links a {
  color: #b9c5da;
}

:root[data-theme="light"] .footer-links a:hover {
  color: #34d399;
}

/* --- light theme: cookie banner goes light --- */
:root[data-theme="light"] .consent-banner {
  background: rgba(255, 255, 255, 0.97);
  border-color: #dfe6f0;
  box-shadow: 0 18px 50px -12px rgba(11, 21, 38, 0.18);
}

/* --- theme toggle button (lives in the dark header, both themes) --- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid #3d5a8f;
  background: rgba(13, 22, 38, 0.5);
  color: #cdd8ea;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  color: #34d399;
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.08);
}

.theme-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}
