﻿:root {
  --bg: #08111c;
  --bg-soft: #0d1827;
  --panel: rgba(12, 22, 35, 0.84);
  --panel-strong: rgba(10, 18, 29, 0.94);
  --text: #eef5ff;
  --muted: #98abc2;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #4ecdc4;
  --accent-strong: #55a7ff;
  --accent-soft: rgba(78, 205, 196, 0.12);
  --glow-one: rgba(85, 167, 255, 0.26);
  --glow-two: rgba(78, 205, 196, 0.2);
  --shell: min(1220px, calc(100vw - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(78, 205, 196, 0.1), transparent 20%),
    radial-gradient(circle at 82% 10%, rgba(85, 167, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #08111c 0%, #0b1522 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0px);
}

body::before {
  width: 320px;
  height: 320px;
  left: -100px;
  top: 180px;
  background: radial-gradient(circle, var(--glow-two) 0%, rgba(78, 205, 196, 0) 70%);
}

body::after {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: 80px;
  background: radial-gradient(circle, var(--glow-one) 0%, rgba(85, 167, 255, 0) 72%);
}

main,
.site-footer {
  width: min(100%, var(--shell));
  margin: 0 auto;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
canvas, img { display: block; max-width: 100%; }

.brand,
h1,
h2,
h3,
.core-label,
.card-index {
  font-family: Outfit, sans-serif;
  letter-spacing: 0;
}

.hero {
  padding: 24px 0 18px;
}

.site-header {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-size: 1.34rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-layout {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px 40px;
  align-items: center;
}

.hero-layout > *,
.focus-grid > *,
.contact-section > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
}

.hero-copy {
  padding: 24px 0;
}

h1 {
  margin: 0;
  overflow-wrap: anywhere;
  max-width: 10ch;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
  line-height: 0.93;
}

.lead,
.hero-list span,
.focus-card p,
.contact-copy p,
.form-note,
.graph-note span {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  max-width: 54ch;
  margin: 18px 0 0;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}

.button.primary {
  color: #08111c;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 32px rgba(85, 167, 255, 0.22);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.button:hover { transform: translateY(-2px); }

.hero-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.hero-list article {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.hero-list strong,
.graph-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-graph {
  position: relative;
  min-height: 720px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 18, 29, 0.94), rgba(13, 24, 39, 0.84)),
    var(--panel-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.hero-graph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.28;
  pointer-events: none;
}

#node-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.graph-overlay,
.graph-note {
  position: absolute;
  z-index: 2;
}

.core-card {
  left: 36px;
  right: 36px;
  bottom: 34px;
  padding: 24px 24px 22px;
  border-radius: 28px;
  background: rgba(8, 17, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.core-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.core-card h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.02;
}

.graph-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.note-left {
  left: 26px;
  top: 84px;
}

.note-top {
  right: 34px;
  top: 80px;
}

.note-right {
  right: 30px;
  bottom: 170px;
}

.focus-section {
  padding: 58px 0 0;
}

.section-head {
  margin-bottom: 26px;
}

h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.focus-card {
  min-height: 260px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.emphasis-card {
  background:
    linear-gradient(180deg, rgba(78, 205, 196, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.linked-card {
  position: relative;
}

.linked-card::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 20px;
  height: 1px;
  background: rgba(85, 167, 255, 0.3);
}

.card-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.1;
}

.contact-section {
  margin: 62px 0 26px;
  padding: 28px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 24px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.contact-copy h2 {
  max-width: 10ch;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(78, 205, 196, 0.42);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: rgba(255, 255, 255, 0.06);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-note {
  min-height: 24px;
  margin: 0;
}

.site-footer {
  padding: 8px 0 34px;
  display: flex;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

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

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 360ms ease, transform 360ms ease;
}

html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

.tilt-card {
  will-change: transform;
  transition: transform 160ms ease;
}

@media (max-width: 1080px) {
  .hero-layout,
  .focus-grid,
  .contact-section,
  .row.two {
    grid-template-columns: 1fr;
  }

  .hero-graph {
    min-height: 620px;
  }

  .linked-card::before {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(1220px, calc(100vw - 18px));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 6px 0 0;
  }

  .main-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  h1 {
    max-width: 7.5ch;
    font-size: 2.15rem;
  }

  .hero-graph {
    min-height: 520px;
    border-radius: 26px;
  }

  .core-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
  }

  .graph-note {
    padding: 12px 13px;
  }

  .note-left {
    left: 14px;
    top: 16px;
  }

  .note-top {
    right: 14px;
    top: 16px;
  }

  .note-right {
    right: 14px;
    bottom: 120px;
  }

  .button {
    width: 100%;
  }

  .contact-section {
    padding: 20px;
    border-radius: 24px;
  }
}


