:root {
  --bg: #04070f;
  --bg-2: #07111f;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(10, 20, 37, 0.82);
  --line: rgba(255, 255, 255, 0.105);
  --line-strong: rgba(120, 178, 244, 0.28);
  --text: #f4f8ff;
  --muted: #b4c3e2;
  --soft: #8ea7cd;
  --cyan: #38bdf8;
  --blue: #3b82f6;
  --emerald: #34d399;
  --violet: #8b5cf6;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

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

body::before {
  background: url("assets/hypernova-suite-concept.png") center top / cover no-repeat;
  opacity: 0.14;
  filter: saturate(1.1);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 4%, rgba(56, 189, 248, 0.22), transparent 36%),
    radial-gradient(circle at 86% 12%, rgba(52, 211, 153, 0.13), transparent 34%),
    radial-gradient(circle at 76% 78%, rgba(99, 102, 241, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(4, 7, 15, 0.78), rgba(4, 7, 15, 0.96) 48%, #04070f);
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
.hero,
.hero-copy,
.hero-media,
.page-hero,
.section,
.grid,
.split,
.media-frame {
  min-width: 0;
}

.hero-line {
  display: inline;
}

.site-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 56px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 7, 15, 0.62);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(89, 213, 255, 0.42);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(145deg, rgba(56, 189, 248, 0.28), rgba(52, 211, 153, 0.16));
  color: #ecfeff;
  box-shadow: 0 18px 44px rgba(56, 189, 248, 0.18);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 16px;
  color: var(--text);
}

.brand-line {
  font-size: 11px;
  color: var(--soft);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #a9b8d8;
  font-size: 13px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #ffffff;
}

.nav-cta {
  border: 1px solid rgba(89, 213, 255, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(56, 189, 248, 0.09);
  color: #eef8ff !important;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 9px 11px;
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 66px 0 52px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -12%;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-copy,
.hero-media {
  position: relative;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 7.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero p {
  margin: 22px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.68;
}

.hero-actions,
.action-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 13px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border: 1px solid rgba(89, 213, 255, 0.58);
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.28), rgba(52, 211, 153, 0.2));
  color: #ecfeff;
  box-shadow: 0 18px 48px rgba(56, 189, 248, 0.13);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #d9e3fb;
}

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

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 173, 238, 0.34);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(14, 26, 47, 0.96), rgba(8, 13, 24, 0.98));
  box-shadow: var(--shadow);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 15, 0.3), transparent 38%),
    radial-gradient(circle at 72% 20%, rgba(56, 189, 248, 0.16), transparent 40%);
  pointer-events: none;
}

.media-frame img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.9;
}

.floating-panel {
  position: absolute;
  left: -18px;
  bottom: 24px;
  width: min(330px, 86%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(6, 13, 26, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
  padding: 16px;
}

.panel-title {
  margin: 0;
  color: #f5fbff;
  font-size: 18px;
  line-height: 1.28;
}

.panel-text {
  margin: 8px 0 0;
  color: #bcd0ef;
  font-size: 13px;
  line-height: 1.6;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -14px 0 26px;
}

.signal {
  border: 1px solid rgba(130, 168, 224, 0.16);
  border-radius: 16px;
  background: rgba(10, 18, 31, 0.82);
  padding: 16px 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.signal span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal strong {
  display: block;
  margin-top: 9px;
  color: #f3f8ff;
  font-size: 19px;
  line-height: 1.35;
}

.section {
  margin: 18px 0 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.032);
}

.section.open {
  padding: 52px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.section.band {
  background: linear-gradient(145deg, rgba(11, 22, 39, 0.88), rgba(7, 14, 27, 0.92));
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.54fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.grid {
  display: grid;
  gap: 14px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.product-card,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.027);
  padding: 18px;
}

.card p,
.product-card p,
.legal-card p {
  margin-bottom: 0;
  color: #aac0e5;
  font-size: 14px;
  line-height: 1.68;
}

.product-card {
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.1), transparent 34%);
  pointer-events: none;
}

.product-card > * {
  position: relative;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.1);
  color: #eaf7ff;
  font-size: 13px;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  border: 1px solid rgba(134, 170, 225, 0.35);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(98, 145, 212, 0.12);
  color: #cbdbf8;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: center;
}

.stack {
  display: grid;
  gap: 12px;
}

.system-map {
  display: grid;
  gap: 12px;
}

.map-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
}

.map-row strong {
  color: #eaf7ff;
}

.map-row span {
  color: #aac0e5;
  font-size: 14px;
  line-height: 1.66;
}

.dream-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid rgba(89, 213, 255, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(11, 24, 44, 0.9), rgba(7, 14, 28, 0.92));
}

.dream-cta h2 {
  margin: 0 auto;
  max-width: 860px;
}

.dream-cta p {
  margin: 18px auto 0;
  max-width: 760px;
}

.page-hero {
  padding: 70px 0 34px;
}

.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #dce8fb;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: #f4f8ff;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #7f96bd;
}

.notice {
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.07);
  padding: 14px;
  color: #c8f7e6;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer {
  margin-top: 44px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #91a6ca;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(120px, 0.4fr));
  gap: 20px;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 10px;
  color: #f1f7ff;
}

.footer-grid p,
.footer-grid a {
  color: #98acd0;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #7185aa;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-nav {
    align-items: center;
    padding: 14px 0;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(5, 10, 20, 0.98);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 12px;
  }

  .hero,
  .split,
  .section-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .media-frame img {
    min-height: 330px;
  }

  .signal-row,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-shell {
    padding: 0 15px 42px;
  }

  .site-nav {
    min-height: 64px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-line {
    font-size: 10px;
  }

  .nav-links {
    top: 66px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10.8vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .hero-line {
    display: block;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
    line-height: 1.62;
    max-width: calc(100vw - 30px);
  }

  .hero-copy,
  .page-hero {
    max-width: calc(100vw - 30px);
  }

  .hero {
    padding-top: 44px;
    gap: 22px;
  }

  .media-frame {
    border-radius: 20px;
  }

  .media-frame img {
    min-height: 250px;
  }

  .floating-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -30px 12px 14px;
  }

  .signal-row,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid,
  .map-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 18px;
  }

  .section.open {
    padding: 34px 0;
  }

  .dream-cta {
    padding: 28px 18px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-shell {
    max-width: 390px;
    margin-left: 0;
    margin-right: 0;
  }

  .site-nav,
  .hero-copy,
  .page-hero,
  .section,
  .dream-cta,
  .site-footer {
    max-width: calc(390px - 30px);
  }

  .media-frame {
    max-width: calc(390px - 30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
