:root {
  --bg: #07111a;
  --bg-deep: #040b13;
  --panel: rgba(8, 20, 32, 0.7);
  --panel-strong: rgba(8, 20, 32, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f8fc;
  --muted: #b8c5d4;
  --blue: #1291d2;
  --teal: #46b7a6;
  --gold: #f4b000;
  --silver: #8a8c91;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(18, 145, 210, 0.18), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(70, 183, 166, 0.16), transparent 25%),
    radial-gradient(circle at 50% 120%, rgba(244, 176, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #09111a 0%, #07111a 42%, #040b13 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

body::after {
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.04) 46%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
  opacity: 0.4;
}

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

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

#app {
  min-height: 100vh;
}

.site-shell {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--teal) 42%, var(--gold));
  box-shadow: 0 0 18px rgba(18, 145, 210, 0.35);
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-a {
  top: 8rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(18, 145, 210, 0.42);
}

.ambient-b {
  top: 22rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(70, 183, 166, 0.24);
}

.ambient-c {
  bottom: 8rem;
  left: 40%;
  width: 22rem;
  height: 22rem;
  background: rgba(244, 176, 0, 0.14);
}

.topbar,
.section,
.footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  position: static;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  max-width: min(calc(100% - 2rem), 1400px);
  gap: 1.2rem;
  margin-top: 0.55rem;
  padding: 0.42rem 0.8rem;
  background: rgba(7, 17, 26, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.45;
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: min(235px, 31vw);
}

.brand img {
  width: 100%;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 0 0 auto;
}

.nav a {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 176, 0, 0.35);
  background: linear-gradient(135deg, #f4b000 0%, #ffd34f 100%);
  color: #0a1016;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 40px rgba(244, 176, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(244, 176, 0, 0.28);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-ghost {
  min-width: 110px;
  margin-left: 0.3rem;
  margin-right: 0.25rem;
  padding: 0.64rem 1rem;
}

.section {
  padding: 7rem 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding-top: 5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  will-change: transform;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #d8e0eb;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  font-family: "Avenir Next Condensed", "Arial Narrow", "Avenir Next", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.93;
  margin: 1.15rem 0 1.2rem;
}

.hero h1 {
  font-size: clamp(3.6rem, 7vw, 7rem);
  max-width: 12ch;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.hero h1 span {
  background: linear-gradient(120deg, #8fd4ff, #7bf4de 48%, #ffd24c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead,
.section-heading p,
.benefit-card p,
.service-card p,
.timeline-card p,
.contact-copy p,
.form-note,
.footer p,
.metrics p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 56ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.fact-card,
.benefit-card,
.service-card,
.timeline-card,
.contact-panel,
.metrics,
.legal-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.fact-card::before,
.benefit-card::before,
.service-card::before,
.timeline-card::before,
.metrics article::before,
.contact-info article::before,
.contact-form label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.fact-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.fact-card strong,
.metric-value {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1600px;
  will-change: transform;
}

.energy-frame {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1.08;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at top, rgba(18, 145, 210, 0.18), transparent 38%);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
}

.energy-frame::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.energy-noise {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(18, 145, 210, 0.16), transparent 22%),
    radial-gradient(circle at 78% 32%, rgba(70, 183, 166, 0.18), transparent 18%),
    radial-gradient(circle at 50% 82%, rgba(244, 176, 0, 0.14), transparent 18%);
  filter: blur(18px);
}

.energy-orbit {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  will-change: transform;
}

.orbit-b {
  inset: 24%;
}

.energy-trace {
  position: absolute;
  left: 15%;
  right: 15%;
  height: 2px;
  transform-origin: center;
  border-radius: 999px;
  filter: drop-shadow(0 0 10px rgba(18, 145, 210, 0.5));
  will-change: opacity, transform;
}

.trace-a {
  top: 34%;
  background: linear-gradient(90deg, transparent, var(--blue), var(--teal), transparent);
  transform: rotate(-24deg);
}

.trace-b {
  top: 56%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
  transform: rotate(27deg);
}

.trace-c {
  top: 68%;
  left: 22%;
  right: 22%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: rotate(-34deg);
}

.energy-center {
  position: absolute;
  inset: 50%;
  width: min(62%, 300px);
  height: 130px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding: 1.1rem 1.5rem;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(10, 22, 33, 0.94), rgba(6, 15, 24, 0.9)),
    radial-gradient(circle at top, rgba(18, 145, 210, 0.16), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  will-change: transform;
}

.energy-center img {
  width: 100%;
}

.energy-panel {
  position: absolute;
  z-index: 1;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(8, 20, 32, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 170px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.energy-panel strong {
  display: block;
}

.energy-panel span,
.timeline-card span,
.contact-info span {
  display: block;
  color: #9cb1c6;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.panel-a {
  top: 12%;
  left: 8%;
}

.panel-b {
  top: 18%;
  right: 6%;
}

.panel-c {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.energy-ping {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(244, 176, 0, 0.85);
  box-shadow: 0 0 20px rgba(244, 176, 0, 0.55);
  will-change: opacity, transform;
}

.ping-a {
  top: 27%;
  left: 29%;
}

.ping-b {
  bottom: 28%;
  right: 27%;
  background: rgba(18, 145, 210, 0.85);
  box-shadow: 0 0 20px rgba(18, 145, 210, 0.55);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 28px;
}

.metrics article {
  position: relative;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.4rem;
  min-width: 0;
}

.section-heading h2 {
  font-size: clamp(2.7rem, 4.9vw, 4.8rem);
  max-width: 11ch;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.benefit-card,
.timeline-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transform-style: preserve-3d;
}

.benefit-card h3,
.service-card h3,
.timeline-card h3,
.contact-copy h2,
.legal-card h1,
.legal-card h2 {
  margin: 0 0 0.8rem;
  letter-spacing: -0.03em;
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.4rem;
  padding: 1.55rem;
  border-radius: 28px;
}

.service-index {
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 145, 210, 0.18), rgba(70, 183, 166, 0.08));
  border: 1px solid rgba(18, 145, 210, 0.3);
  font-size: 1.5rem;
  font-weight: 700;
  color: #99ddff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 1.5rem;
  border-radius: 34px;
  padding: 1.6rem;
}

.contact-copy h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.contact-info {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-copy,
.contact-form,
.footer,
.footer > div {
  min-width: 0;
}

.contact-info article,
.contact-form label {
  position: relative;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: #dde7f2;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  outline: none;
  resize: vertical;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 1rem;
  border-radius: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #88a0b7;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 3rem;
}

.footer img {
  width: min(320px, 62vw);
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.legal-page {
  padding: 3rem 0 5rem;
}

.legal-top {
  margin-bottom: 2rem;
}

.legal-card {
  width: min(calc(100% - 2rem), 880px);
  margin: 0 auto;
  padding: 2rem;
  border-radius: 32px;
}

.legal-card h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.legal-card ul {
  padding-left: 1.2rem;
}

@media (max-width: 1080px) {
  .hero,
  .contact-panel,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .section-heading h2,
  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .scroll-progress {
    display: none;
  }

  .topbar {
    display: flex;
    width: min(calc(100% - 2rem), var(--container));
    flex-wrap: wrap;
    gap: 0.8rem;
    border-radius: 24px;
    margin-top: 0.65rem;
    padding: 0.72rem 0.95rem;
    backdrop-filter: blur(10px);
  }

  .brand {
    width: min(220px, 78vw);
  }

  .nav,
  .hero-facts,
  .metrics,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: flex;
    width: 100%;
    gap: 0.9rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-index {
    min-height: 72px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.4rem 0;
  }

  .topbar,
  .contact-panel,
  .metrics,
  .legal-card {
    padding: 1.2rem;
  }

  .hero {
    gap: 1.8rem;
    padding-top: 2rem;
  }

  .button-ghost {
    min-width: 96px;
    margin-left: 0;
    margin-right: 0;
    padding: 0.58rem 0.9rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
  }

  .lead,
  .section-heading p,
  .contact-copy p,
  .form-note {
    font-size: 1rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .button-secondary {
    width: 100%;
  }

  .fact-card,
  .benefit-card,
  .service-card,
  .timeline-card,
  .contact-info article,
  .contact-form label {
    min-width: 0;
  }

  .energy-frame {
    aspect-ratio: 0.9 / 1.15;
    width: 100%;
  }

  .energy-center {
    width: min(74%, 250px);
    height: 96px;
    padding: 0.85rem 1rem;
  }

  .energy-panel {
    min-width: auto;
    max-width: 170px;
    padding: 0.85rem;
  }
}

@media (hover: none), (pointer: coarse) {
  body::after {
    opacity: 0.18;
  }

  .ambient {
    display: none;
  }

  .topbar,
  .fact-card,
  .benefit-card,
  .service-card,
  .timeline-card,
  .contact-panel,
  .metrics,
  .legal-card,
  .energy-frame {
    backdrop-filter: none;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  }

  .energy-noise,
  .energy-ping {
    display: none;
  }

  .energy-trace {
    filter: none;
  }
}

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

  .scroll-progress {
    display: none;
  }

  .hero-copy,
  .hero-visual,
  .energy-orbit,
  .energy-trace,
  .energy-center,
  .energy-ping {
    will-change: auto;
  }
}
