:root {
  --bg: #02070d;
  --bg-soft: #07111a;
  --card: rgba(7, 18, 28, .76);
  --card-strong: rgba(8, 22, 34, .94);
  --line: rgba(0, 211, 255, .25);
  --line-bright: rgba(0, 211, 255, .58);
  --text: #f4f8fb;
  --muted: #aab9c4;
  --dim: #6e8391;
  --cyan: #00c8ff;
  --cyan-2: #0a88ff;
  --cyan-soft: rgba(0, 200, 255, .12);
  --shadow: 0 18px 60px rgba(0, 0, 0, .48);
  --radius: 22px;
  --max: 1180px;
  --header-height: 112px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 147, 255, .16), transparent 34rem),
    radial-gradient(circle at 15% 20%, rgba(0, 200, 255, .08), transparent 31rem),
    linear-gradient(180deg, #02070d 0%, #03080d 45%, #010407 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--cyan);
  color: #001018;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 12px 0;
  background: rgba(1, 7, 12, .92);
  border-bottom: 1px solid rgba(0, 200, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 310px;
  width: min(310px, 52vw);
  height: 100%;
  padding-block: 3px;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(0, 200, 255, .18));
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.status-pill,
.small-link {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--text);
  background: rgba(1, 13, 22, .72);
  box-shadow: 0 0 22px rgba(0, 198, 255, .14);
}
.status-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}
.small-link { color: var(--muted); }
.small-link:hover { color: var(--cyan); }

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(1, 7, 12, .98) 0%, rgba(1, 7, 12, .88) 27%, rgba(1, 7, 12, .32) 56%, rgba(1, 7, 12, .76) 100%),
    linear-gradient(180deg, rgba(1, 7, 12, .68) 0%, rgba(1, 7, 12, .18) 42%, #02070d 100%),
    url('../img/hero.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-grid-overlay {
  position: absolute;
  inset: auto -10vw 0 auto;
  width: 58vw;
  height: 45%;
  z-index: -2;
  opacity: .28;
  background-image:
    linear-gradient(rgba(0, 200, 255, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, .22) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(600px) rotateX(64deg) rotateZ(-2deg);
  transform-origin: bottom right;
  filter: blur(.2px);
}
.hero-inner {
  padding: calc(var(--header-height) + 48px) 0 92px;
}
.hero-copy {
  max-width: 610px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}
.icon-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(52px, 7.3vw, 104px);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: none;
  text-shadow: 0 0 32px rgba(0,0,0,.4);
}
h1 span,
h2 span { color: var(--cyan); text-shadow: 0 0 24px rgba(0, 200, 255, .28); }
.hero-lede {
  max-width: 570px;
  color: #ecf4f8;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
}
.construction-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: min(100%, 520px);
  margin: 26px 0;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  color: #dce7ec;
  background: rgba(3, 12, 18, .72);
  box-shadow: inset 0 0 0 1px rgba(0, 200, 255, .06);
}
.construction-note span { color: var(--cyan); font-size: 23px; line-height: 1; }
.construction-note p { margin: 0; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid var(--line-bright);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: #00131d;
  border-color: rgba(0, 219, 255, .82);
  background: linear-gradient(135deg, #4fe6ff 0%, #06a9e2 48%, #0677c9 100%);
  box-shadow: 0 16px 34px rgba(0, 173, 255, .28);
}
.btn.secondary {
  color: #f7fbfd;
  background: rgba(4, 16, 24, .58);
  box-shadow: inset 0 0 0 1px rgba(0, 200, 255, .1);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-tags li {
  padding: 10px 13px;
  border-left: 1px solid var(--line-bright);
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .11em;
  font-weight: 850;
}

section:not(.hero) { padding: 86px 0; }
.section-heading { max-width: 780px; margin: 0 auto 34px; text-align: center; }
h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 15px;
}
.section-heading p:not(.eyebrow),
.community-copy p,
.scan-copy p,
.contact-copy p,
.update-card p { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(0, 200, 255, .22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(7, 18, 29, .9), rgba(4, 10, 17, .96));
  box-shadow: var(--shadow);
}
.feature-card .feature-icon {
  width: 58px;
  height: 58px;
  margin: 24px auto 18px;
  color: var(--cyan);
}
.feature-card svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(0, 200, 255, .38));
}
.feature-card h3 {
  padding: 0 22px;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 16px;
}
.feature-card p {
  padding: 0 22px;
  min-height: 92px;
  color: #c2d0d7;
  text-align: center;
  font-size: 14px;
}
.feature-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top: 1px solid rgba(0, 200, 255, .15);
}

.community { padding-top: 20px !important; }
.community-grid,
.scan-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
.community-image,
.scan-assets,
.contact-form,
.update-card {
  position: relative;
  border: 1px solid rgba(0, 200, 255, .22);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.community-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.community-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1,7,12,.78) 100%);
}
.stat-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 200, 255, .25);
  border-radius: 16px;
  background: rgba(1, 7, 12, .78);
  backdrop-filter: blur(8px);
  color: #dfeef4;
}
.stat-card span { color: var(--muted); }
.community-copy { padding: 12px 0; }
.community-copy p { font-size: 17px; }
.mini-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.mini-actions span,
.icon-list li {
  border: 1px solid rgba(0, 200, 255, .18);
  border-radius: 14px;
  background: rgba(0, 200, 255, .055);
  padding: 12px 14px;
  color: #dbe7ec;
  font-weight: 800;
}
.scan {
  position: relative;
  overflow: hidden;
}
.scan::before {
  content: "";
  position: absolute;
  inset: 18% 0 0;
  z-index: -1;
  background: radial-gradient(circle at 68% 45%, rgba(0, 200, 255, .16), transparent 28rem);
}
.icon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.scan-assets {
  display: grid;
  grid-template-columns: .92fr .78fr;
  align-items: center;
  gap: 10px;
  padding: 26px;
  min-height: 510px;
}
.qr-asset {
  width: 100%;
  border-radius: 24px;
  filter: drop-shadow(0 0 32px rgba(0, 200, 255, .22));
}
.phone-asset {
  width: 100%;
  border-radius: 30px;
  transform: rotate(3deg) translateX(-8px);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.6));
}

.updates { padding-block: 54px !important; }
.update-card {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
}
.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
input, textarea, select {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input, select { min-height: 52px; padding: 0 14px; }
textarea { padding: 14px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(0, 200, 255, .7);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, .1);
  background: rgba(255,255,255,.075);
}
select {
  color-scheme: dark;
}
select option {
  color: var(--text);
  background-color: #07111a;
}
.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}
.honeypot { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact { padding-top: 38px !important; }
.contact-email {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}
.contact-form {
  padding: 26px;
}
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; color: #dfe9ee; font-weight: 800; }
.contact-form label span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .btn { width: 100%; }

.site-footer {
  padding: 60px 0 44px;
  border-top: 1px solid rgba(0, 200, 255, .12);
  background: linear-gradient(180deg, rgba(4, 12, 19, .65), rgba(1, 4, 7, .96));
}
.footer-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
}
.footer-inner img { width: min(420px, 86vw); mix-blend-mode: screen; filter: drop-shadow(0 0 18px rgba(0, 200, 255, .14)); }
.footer-contact h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 34px);
}
.footer-contact a { color: var(--cyan); font-weight: 900; text-decoration: none; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.socials a {
  padding: 10px 14px;
  border: 1px solid rgba(0, 200, 255, .22);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
}
.socials a:hover { color: var(--cyan); border-color: rgba(0, 200, 255, .55); }
.copyright { color: var(--dim); font-size: 13px; margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --header-height: 96px; }
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { padding: 10px 0; }
  .brand { flex-basis: 320px; width: min(320px, 60vw); padding-block: 2px; }
  .small-link { display: none; }
  .hero { min-height: 790px; }
  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(1, 7, 12, .62), rgba(1, 7, 12, .92) 64%, #02070d 100%),
      linear-gradient(90deg, rgba(1, 7, 12, .78), rgba(1, 7, 12, .2)),
      url('../img/hero.webp');
    background-position: 66% center;
  }
  .hero-inner { padding-top: calc(var(--header-height) + 32px); }
  .hero-copy { max-width: 720px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-grid,
  .scan-grid,
  .contact-grid,
  .update-card { grid-template-columns: 1fr; }
  .scan-assets { min-height: auto; }
  .inline-form { grid-template-columns: 1fr; }
  .inline-form .btn { width: 100%; }
}

@media (max-width: 640px) {
  :root { --header-height: 82px; }
  .site-header { padding: 8px 0; }
  .header-inner { gap: 10px; }
  .brand { flex-basis: 190px; width: min(190px, 54vw); padding-block: 1px; }
  .status-pill { padding: 9px 10px; font-size: 10px; letter-spacing: .08em; }
  .hero { min-height: auto; }
  .hero-inner { padding: calc(var(--header-height) + 30px) 0 56px; }
  h1 { font-size: clamp(44px, 15vw, 68px); }
  .hero-lede { font-size: 19px; }
  .construction-note { font-size: 14px; }
  .hero-buttons .btn { width: 100%; }
  .hero-tags { display: grid; grid-template-columns: 1fr; gap: 6px; }
  section:not(.hero) { padding: 58px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card p { min-height: auto; }
  .feature-card img { height: 190px; }
  .community-image img { height: 310px; }
  .stat-card { position: static; border-radius: 0; }
  .community-image::after { display: none; }
  .mini-actions,
  .icon-list { grid-template-columns: 1fr; }
  .scan-assets { grid-template-columns: 1fr; padding: 18px; }
  .qr-asset { width: 78%; margin: 0 auto; }
  .phone-asset { width: 75%; margin: -30px auto 0; transform: rotate(0deg); }
  .update-card, .contact-form { padding: 20px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
