* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0d0f1a;
  --surface: #161928;
  --elevated: #1e2235;
  --text: #f0f2ff;
  --muted: #9aa0b8;
  --white: #ffffff;
  --lime: #7fd132;
  --blue: #1e90ff;
  --purple: #9b5fe3;
  --orange: #ff6b35;
  --border: #2a2d40;
  --footer: #080a14;
  --danger: #ff6b6b;
  --header-height: 84px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 "Inter", sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  color: var(--white);
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

p + p {
  margin-top: 1rem;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(800px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-surface {
  background: var(--surface);
}

.section-heading {
  margin-bottom: 14px;
  text-align: center;
}

.section-intro {
  max-width: 660px;
  margin: 0 auto 44px;
  color: var(--muted);
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 14px 32px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: 600 1rem "Inter", sans-serif;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

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

.button-lime {
  background: var(--lime);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(127, 209, 50, 0.4);
}

.button-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.4);
}

.button-purple {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 0 20px rgba(155, 95, 227, 0.4);
}

.button-outline-blue {
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--blue);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.2);
}

.button-disabled,
.button-disabled:hover {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  filter: none;
  transform: none;
}

/* Shared header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(13, 15, 26, 0.96);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 60px;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.site-nav a {
  position: relative;
  padding: 29px 0 23px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--lime);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--lime);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--lime);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Shared heroes */
.hero,
.page-hero {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.home-hero {
  min-height: 670px;
  background: radial-gradient(ellipse at center, rgba(30, 144, 255, 0.15) 0%, transparent 70%), var(--bg);
}

.glow-hero {
  background: radial-gradient(ellipse at center, rgba(30, 144, 255, 0.15) 0%, transparent 70%), var(--bg);
}

.surface-hero {
  background: var(--surface);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 70px 20px;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 22px;
}

.hero-subtitle {
  max-width: 650px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.accent-title::after {
  display: block;
  width: 72px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(127, 209, 50, 0.3);
  content: "";
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px);
  opacity: 0.08;
  pointer-events: none;
}

.orb-blue {
  top: 14%;
  left: 8%;
  width: 300px;
  height: 300px;
  background: var(--blue);
  animation: float 10s ease-in-out infinite;
}

.orb-lime {
  right: 11%;
  bottom: 12%;
  width: 230px;
  height: 230px;
  background: var(--lime);
  animation: float 8s ease-in-out 1s infinite reverse;
}

.orb-purple {
  top: 24%;
  right: 24%;
  width: 160px;
  height: 160px;
  background: var(--purple);
  animation: float 12s ease-in-out 2s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-28px);
  }
}

/* Home */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  --accent: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 35%, transparent);
  content: "";
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px);
}

.accent-blue {
  --accent: var(--blue);
}

.accent-lime {
  --accent: var(--lime);
}

.accent-purple {
  --accent: var(--purple);
}

.accent-orange {
  --accent: var(--orange);
}

.product-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 1.65rem;
  place-items: center;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.card-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.coming-soon {
  color: var(--muted);
  font-weight: 600;
}

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

.value-item {
  --accent: var(--blue);
  padding: 28px 24px;
  border-top: 3px solid var(--accent);
  background: var(--elevated);
}

.value-mark {
  margin-bottom: 14px;
  color: var(--accent);
  font: 800 2rem "Poppins", sans-serif;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 30%, transparent);
}

.value-item h3 {
  margin-bottom: 10px;
}

.value-item p {
  color: var(--muted);
}

/* Products */
.product-detail {
  --accent: var(--blue);
}

.product-detail:nth-of-type(even) {
  background: var(--surface);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.product-detail.reverse .detail-copy {
  order: 2;
}

.product-detail.reverse .css-art {
  order: 1;
}

.detail-copy h2 {
  margin-bottom: 22px;
}

.detail-copy > p {
  color: var(--muted);
}

.feature-list {
  margin: 26px 0 30px;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-list li::before {
  flex-shrink: 0;
  color: var(--lime);
  content: "✓";
  font-size: 18px;
  font-weight: 700;
}

.css-art {
  position: relative;
  display: grid;
  min-height: 390px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    var(--elevated);
  overflow: hidden;
  place-items: center;
}

.art-ring,
.art-core,
.art-chip {
  position: absolute;
  border: 2px solid var(--accent);
}

.art-ring {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  box-shadow: 0 0 35px color-mix(in srgb, var(--accent) 22%, transparent);
}

.art-core {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  transform: rotate(45deg);
}

.art-chip {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface);
}

.art-chip:nth-child(3) {
  top: 18%;
  left: 17%;
  transform: rotate(-14deg);
}

.art-chip:nth-child(4) {
  right: 18%;
  bottom: 16%;
  transform: rotate(18deg);
}

/* About */
.mission-copy {
  color: var(--muted);
  font-size: 1.08rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font: 800 3rem "Poppins", sans-serif;
  text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

.stat-label {
  color: var(--muted);
}

.who-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
}

.who-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

tr:nth-child(even) {
  background: var(--elevated);
}

th {
  width: 32%;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

td a {
  color: var(--blue);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info h2,
.contact-info h3 {
  margin-bottom: 18px;
}

.contact-block {
  margin-bottom: 28px;
}

.contact-block strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.contact-block a {
  color: var(--blue);
}

.contact-note {
  color: var(--muted);
}

.product-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-outline {
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease;
}

.product-outline:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.contact-form {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 22px;
  margin-top: 4px;
  color: var(--danger);
  font-size: 0.82rem;
}

.form-submit {
  width: 100%;
}

.form-success {
  padding: 52px 40px;
  border: 1px solid var(--lime);
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.success-mark {
  color: var(--lime);
  font-size: 3.6rem;
  line-height: 1;
  text-shadow: 0 0 20px rgba(127, 209, 50, 0.3);
}

.form-success h2 {
  margin: 18px 0 10px;
}

.form-success p {
  color: var(--muted);
}

/* Legal */
.legal-content h2 {
  margin-bottom: 8px;
  padding-left: 18px;
  border-left: 4px solid var(--lime);
}

.legal-date {
  margin-bottom: 32px;
  color: var(--muted);
}

.legal-content h3 {
  margin: 30px 0 8px;
  font-size: 1.18rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 12px 0 0 22px;
}

.legal-content a {
  color: var(--blue);
}

/* Shared footer */
.site-footer {
  border-top: 2px solid var(--lime);
  background: var(--footer);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  padding: 64px 0 46px;
}

.footer-brand .brand-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 310px;
}

.footer-column h3 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 7px;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.footer-contact address {
  margin-top: 10px;
  font-style: normal;
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 900px) {
  .detail-grid,
  .contact-grid {
    gap: 40px;
  }

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

@media (max-width: 767px) {
  :root {
    --header-height: 74px;
  }

  .container,
  .narrow {
    width: min(100% - 32px, 1200px);
  }

  .section {
    padding: 52px 0;
  }

  .brand-logo {
    height: 50px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 8px 16px 18px;
    background: var(--surface);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.35);
  }

  body.nav-open .nav-wrap {
    display: block;
  }

  .site-nav {
    display: block;
  }

  .site-nav a {
    display: block;
    padding: 16px;
  }

  .site-nav a::after {
    right: 16px;
    bottom: 8px;
    left: 16px;
    transform-origin: left;
  }

  .home-hero {
    min-height: 590px;
  }

  .page-hero {
    min-height: 300px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-grid,
  .value-grid,
  .detail-grid,
  .contact-grid,
  .who-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-detail.reverse .detail-copy,
  .product-detail.reverse .css-art {
    order: initial;
  }

  .css-art {
    min-height: 300px;
  }

  .art-ring {
    width: 180px;
    height: 180px;
  }

  .footer-grid {
    gap: 34px;
    padding: 52px 0 38px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  th,
  td {
    display: block;
    width: 100%;
  }

  th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  td {
    padding-top: 4px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
