:root {
  --bg: #07111f;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f8fafc;
  --muted: #b7c2d4;
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --amber: #fcd34d;
  --violet: #a78bfa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 4%, rgba(34, 211, 238, 0.2), transparent 28rem),
    radial-gradient(circle at 80% 0%, rgba(252, 211, 77, 0.14), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(18px);
}

.nav,
.hero,
.section,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-word {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #9eefff 42%, #21bfd6 58%, #0e7187 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.055em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 rgba(8, 72, 91, 0.85),
    0 5px 12px rgba(34, 211, 238, 0.24),
    0 12px 28px rgba(0, 0, 0, 0.35);
  transform: perspective(260px) rotateX(7deg);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.35);
}

.nav-links {
  display: flex;
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--cyan);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 950;
}

.nav-cta {
  border: 1px solid rgba(103, 232, 249, 0.4);
  color: #cffafe;
}

.nav-cta:hover,
.button.secondary:hover {
  background: rgba(103, 232, 249, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 60px;
  min-height: 690px;
  align-items: center;
  padding: 64px 0;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.1);
  padding: 9px 14px;
  color: #cffafe;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 24px 0 0;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button.primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 18px 55px rgba(34, 211, 238, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  color: white;
}

.button.dark {
  margin-top: 28px;
  background: #07111f;
  color: white;
}

.board-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.board-panel {
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 26px;
  background: #0b1728;
  padding: 22px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  color: #cffafe;
  font-size: 14px;
  font-weight: 850;
}

.panel-top strong {
  border-radius: 999px;
  background: var(--amber);
  padding: 7px 12px;
  color: #111827;
  font-size: 12px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 16px;
}

.chip-area,
.side-slots span,
.spec-row span,
.product-image {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
    #101b2c;
}

.chip-area {
  min-height: 270px;
  border-radius: 24px;
}

.side-slots {
  display: grid;
  gap: 16px;
}

.side-slots span {
  min-height: 78px;
  border-radius: 18px;
}

.side-slots span:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(252, 211, 77, 0.18), transparent 50%),
    #101b2c;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.spec-row span {
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.section {
  padding: 76px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section h2 {
  max-width: 780px;
  margin: 16px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.text-link {
  color: #cffafe;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  padding: 22px;
  transition: 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.product-image {
  height: 190px;
  margin-bottom: 24px;
  border-radius: 22px;
}

.product-image.amber {
  background:
    linear-gradient(135deg, rgba(252, 211, 77, 0.2), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 24px),
    #101b2c;
}

.product-image.violet {
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.22), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 24px),
    #101b2c;
}

.product-card p {
  margin-bottom: 10px;
  color: #cffafe;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.product-card span,
.docs span,
.forum span,
.community-lead span {
  color: var(--muted);
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tags b {
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.5);
  padding: 7px 10px;
  color: #cbd5e1;
  font-size: 12px;
}

.community {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.community-lead {
  border-radius: 32px;
  background: var(--cyan);
  padding: 36px;
  color: #07111f;
}

.community-lead p,
.forum p {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.community-lead span {
  color: #334155;
}

.community-list {
  display: grid;
  gap: 16px;
}

.community-list div {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  padding: 24px;
}

.community-list strong {
  color: var(--amber);
  font-size: 34px;
}

.community-list span {
  font-size: 19px;
  font-weight: 850;
}

.docs,
.manufacturing,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  padding: 40px;
}

.manufacturing span {
  display: block;
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.manufacturing-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(103, 232, 249, 0.08), transparent 48%),
    rgba(2, 6, 23, 0.36);
  padding: 22px;
}

.manufacturing-grid strong {
  color: var(--amber);
  font-size: 28px;
}

.manufacturing-grid h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.manufacturing-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.resource-grid a {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.35);
  padding: 22px;
  color: #e2e8f0;
  font-weight: 850;
}

.resource-grid a:hover {
  border-color: rgba(103, 232, 249, 0.42);
  color: #cffafe;
}

.forum {
  border-radius: 32px;
  background: linear-gradient(120deg, var(--amber), var(--cyan));
  padding: 48px;
  color: #07111f;
}

.forum h2 {
  max-width: 850px;
}

.forum span {
  display: block;
  max-width: 700px;
  margin-top: 20px;
  color: #334155;
}

.contact span {
  display: block;
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card {
  display: grid;
  align-content: center;
  gap: 16px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 10%, rgba(103, 232, 249, 0.16), transparent 15rem),
    rgba(2, 6, 23, 0.35);
  padding: 30px;
}

.contact-card a {
  width: fit-content;
  color: #cffafe;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.contact-card a:hover {
  color: white;
}

.contact-card p {
  margin: 0;
  color: #94a3b8;
  font-weight: 750;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: #94a3b8;
  font-size: 14px;
}

.footer div {
  display: flex;
  gap: 22px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .community,
  .docs,
  .manufacturing,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

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

@media (max-width: 640px) {
  .nav,
  .hero,
  .section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .board-grid,
  .spec-row,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .docs,
  .manufacturing,
  .contact,
  .forum,
  .community-lead {
    padding: 26px;
  }

  .footer {
    flex-direction: column;
  }
}
