:root {
  --bg: #0b1318;
  --bg-alt: #101c24;
  --paper: rgba(240, 247, 250, 0.08);
  --paper-strong: rgba(240, 247, 250, 0.16);
  --line: rgba(210, 235, 245, 0.22);
  --text: #eaf7ff;
  --muted: #b7c9d2;
  --gold: #d9ba7a;
  --ice: #8ad9e4;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  --header-offset: 110px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(138, 217, 228, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(217, 186, 122, 0.2), transparent 34%),
    linear-gradient(145deg, var(--bg), var(--bg-alt) 55%, #0f171d);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.tech-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(138, 217, 228, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 217, 228, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 25%, black 28%, transparent 78%);
  animation: gridDrift 22s linear infinite;
}

.ambient {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  filter: blur(1px);
  animation: floatBlob 14s ease-in-out infinite;
}

.ambient-a {
  width: min(62vw, 620px);
  aspect-ratio: 1;
  top: -20vmin;
  left: -12vmin;
  border-radius: 48% 52% 62% 38% / 44% 42% 58% 56%;
  background: linear-gradient(130deg, rgba(138, 217, 228, 0.2), rgba(217, 186, 122, 0.1));
}

.ambient-b {
  width: min(54vw, 560px);
  aspect-ratio: 1;
  right: -14vmin;
  bottom: -22vmin;
  border-radius: 58% 42% 44% 56% / 42% 58% 38% 62%;
  background: linear-gradient(150deg, rgba(217, 186, 122, 0.18), rgba(138, 217, 228, 0.08));
  animation-delay: -6s;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0;
  padding: 10px 12px;
  border-radius: 999px;
  isolation: isolate;
  background: linear-gradient(120deg, rgba(10, 16, 21, 0.92), rgba(18, 30, 38, 0.9));
  transition: padding 220ms ease, top 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-compact {
  top: 6px;
  padding: 7px 10px;
  background: linear-gradient(120deg, rgba(10, 16, 21, 0.97), rgba(18, 30, 38, 0.96));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(220, 237, 244, 0.2);
  pointer-events: none;
  z-index: -1;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--gold), #f4dfaa);
  clip-path: polygon(0 0, 100% 0, 66% 100%, 0 100%);
}

.brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  transition: font-size 220ms ease, letter-spacing 220ms ease;
}

.site-header.is-compact .brand {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

.top-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(7, 13, 17, 0.46), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(220, 237, 244, 0.14);
  transition: padding 220ms ease;
}

.site-header.is-compact .top-nav {
  padding: 4px;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  opacity: 0.88;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-header.is-compact .nav-link {
  padding: 8px 12px;
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%) scale(0);
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scale(1);
}

.nav-link.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.11);
}

.nav-link.is-active::after {
  transform: translateX(-50%) scale(1);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: #1d1710;
  background: linear-gradient(140deg, #f0d7a1, var(--gold));
  box-shadow: 0 8px 18px rgba(217, 186, 122, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-header.is-compact .nav-cta {
  padding: 8px 14px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(217, 186, 122, 0.45);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 20px auto 0;
  padding-top: var(--header-offset);
}

section[id] {
  scroll-margin-top: calc(var(--header-offset) + 10px);
}

.hero {
  padding: clamp(1.2rem, 2vw, 2.3rem);
  position: relative;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.hero-content {
  padding: clamp(0.5rem, 1.2vw, 1rem) 0;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.07;
  letter-spacing: 0.01em;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 5.5vw, 4.85rem);
  max-width: 13ch;
}

h1 span {
  color: var(--ice);
}

h1 strong {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, #f0d7a1, #c8f6ff, #f0d7a1);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
  animation: titleShift 9s ease infinite;
}

.hero-copy {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  margin-top: 0;
  border-radius: 24px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  transform: scale(1.01);
  transition: transform 260ms ease;
}

.hero-media:hover img {
  transform: scale(1.035);
}

.stat-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat-chip {
  border-radius: 16px;
  padding: 12px 10px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #1c1610;
  background: linear-gradient(140deg, #f0d7a1, var(--gold));
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(6, 10, 13, 0.25);
}

.split {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  min-height: 230px;
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.8vw, 2rem);
}

.panel,
.feature,
.contact-card,
.banner {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease;
}

.panel::before,
.feature::before,
.contact-card::before,
.banner::before {
  content: "";
  position: absolute;
  inset: -130% 35% 35% -80%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.09), transparent 65%);
  transform: rotate(12deg);
  animation: sheen 11s linear infinite;
  pointer-events: none;
}

.panel p,
.feature p,
.contact-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.panel-accent {
  border-radius: 44px 22px 44px 22px;
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 8% 100%, 0 88%);
  background: linear-gradient(145deg, rgba(217, 186, 122, 0.2), rgba(138, 217, 228, 0.08));
  border: 1px solid rgba(217, 186, 122, 0.3);
  box-shadow: var(--shadow);
}

.features {
  margin-top: 44px;
}

.features > h2 {
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vision-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
  border-radius: 28px;
  padding: 20px;
  min-height: 220px;
  clip-path: polygon(0 0, 91% 0, 100% 14%, 100% 100%, 0 100%);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(138, 217, 228, 0.12);
  border: 1px solid rgba(138, 217, 228, 0.26);
  color: #c8edf3;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(217, 186, 122, 0.8);
}

.feature-image {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(210, 235, 245, 0.16);
  transition: transform 260ms ease, filter 260ms ease;
}

.feature:hover .feature-image {
  transform: scale(1.02);
  filter: saturate(1.15);
}

.feature-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: #f0d7a1;
}

.contact-meta {
  margin: 8px 0 0;
  color: var(--muted);
}

.banner {
  margin-top: 34px;
  padding: 22px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: linear-gradient(130deg, rgba(138, 217, 228, 0.11), rgba(217, 186, 122, 0.1));
}

.banner p {
  margin: 0;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.contact {
  margin: 40px 0 20px;
}

.contact-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 3.5vw, 2.2rem);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 20px auto 28px;
  color: #9cb0ba;
  font-size: 0.9rem;
  text-align: center;
}

.glass {
  background: linear-gradient(120deg, var(--paper-strong), var(--paper));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel:hover,
.feature:hover,
.contact-card:hover,
.banner:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 640ms ease, transform 640ms ease;
}

@keyframes floatBlob {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -16px, 0) scale(1.03);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 42px 42px, -42px -42px;
  }
}

@keyframes titleShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes sheen {
  from {
    transform: translateX(-55%) rotate(12deg);
  }
  to {
    transform: translateX(115%) rotate(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  main,
  .site-header,
  .site-footer {
    width: min(1120px, calc(100% - 22px));
  }

  .hero {
    padding: 1rem 0.2rem;
  }

  h1 {
    font-size: clamp(1.9rem, 9.2vw, 3.4rem);
    max-width: 100%;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .panel,
  .feature,
  .contact-card {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 156px;
  }

  .site-header {
    top: 8px;
    border-radius: 18px;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link,
  .nav-cta {
    padding: 9px 11px;
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 0.8rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 42px;
  }

  .stat-chip {
    padding: 11px 10px;
  }

  .stat-number {
    font-size: 0.92rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .feature-image {
    height: 156px;
  }

  .banner {
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  main,
  .site-header,
  .site-footer {
    width: calc(100% - 14px);
  }

  .brand {
    font-size: 0.86rem;
    letter-spacing: 0.13em;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  h1 {
    font-size: clamp(1.6rem, 10.8vw, 2.3rem);
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero-media {
    padding: 7px;
    border-radius: 18px;
  }

  .hero-media img {
    border-radius: 12px;
  }

  .feature {
    border-radius: 20px;
    clip-path: polygon(0 0, 95% 0, 100% 10%, 100% 100%, 0 100%);
  }

  .feature-image {
    height: 144px;
  }

  .text-link {
    margin-top: 10px;
  }

  .banner {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .banner p {
    font-size: 0.88rem;
    line-height: 1.45;
  }
}

@media (max-width: 360px) {
  .nav-link,
  .nav-cta {
    padding: 8px 10px;
    font-size: 0.74rem;
  }

  .hero {
    padding-top: 0.6rem;
  }

  .stat-chip {
    border-radius: 12px;
  }

  .feature-image {
    height: 132px;
  }
}