:root {
  --bg: #07070c;
  --bg-soft: #0d1020;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.14);
  --text: #f5f7ff;
  --muted: #b4b8c9;
  --accent: #7c5cff;
  --accent-2: #00e5ff;
  --accent-3: #ff4fd8;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(0, 229, 255, 0.12), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(255, 79, 216, 0.10), transparent 30%),
    linear-gradient(180deg, #06070c 0%, #090b12 40%, #07070c 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0.7px, transparent 1px),
    radial-gradient(circle at 80% 40%, #fff 0.7px, transparent 1px),
    radial-gradient(circle at 50% 70%, #fff 0.7px, transparent 1px);
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  z-index: 2;
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.14), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: blur(10px);
}

.site-header {
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 0;
  padding: 14px 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 10, 18, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  box-shadow: 0 0 24px var(--accent-2);
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  transition: 0.25s ease;
  position: relative;
}

.nav a:hover {
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-btn,
.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-btn,
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
  box-shadow:
    0 10px 30px rgba(124, 92, 255, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.nav-btn {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-btn:hover,
.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

main,
.section,
.hero {
  position: relative;
  z-index: 3;
}

.hero {
  min-height: 100svh;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 130px 0 70px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.45), transparent 60%);
  top: 8%;
  left: -4%;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22), transparent 65%);
  right: 10%;
  top: 14%;
  animation-delay: -2s;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.2), transparent 60%);
  right: 20%;
  bottom: 8%;
  animation-delay: -4s;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 35%, black 40%, transparent 85%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin: 0 0 14px;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.88;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-title .line {
  display: block;
  transform: translateY(30px);
  opacity: 0;
  animation: riseIn 0.9s forwards;
}

.hero-title .line:nth-child(2) {
  animation-delay: 0.15s;
}

.hero-title .line:nth-child(3) {
  animation-delay: 0.3s;
}

.hero-title .accent {
  background: linear-gradient(90deg, #fff, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d9dcf2;
  font-size: 0.92rem;
  animation: softFloat 5s ease-in-out infinite;
}

.hero-tags span:nth-child(2) { animation-delay: -1s; }
.hero-tags span:nth-child(3) { animation-delay: -2s; }
.hero-tags span:nth-child(4) { animation-delay: -3s; }

.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  z-index: 2;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 40%, rgba(255,255,255,0.02));
  pointer-events: none;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 22px;
  font-size: 0.92rem;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35ff8a;
  box-shadow: 0 0 0 rgba(53, 255, 138, 0.7);
  animation: pulse 1.8s infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.stat {
  padding: 18px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.stat span,
.feed-item {
  color: var(--muted);
}

.mini-feed {
  display: grid;
  gap: 12px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  transform: translateX(0);
  transition: transform 0.25s ease, background 0.25s ease;
}

.feed-item:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,0.07);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  flex: none;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 80px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2,
.story-copy h2,
.cta-box h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.05em;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.08);
  margin: 24px 0 36px;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.18);
}

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
}

.card h3,
.bento-card h3,
.stack-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.card p,
.bento-card p,
.story-copy p,
.cta-box p {
  color: var(--muted);
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 24px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.18);
}

.bento-card.large {
  grid-column: span 2;
  min-height: 320px;
}

.bento-card.wide {
  grid-column: span 2;
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.icon-bubble {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(0, 229, 255, 0.18));
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 130px;
  margin-top: 26px;
}

.bars span {
  display: block;
  width: 18%;
  height: var(--h);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  animation: barsPulse 2.8s ease-in-out infinite;
}

.bars span:nth-child(2) { animation-delay: -0.4s; }
.bars span:nth-child(3) { animation-delay: -0.8s; }
.bars span:nth-child(4) { animation-delay: -1.2s; }
.bars span:nth-child(5) { animation-delay: -1.6s; }
.bars span:nth-child(6) { animation-delay: -2s; }

.meter {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.meter-line {
  display: grid;
  gap: 8px;
}

.meter-line span {
  font-size: 0.95rem;
  color: var(--muted);
}

.meter-line div {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.meter-line i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-3), var(--accent-2));
  animation: meterLoad 1.8s ease;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.story-stack {
  position: relative;
  min-height: 420px;
}

.stack-card {
  position: absolute;
  width: min(100%, 340px);
  padding: 24px;
  border-radius: 26px;
}

.stack-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-weight: 800;
}

.stack-card:nth-child(1) {
  top: 0;
  left: 0;
}

.stack-card:nth-child(2) {
  top: 110px;
  right: 20px;
}

.stack-card:nth-child(3) {
  top: 220px;
  left: 50px;
}

.floating-card {
  animation: cardFloat 6s ease-in-out infinite;
}

.delay-1 { animation-delay: -1.5s; }
.delay-2 { animation-delay: -3s; }

.cta-section {
  padding-bottom: 110px;
}

.cta-box {
  text-align: center;
  padding: 48px 24px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.25), transparent 65%);
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 0 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.48);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-16px) translateX(10px); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(53, 255, 138, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(53, 255, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 255, 138, 0);
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes barsPulse {
  0%, 100% { transform: scaleY(1); filter: brightness(1); }
  50% { transform: scaleY(1.08); filter: brightness(1.15); }
}

@keyframes meterLoad {
  from { width: 0; }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@media (max-width: 1024px) {
  .hero,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .vibe-grid,
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card.large,
  .bento-card.wide {
    grid-column: span 2;
  }

  .story-stack {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 14px;
    border-radius: 22px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 110px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .vibe-grid,
  .bento-grid,
  .bento-card.large,
  .bento-card.wide {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }

  .story-stack {
    min-height: 320px;
  }

  .stack-card:nth-child(1) {
    top: 0;
    left: 0;
  }

  .stack-card:nth-child(2) {
    top: 90px;
    right: 0;
  }

  .stack-card:nth-child(3) {
    top: 180px;
    left: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}