:root {
  --bg: #050816;
  --bg-soft: #090f24;
  --surface: rgba(11, 18, 38, 0.72);
  --surface-strong: rgba(13, 20, 44, 0.92);
  --surface-border: rgba(255, 255, 255, 0.12);
  --surface-border-strong: rgba(135, 156, 255, 0.26);
  --text: #edf2ff;
  --muted: rgba(221, 228, 255, 0.7);
  --muted-strong: rgba(221, 228, 255, 0.84);
  --accent: #7c8cff;
  --accent-2: #5cf2d6;
  --accent-3: #c56cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 16px 42px rgba(13, 18, 44, 0.35);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1160px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(124, 140, 255, 0.18), transparent 32%),
    radial-gradient(circle at 20% 20%, rgba(92, 242, 214, 0.12), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(197, 108, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #040714 0%, #060a1b 45%, #050816 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Sora", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page {
  position: relative;
  z-index: 1;
}

.noise-overlay,
.spotlight,
.blob {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.noise-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.2px);
  background-size: 100% 4px, 4px 100%, 9px 9px;
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.spotlight {
  background:
    radial-gradient(circle at 50% 14%, rgba(124, 140, 255, 0.18), transparent 26%),
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.07), transparent 16%);
  filter: blur(18px);
}

.blob {
  width: 32rem;
  height: 32rem;
  filter: blur(70px);
  opacity: 0.55;
  border-radius: 50%;
  animation: float 16s ease-in-out infinite;
}

.blob-one {
  top: -8rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(92, 242, 214, 0.45), rgba(92, 242, 214, 0));
}

.blob-two {
  top: 12rem;
  right: -12rem;
  background: radial-gradient(circle, rgba(197, 108, 255, 0.42), rgba(197, 108, 255, 0));
  animation-duration: 20s;
  animation-delay: -5s;
}

.blob-three {
  bottom: -12rem;
  left: 30%;
  background: radial-gradient(circle, rgba(124, 140, 255, 0.38), rgba(124, 140, 255, 0));
  animation-duration: 22s;
  animation-delay: -9s;
}

.floating-nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1160px, calc(100vw - 20px));
  margin: 16px auto 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(9, 14, 30, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent), var(--accent-3));
  box-shadow: 0 0 24px rgba(124, 140, 255, 0.6);
}

.nav-links,
.nav-actions,
.footer-links,
.chip-row,
.hero-actions,
.hero-stats,
.logo-grid {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.footer-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: transform 220ms ease;
}

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

.nav-links a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(124, 140, 255, 1), rgba(92, 242, 214, 0.95));
  color: #08101e;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(124, 140, 255, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(124, 140, 255, 0.3);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 140, 255, 0.3);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 92px 0 56px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(228, 235, 255, 0.78);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 56ch;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.hero-actions {
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats > div {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.stat-value {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-label {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-mockup,
.bento-card,
.showcase-card,
.price-card,
.faq-item {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 25, 48, 0.82), rgba(9, 13, 27, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-mockup {
  padding: 18px;
  overflow: hidden;
}

.hero-mockup::before,
.bento-card::before,
.showcase-card::before,
.price-card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(92, 242, 214, 0.45), rgba(124, 140, 255, 0.28), rgba(197, 108, 255, 0.24));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  padding-bottom: 16px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

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

.mock-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.mock-card:hover,
.bento-card:hover,
.showcase-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 140, 255, 0.35);
  box-shadow: 0 22px 58px rgba(6, 10, 24, 0.55);
}

.mock-card.accent {
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.2), rgba(92, 242, 214, 0.14));
}

.mock-card.wide {
  grid-column: span 2;
  min-height: 176px;
}

.mock-title,
.plan,
.muted,
.section-head p,
.price-note,
.bento-card p,
.showcase-card p,
.faq-item p,
.trusted p {
  color: var(--muted);
}

.mock-value {
  margin: 8px 0 0;
  font-size: 2rem;
  font-weight: 700;
}

.mock-meta {
  margin: 0;
  color: rgba(234, 239, 255, 0.64);
  font-size: 0.92rem;
}

.mock-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
  height: 84px;
  margin-bottom: 12px;
}

.chart-bar {
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, rgba(92, 242, 214, 0.95), rgba(124, 140, 255, 0.5));
  box-shadow: 0 0 24px rgba(92, 242, 214, 0.22);
}

.chart-bar:nth-child(1) { height: 42%; }
.chart-bar:nth-child(2) { height: 66%; }
.chart-bar:nth-child(3) { height: 84%; }
.chart-bar:nth-child(4) { height: 58%; }

.trusted {
  padding: 24px 0 8px;
  text-align: center;
}

.trusted p {
  margin: 0 0 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.logo-grid {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-grid span {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(238, 243, 255, 0.78);
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
  max-width: 720px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.bento,
.showcase,
.pricing,
.faq {
  padding-top: 88px;
}

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

.bento-card {
  grid-column: span 4;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
}

.bento-card.tall {
  grid-row: span 2;
  min-height: 458px;
}

.bento-card.wide {
  grid-column: span 8;
}

.bento-card h3,
.showcase-card h3,
.price-card .plan {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.chip-row {
  flex-wrap: wrap;
  margin-top: auto;
}

.chip-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(236, 242, 255, 0.8);
  font-size: 0.86rem;
}

.mini-panel,
.showcase-visual,
.flow-line {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top left, rgba(92, 242, 214, 0.26), transparent 40%),
    radial-gradient(circle at bottom right, rgba(124, 140, 255, 0.24), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-panel {
  margin-top: 20px;
  height: 150px;
  position: relative;
  overflow: hidden;
}

.mini-panel::before,
.mini-panel::after,
.showcase-visual::before,
.flow-line::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.mini-panel::after {
  inset: auto 26px 22px 26px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92, 242, 214, 0.95), rgba(124, 140, 255, 0.7), rgba(197, 108, 255, 0.92));
  box-shadow: 0 0 28px rgba(124, 140, 255, 0.35);
}

.flow-line {
  height: 120px;
  margin-top: 24px;
  overflow: hidden;
  position: relative;
}

.flow-line::before {
  inset: 50% 24px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(92, 242, 214, 0.9), rgba(124, 140, 255, 0.9), rgba(197, 108, 255, 0.95), transparent);
  box-shadow: 0 0 18px rgba(124, 140, 255, 0.45);
}

.showcase-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-card,
.price-card,
.faq-item {
  padding: 24px;
  overflow: hidden;
}

.showcase-visual {
  margin-top: 20px;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.showcase-visual::before {
  inset: 18px;
  transform: rotate(-2deg);
}

.showcase-card:nth-child(2) .showcase-visual::before {
  background: linear-gradient(135deg, rgba(197, 108, 255, 0.16), rgba(92, 242, 214, 0.08));
}

.showcase-card:nth-child(3) .showcase-visual::before {
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.2), rgba(92, 242, 214, 0.1));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: grid;
  gap: 16px;
}

.price-card.featured {
  transform: translateY(-8px);
  background: linear-gradient(180deg, rgba(18, 29, 63, 0.96), rgba(11, 16, 35, 0.94));
}

.price-card.featured:hover {
  transform: translateY(-12px);
}

.price {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 700;
}

.price-note {
  margin: 0;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(236, 242, 255, 0.8);
  display: grid;
  gap: 10px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  transition: transform 180ms ease, border-color 180ms ease;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: rgba(236, 242, 255, 0.72);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 14px 0 0;
}

.footer {
  width: var(--container);
  margin: 96px auto 32px;
  padding: 24px 0 8px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.footer-bottom {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  animation: fade-up 0.8s ease both;
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    animation-name: reveal-in;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 10% cover 24%;
  }
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(24px, -18px, 0) scale(1.06);
  }
  66% {
    transform: translate3d(-18px, 16px, 0) scale(0.96);
  }
}

@media (max-width: 1080px) {
  .nav-inner {
    border-radius: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: none;
  }

  .bento-card,
  .bento-card.wide,
  .bento-card.tall,
  .showcase-grid,
  .pricing-grid,
  .faq-grid {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card.tall {
    min-height: 220px;
    grid-row: auto;
  }

  .bento-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .container,
  .floating-nav,
  .footer {
    width: min(100vw - 20px, 100%);
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .hero-stats > div {
    width: 100%;
  }

  .mockup-grid,
  .bento-grid,
  .showcase-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .mock-card.wide,
  .bento-card.wide {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}