:root {
  --bg: #07070c;
  --bg-2: #0b0b13;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f2f8;
  --muted: #a3a3b5;
  --faint: #6e6e80;
  --brand-1: #818cf8;
  --brand-2: #22d3ee;
  --radius: 20px;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(129, 140, 248, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #26263a;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #33334d;
}

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

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

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.ic {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.star {
  color: #facc15;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.grad {
  background: linear-gradient(92deg, var(--brand-2), var(--brand-1) 55%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-2));
}

/* ---------- backgrounds ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
}
.aurora span:nth-child(2) {
  width: 460px;
  height: 460px;
  top: 10%;
  right: -160px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
  animation-delay: -8s;
}
.aurora span:nth-child(3) {
  width: 560px;
  height: 560px;
  bottom: -240px;
  left: 30%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.22), transparent 70%);
  animation-delay: -16s;
}
@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(60px, 40px, 0) scale(1.15);
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #0b0b13;
  letter-spacing: -0.03em;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.brand-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links > a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links > a:not(.btn):hover {
  color: var(--text);
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}
.btn-brand {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #0b0b13;
}
.btn-brand:hover {
  box-shadow: 0 10px 30px -8px rgba(99, 102, 241, 0.55);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}
.btn-solid {
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #0b0b13;
}
.btn-solid:hover {
  box-shadow: 0 10px 26px -10px var(--a1);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  min-height: 100svh;
  padding-top: 130px;
  padding-bottom: 90px;
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  margin: 22px 0;
}
.lede {
  max-width: 52ch;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-note {
  display: flex;
  align-items: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--faint);
}
.hero-note strong {
  color: var(--muted);
  font-weight: 600;
}

.hero-stage {
  position: relative;
  height: 420px;
}
.stage-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(129, 140, 248, 0.5), rgba(34, 211, 238, 0.35), rgba(244, 114, 182, 0.4), rgba(129, 140, 248, 0.5));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  filter: drop-shadow(0 0 24px rgba(99, 102, 241, 0.45));
  animation: spin 24s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 22px;
  background: rgba(15, 15, 24, 0.75);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.65);
  animation: floaty 7s ease-in-out infinite;
}
.chip img {
  width: 62px;
  height: 62px;
  border-radius: 15px;
}
.chip.c1 { top: 2%; left: 12%; animation-delay: -1s; }
.chip.c2 { top: 16%; right: 4%; animation-delay: -3s; }
.chip.c3 { bottom: 14%; left: 0; animation-delay: -5s; }
.chip.c4 { bottom: 0; right: 16%; animation-delay: -2.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}
.stage-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 22px 30px;
  text-align: center;
  border-radius: 24px;
  background: rgba(13, 13, 21, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
}
.stage-card strong {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stage-card span {
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--faint);
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: bob 2.2s ease-in-out infinite;
  transition: color 0.2s, border-color 0.2s;
}
.scroll-cue:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.scroll-cue svg {
  width: 18px;
  height: 18px;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- stats ---------- */

.stats-band {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 46px 0;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, #b9b9d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-num em {
  font-style: normal;
  font-size: 0.6em;
  color: #facc15;
  -webkit-text-fill-color: #facc15;
  vertical-align: super;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- sections ---------- */

section {
  position: relative;
}
.apps,
.about {
  padding: 110px 0 30px;
}
.contact {
  padding: 110px 0 120px;
}
.sec-head {
  max-width: 640px;
  margin-bottom: 54px;
}
.sec-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin: 14px 0 12px;
}
.sec-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- app cards ---------- */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 26px;
}
.app-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}
.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background:
    radial-gradient(340px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.06), transparent 65%),
    radial-gradient(600px circle at 85% -20%, color-mix(in srgb, var(--a1) 16%, transparent), transparent 60%);
}
.app-card:hover .card-glow {
  opacity: 1;
}
.app-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 17px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}
.chip-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a2);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--a1) 40%, transparent);
  background: color-mix(in srgb, var(--a1) 10%, transparent);
}
.chip-tag.alt {
  color: var(--muted);
  border-color: var(--border-strong);
  background: var(--surface);
}
.app-card h3 {
  font-size: 1.42rem;
}
.tagline {
  font-size: 14px;
  color: var(--a2);
  font-weight: 500;
}
.app-desc {
  color: var(--muted);
  font-size: 15px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.pills li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--a2);
}
.shots {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shots img {
  width: calc((100% - 20px) / 3);
  min-width: 170px;
  border-radius: 12px;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.shots img:hover {
  transform: scale(1.03);
}
.app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.quote {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid var(--a2);
  padding-left: 14px;
}
.quote cite {
  display: block;
  margin-top: 3px;
  font-style: normal;
  color: var(--faint);
  font-size: 12px;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.about-story p {
  color: var(--muted);
  margin-bottom: 16px;
}
.about-story strong {
  color: var(--text);
}
.avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #0b0b13;
  background: conic-gradient(from 200deg, var(--brand-1), var(--brand-2), #f472b6, var(--brand-1));
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.value {
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.value:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.v-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-2);
}
.value h4 {
  margin: 8px 0 6px;
  font-size: 16.5px;
}
.value p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- contact ---------- */

.contact-card {
  text-align: center;
  padding: clamp(44px, 7vw, 84px) clamp(24px, 6vw, 80px);
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px circle at 50% -20%, rgba(99, 102, 241, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
}
.contact-card h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 16px auto 12px;
  max-width: 18ch;
}
.contact-card > p {
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.contact-loc {
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--faint);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
  width: fit-content;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--faint);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
    text-align: left;
  }
  .hero-stage {
    display: none;
  }
  .scroll-cue {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 66px;
    right: 24px;
    left: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(13, 13, 21, 0.96);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-links > a:not(.btn) {
    padding: 11px 14px;
    border-radius: 10px;
  }
  .nav-links > a:not(.btn):hover {
    background: var(--surface);
  }
  .nav-links .btn {
    margin-top: 6px;
    justify-content: center;
  }
  .burger {
    display: flex;
  }
  .apps,
  .about {
    padding-top: 84px;
  }
  .contact {
    padding: 84px 0 96px;
  }
  .app-card {
    padding: 24px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sm-hide {
    display: none;
  }
  .app-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .actions .btn {
    flex: 1;
    justify-content: center;
  }
}

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