/* Self-hosted fonts — eliminates fonts.googleapis.com chain */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIq15j8eUY.woff2)
    format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQAVaW2gaU.woff2)
    format("woff2");
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  background: #0b0b12;
  color: #f5f5fa;
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: #7b5cff;
  color: #fff;
}

.font-display {
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.grad-text {
  background: linear-gradient(
    120deg,
    #7b5cff 0%,
    #4a8bff 50%,
    #22d3ee 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-bg {
  background: linear-gradient(
    120deg,
    #7b5cff 0%,
    #4a8bff 50%,
    #22d3ee 100%
  );
}
.grad-border {
  position: relative;
  background: #1b1b2a;
}
.grad-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    #7b5cff 0%,
    #4a8bff 50%,
    #22d3ee 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-grad {
  background: linear-gradient(
    120deg,
    #7b5cff 0%,
    #4a8bff 50%,
    #22d3ee 100%
  );
  box-shadow:
    0 8px 30px -8px rgba(74, 139, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-grad:hover {
  transform: scale(1.02);
  box-shadow:
    0 12px 40px -8px rgba(123, 92, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s,
    background 0.2s;
}
.btn-outline:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.feat-card {
  background: #1b1b2a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s,
    border-color 0.25s;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -20px rgba(123, 92, 255, 0.35);
}

.mini-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.row-hover:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-item summary:hover span {
  color: #f5f5fa;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item .chev {
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s ease;
}
.faq-item[open] .chev {
  transform: rotate(180deg);
  color: #f5f5fa;
}
/* override native details hiding so JS can animate height */
.faq-item > p {
  display: block !important;
  overflow: hidden;
  height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item[open] > p {
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.75rem;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}

/* mockup ui */
.mockup-bar {
  background: linear-gradient(180deg, #1f1f30, #171723);
}
.mockup-row {
  background: linear-gradient(
    90deg,
    rgba(123, 92, 255, 0.12),
    rgba(34, 211, 238, 0.06)
  );
}

@media (max-width: 768px) {
  h1.hero-title {
    font-size: 42px !important;
    line-height: 1.05 !important;
  }
  h2.section-title {
    font-size: 32px !important;
  }
}
