:root {
  --bg: #050913;
  --bg-2: #0c1323;
  --panel: rgba(11, 18, 32, 0.72);
  --line: rgba(165, 186, 255, 0.2);
  --text: #eef4ff;
  --muted: #aebcd8;
  --blue: #3941e8;
  --blue-soft: #6e74ff;
  --amber: #ffb43b;
  --amber-soft: #ffd27a;
  --mint: #77f3d9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 9% 10%, rgba(57, 65, 232, 0.28), transparent 32%),
    radial-gradient(circle at 84% 11%, rgba(255, 180, 59, 0.2), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 46%, #050a13 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  pointer-events: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 20px 0 52px;
}

.header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.78);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(119, 243, 217, 0.25);
  background: rgba(119, 243, 217, 0.1);
  color: #c7fff2;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--mint);
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.7rem, 8vw, 5.5rem);
  line-height: 0.95;
  max-width: 100%;
}

.hero p {
  margin-top: 16px;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.74;
}

.hero-slogan {
  margin-top: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #d9e9ff;
}

[data-typewriter] {
  visibility: hidden;
}

[data-typewriter].is-visible {
  visibility: visible;
}

[data-typewriter].is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  background: rgba(236, 244, 255, 0.9);
  vertical-align: -0.1em;
  animation: caret-blink 0.85s steps(1) infinite;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section,
.metric,
.card,
.logo-work,
.app {
  animation: reveal-up 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section {
  animation-delay: 120ms;
  transition: border-color 180ms ease, background 180ms ease;
}

.section:hover {
  border-color: rgba(179, 201, 255, 0.34);
  background: rgba(12, 19, 34, 0.76);
}

.hero-metrics .metric:nth-child(1) {
  animation-delay: 160ms;
}

.hero-metrics .metric:nth-child(2) {
  animation-delay: 230ms;
}

.hero-metrics .metric:nth-child(3) {
  animation-delay: 300ms;
}

.cards .card:nth-child(1),
.logo-work-grid .logo-work:nth-child(1),
.apps .app:nth-child(1) {
  animation-delay: 140ms;
}

.cards .card:nth-child(2),
.logo-work-grid .logo-work:nth-child(2),
.apps .app:nth-child(2) {
  animation-delay: 210ms;
}

.cards .card:nth-child(3),
.logo-work-grid .logo-work:nth-child(3),
.apps .app:nth-child(3) {
  animation-delay: 280ms;
}

.cards .card:nth-child(4) {
  animation-delay: 350ms;
}

.metric,
.card,
.logo-work,
.app {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.metric:hover,
.card:hover,
.logo-work:hover,
.app:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 205, 255, 0.35);
  background: rgba(255, 255, 255, 0.055);
}

@keyframes caret-blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 46px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.primary {
  color: #101322;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-soft) 100%);
  box-shadow: 0 14px 36px rgba(255, 180, 59, 0.3);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.metric strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.metric span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.85rem;
}

.section {
  margin-top: 42px;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(9, 15, 28, 0.7);
}

.section h2 {
  font-size: clamp(1.9rem, 4.3vw, 3rem);
}

.section p.lead {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 64ch;
  line-height: 1.7;
}

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.partner {
  min-height: 60px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.partner img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1) saturate(0.12) brightness(0.95);
  transition: filter 220ms ease;
}

.partner strong {
  font-size: 0.92rem;
}

.partner:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.partner:hover img {
  filter: grayscale(0) saturate(1);
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.028);
  padding: 22px;
}

.card h3 {
  font-size: 1.28rem;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 10px 0 0;
}

.logo-work-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.logo-work {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  min-height: 120px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
}

.logo-work img {
  max-height: 62px;
  object-fit: contain;
}

.logo-work span {
  font-size: 0.84rem;
  color: var(--muted);
}

.ai-proof {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(57, 65, 232, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.03);
}

.ai-proof h3 {
  font-size: 1.06rem;
}

.ai-proof p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.apps {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.app {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.app h3 {
  font-size: 1.15rem;
}

.app p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.app.featured {
  border-color: rgba(255, 180, 59, 0.4);
  background:
    radial-gradient(circle at top right, rgba(255, 180, 59, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.03);
}

.app .app-logo {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.app .app-logo img {
  max-height: 54px;
  object-fit: contain;
}

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .cards,
  .logo-work-grid,
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 16px, 1180px);
  }

  .header {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 10px;
  }

  .hero-metrics,
  .partners,
  .cards,
  .logo-work-grid,
  .apps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 20px;
  }
}
