:root {
  --bg: #050816;
  --bg-soft: #0b1224;
  --panel: rgba(13, 19, 35, 0.68);
  --panel-strong: rgba(17, 24, 43, 0.86);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7ff;
  --muted: rgba(232, 236, 255, 0.72);
  --muted-strong: rgba(244, 247, 255, 0.86);
  --blue: #68b8ff;
  --cyan: #72ebff;
  --orange: #ff9f43;
  --purple: #8291ff;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(38, 107, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(103, 228, 255, 0.12), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(127, 93, 255, 0.11), transparent 30%),
    linear-gradient(180deg, #040713 0%, #050816 35%, #060914 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 24%, transparent 76%, rgba(255,255,255,0.02));
}

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

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.55rem;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
}

.ambient-a {
  top: -8rem;
  right: -6rem;
  background: rgba(51, 123, 255, 0.95);
}

.ambient-b {
  top: 34rem;
  left: -10rem;
  background: rgba(0, 200, 255, 0.8);
}

.ambient-c {
  bottom: -10rem;
  right: 20%;
  background: rgba(122, 109, 255, 0.8);
}

.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
}

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

.section {
  position: relative;
  padding: 120px 0;
}

.section-tight {
  padding-top: 16px;
  padding-bottom: 32px;
}

.section-last {
  padding-bottom: 140px;
}

.glass {
  background: linear-gradient(180deg, rgba(18, 24, 44, 0.72), rgba(11, 16, 32, 0.78));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(135%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(24px);
  background: rgba(5, 8, 22, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.site-footer p {
  color: var(--muted);
  text-decoration: none;
}

.desktop-nav a:hover,
.brand:hover,
.footer-brand:hover {
  color: var(--text);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-button {
  padding: 0 18px;
  color: #08111f;
  background: linear-gradient(135deg, #9eeaff, #69bfff 55%, #6f9cff);
  box-shadow: 0 18px 34px rgba(63, 148, 255, 0.28);
}

.button {
  padding: 0 22px;
}

.button-primary {
  color: #08111f;
  background: linear-gradient(135deg, #aaf1ff, #6bbfff 52%, #7e96ff);
  box-shadow: 0 18px 46px rgba(61, 143, 255, 0.33);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}

.button-large {
  min-width: 180px;
}

.button:hover,
.nav-button:hover {
  transform: translateY(-2px);
}

.hero {
  padding-top: 56px;
}

.hero-shell {
  min-height: min(92vh, 920px);
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.feature-kicker,
.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow,
.feature-kicker {
  color: var(--cyan);
}

.hero h1,
.section-heading h2,
.summary-copy h2,
.about-copy h2,
.community-panel h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(3.7rem, 8vw, 7.4rem);
  max-width: 10ch;
}

.hero h1 span {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: var(--muted-strong);
  font-weight: 500;
}

.hero-text,
.section-heading p,
.showcase-copy p,
.feature-card p,
.summary-copy p,
.about-copy p,
.community-panel p,
.intro-band-inner p,
.site-footer p {
  color: var(--muted);
  line-height: 1.85;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: 1.08rem;
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.meta-card {
  border-radius: 24px;
  padding: 18px 18px 20px;
}

.meta-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-stage {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
}

.hero-device {
  --parallax-y: 0px;
  position: absolute;
  width: min(760px, 100%);
  border-radius: 34px;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  transform-style: preserve-3d;
}

.hero-device img,
.showcase-media img {
  width: 100%;
  height: auto;
}

.hero-device-back {
  top: 10%;
  left: 2%;
  transform: translate3d(0, var(--parallax-y), 0) rotate(-6deg) translateZ(0);
  opacity: 0.92;
}

.hero-device-front {
  top: 28%;
  right: 0;
  transform: translate3d(0, var(--parallax-y), 0) rotate(5deg) translateZ(0);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.42;
}

.hero-orb-a {
  width: 220px;
  height: 220px;
  top: 16%;
  right: 15%;
  background: rgba(104, 184, 255, 0.34);
}

.hero-orb-b {
  width: 180px;
  height: 180px;
  bottom: 10%;
  left: 18%;
  background: rgba(255, 159, 67, 0.25);
}

.intro-band-inner,
.summary-panel,
.community-panel {
  border-radius: var(--radius-xl);
}

.intro-band-inner {
  padding: 24px 30px;
}

.section-heading {
  max-width: 900px;
}

.section-heading h2,
.summary-copy h2,
.about-copy h2,
.community-panel h2 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.section-heading p,
.summary-copy p,
.about-copy p,
.community-panel p {
  max-width: 820px;
  margin-top: 20px;
}

.cinematic-stack {
  display: grid;
  gap: 28px;
  margin-top: 44px;
}

.showcase-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.showcase-panel.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.showcase-panel.reverse .showcase-copy {
  order: 2;
}

.showcase-panel.reverse .showcase-media {
  order: 1;
}

.showcase-copy h3,
.feature-card h3 {
  margin: 14px 0 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.showcase-copy h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.showcase-copy p {
  margin-top: 18px;
  max-width: 54ch;
}

.showcase-media {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0);
  border-radius: 28px;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-orange {
  color: #ffd6b0;
  background: rgba(255, 159, 67, 0.18);
}

.pill-cyan {
  color: #c4f7ff;
  background: rgba(114, 235, 255, 0.16);
}

.pill-blue {
  color: #d6e7ff;
  background: rgba(104, 184, 255, 0.16);
}

.feature-bento {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  grid-column: span 4;
  min-height: 280px;
  border-radius: 30px;
  padding: 28px;
}

.feature-card h3 {
  font-size: 1.75rem;
}

.feature-card p {
  margin: 18px 0 0;
}

.feature-card ul {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-large {
  grid-column: span 8;
}

.feature-wide {
  grid-column: span 8;
}

.summary-panel {
  padding: 32px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 26px;
  align-items: start;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-grid span {
  display: flex;
  align-items: center;
  min-height: 62px;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted-strong);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.about-panel {
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  align-items: stretch;
}

.about-stack {
  display: grid;
  gap: 16px;
  width: 100%;
}

.about-stat {
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.about-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-stat strong {
  display: block;
  margin-top: 10px;
  line-height: 1.2;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
}

.community-panel {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(20px);
}

.footer-inner {
  min-height: 92px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1100px) {
  .hero-shell,
  .about-grid,
  .summary-panel,
  .showcase-panel,
  .showcase-panel.reverse {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
    margin-top: 8px;
  }

  .hero-device-back {
    top: 8%;
    left: 0;
    width: 88%;
  }

  .hero-device-front {
    top: 28%;
    right: 0;
    width: 88%;
  }

  .feature-card,
  .feature-large,
  .feature-wide {
    grid-column: span 6;
  }
}

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

  .hero {
    padding-top: 36px;
  }

  .section {
    padding: 90px 0;
  }

  .hero-meta,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-large,
  .feature-wide {
    grid-column: span 12;
  }

  .community-panel,
  .footer-inner,
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-panel {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .nav-button,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stage {
    min-height: 380px;
  }

  .hero-device {
    border-radius: 22px;
  }

  .intro-band-inner,
  .showcase-panel,
  .feature-card,
  .summary-panel,
  .community-panel,
  .about-panel {
    padding: 22px;
  }
}


/* --- Premium Image Effects --- */
.product-image, .mockup, .device {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

/* Glass reflection */
.product-image::after, .mockup::after, .device::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transform: rotate(25deg);
    pointer-events: none;
    opacity: 0.4;
}

/* Scroll animation (hidden state) */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.8s ease;
}

/* Scroll animation (visible) */
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Mobile hero/header improvements */
@media (max-width: 820px) {
  .site-header { background: rgba(5, 8, 22, 0.82); }
  .header-inner {
    min-height: auto;
    padding: 16px 0 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .brand { gap: 12px; min-width: 0; flex: 1 1 auto; }
  .brand span {
    font-size: 1rem; line-height: 1.1; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .nav-button {
    min-height: 44px; padding: 0 16px; font-size: 0.95rem;
    flex: 0 0 auto; box-shadow: 0 10px 24px rgba(63, 148, 255, 0.2);
  }
  .hero { padding-top: 20px; }
  .hero-shell { min-height: auto; gap: 22px; align-items: start; }
  .hero-copy { position: relative; z-index: 2; }
  .hero h1 {
    margin-top: 14px; max-width: 100%;
    font-size: clamp(3rem, 14vw, 4.6rem); line-height: 0.95;
  }
  .hero h1 span {
    margin-top: 14px; font-size: clamp(1.08rem, 4.7vw, 1.35rem);
    line-height: 1.28; max-width: 22ch;
  }
  .hero-text { margin-top: 22px; font-size: 1rem; line-height: 1.75; max-width: none; }
  .hero-actions { margin-top: 24px; gap: 12px; }
  .hero-actions .button { min-height: 50px; }
  .hero-meta { margin-top: 22px; gap: 12px; }
  .meta-card { padding: 16px 16px 18px; border-radius: 20px; }
  .hero-stage { min-height: 320px; margin-top: 0; order: -1; }
  .hero-device { width: min(100%, 560px); }
  .hero-device-back {
    top: 2%; left: 0; width: 88%; opacity: 0.5;
    transform: translate3d(0, var(--parallax-y), 0) rotate(-4deg) translateZ(0);
  }
  .hero-device-front {
    top: 16%; right: 0; width: 92%;
    transform: translate3d(0, var(--parallax-y), 0) rotate(3deg) translateZ(0);
  }
  .hero-orb-a { width: 150px; height: 150px; top: 8%; right: 8%; }
  .hero-orb-b { width: 120px; height: 120px; left: 6%; bottom: 8%; }
}

@media (max-width: 560px) {
  .header-inner { padding: 14px 0 12px; }
  .brand img { width: 28px; height: 28px; }
  .brand span { font-size: 0.92rem; }
  .nav-button {
    min-height: 40px; padding: 0 14px; font-size: 0.88rem; width: auto;
  }
  .hero { padding-top: 14px; }
  .hero-shell { gap: 18px; }
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; }
  .hero h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .hero h1 span { font-size: 1.05rem; max-width: 18ch; }
  .hero-text { font-size: 0.98rem; line-height: 1.7; }
  .hero-stage { min-height: 250px; }
  .hero-device-back { width: 84%; top: 0; }
  .hero-device-front { width: 96%; top: 12%; }
  .hero-meta { display: none; }
}
