:root {
  --bg: #071017;
  --bg-soft: #0b1722;
  --panel: rgba(13, 26, 39, 0.76);
  --panel-strong: rgba(16, 32, 48, 0.92);
  --line: rgba(124, 218, 255, 0.18);
  --text: #f4fbff;
  --muted: #a8b8c6;
  --accent: #42d7ff;
  --accent-2: #9b7cff;
  --accent-3: #39e5b6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(66, 215, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(155, 124, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #050b11 0%, var(--bg) 45%, #060c12 100%);
  min-height: 100vh;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(5, 11, 17, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(66, 215, 255, 0.5);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(66, 215, 255, 0.22), rgba(155, 124, 255, 0.18));
  color: #dcfbff;
  font-size: 0.82rem;
  box-shadow: 0 0 32px rgba(66, 215, 255, 0.2);
}

.site-nav {
  gap: clamp(0.75rem, 2vw, 1.75rem);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 8rem clamp(1.25rem, 6vw, 6rem) 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

#hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 11, 17, 0.94) 0%, rgba(5, 11, 17, 0.66) 48%, rgba(5, 11, 17, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 11, 17, 0.15), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow,
.section-label {
  margin: 0 0 1.15rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(4.2rem, 14vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.25;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 1rem;
  color: #e8f8ff;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.16;
}

.hero-copy,
.section-copy p,
.about-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.hero-copy {
  max-width: 630px;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(9rem, 0.5fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 6rem);
  background:
    linear-gradient(180deg, rgba(7, 16, 23, 0.2), rgba(11, 23, 34, 0.86)),
    radial-gradient(circle at 85% 30%, rgba(57, 229, 182, 0.12), transparent 28rem);
}

.section-copy {
  max-width: 880px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

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

.area-card {
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(145deg, rgba(16, 32, 48, 0.9), rgba(9, 20, 31, 0.72)),
    radial-gradient(circle at top right, rgba(66, 215, 255, 0.12), transparent 12rem);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: rgba(66, 215, 255, 0.46);
  background:
    linear-gradient(145deg, rgba(18, 38, 58, 0.95), rgba(10, 23, 36, 0.82)),
    radial-gradient(circle at top right, rgba(155, 124, 255, 0.18), transparent 12rem);
}

.area-icon {
  width: fit-content;
  color: var(--accent-3);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-section {
  background:
    linear-gradient(180deg, rgba(7, 16, 23, 0.55), rgba(5, 11, 17, 0.95)),
    radial-gradient(circle at 18% 35%, rgba(155, 124, 255, 0.14), transparent 28rem);
}

.about-panel {
  max-width: 980px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-panel p {
  max-width: 760px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem clamp(1.25rem, 6vw, 6rem);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050b11;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.9rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 94vh;
    padding-top: 9.5rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 11, 17, 0.72), rgba(5, 11, 17, 0.94)),
      linear-gradient(90deg, rgba(5, 11, 17, 0.8), rgba(5, 11, 17, 0.35));
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .area-card {
    min-height: 8.5rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.5rem, 22vw, 5.4rem);
  }

  .hero-lead {
    font-size: 1.3rem;
  }
}
