:root {
  --bg: #f7f5fc;
  --soft: #efebf8;
  --ink: #1a1428;
  --muted: #6b6280;
  --line: rgba(91, 52, 168, 0.1);
  --violet: #8b5cf6;
  --violet-deep: #7c3aed;
  --neon: #d946ef;
  --grad: linear-gradient(135deg, #7c3aed, #a855f7 50%, #d946ef);
  --radius: 20px;
  --nav-h: 72px;
  --font-d: "Outfit", sans-serif;
  --font-b: "Sora", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

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

/* particles */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  animation: drift linear infinite;
}

@keyframes drift {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 0.6; }
  85% { opacity: 0.45; }
  100% { transform: translateY(-100vh) scale(1.2); opacity: 0; }
}

/* nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(247, 245, 252, 0.75);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 252, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  background: var(--grad) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  right: -5%;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28), rgba(217, 70, 239, 0.1), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin-bottom: 0.85rem;
}

.hero-copy h1 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-copy h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.28);
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.play {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad);
  position: relative;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.45);
  animation: pulse 2s ease-in-out infinite;
}

.play::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* live card */
.live-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}

.live-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.viewers {
  font-size: 0.85rem;
  color: var(--muted);
}

.streamer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.avatar {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0.25;
  animation: spin 10s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.face {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ddd6fe, #c4b5fd 40%, #a78bfa);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  justify-items: center;
  gap: 10px 8px;
  padding: 22px 18px 16px;
}

.eye {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4c1d95;
}

.smile {
  grid-column: 1 / -1;
  width: 18px;
  height: 9px;
  border: 2.5px solid #4c1d95;
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.play-fab {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
  cursor: pointer;
  animation: pulse 2.2s ease-in-out infinite;
}

.play-fab span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 12px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

.meta strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.05rem;
}

.meta span { color: var(--muted); font-size: 0.88rem; }

.data-stream {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.data-chip {
  background: var(--soft);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  opacity: 0.55;
  transition: opacity .35s, box-shadow .35s, transform .35s;
}

.data-chip.active {
  opacity: 1;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(217, 70, 239, 0.1));
}

.data-chip span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.data-chip strong {
  font-family: var(--font-d);
  font-size: 0.95rem;
  color: var(--violet-deep);
}

.geo-row {
  display: flex;
  gap: 0.65rem;
}

.geo {
  flex: 1;
  background: var(--soft);
  border-radius: 16px;
  padding: 0.4rem;
  display: flex;
  justify-content: center;
}

.geo svg { width: 64px; height: 64px; }

/* sections */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.section.soft { background: var(--soft); }

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-family: var(--font-d);
  font-weight: 750;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.section-head p { color: var(--muted); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.module {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: transform .25s, box-shadow .25s;
}

.module:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.1);
}

.module .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.module .icon svg { width: 100%; height: 100%; }

.module h3 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.module p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* products */
.product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.06);
}

.float-a { animation: float 3.6s ease-in-out infinite; }
.float-b { animation: float 3.6s ease-in-out infinite 0.45s; }
.float-c { animation: float 3.6s ease-in-out infinite 0.9s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.thumb {
  aspect-ratio: 1;
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--soft);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product h3 {
  font-family: var(--font-d);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.product .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.product .meta strong { color: var(--violet-deep); }
.product .meta span { color: var(--muted); }

/* audience */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.panel.accent {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.08), rgba(217, 70, 239, 0.06));
  border-color: rgba(168, 85, 247, 0.2);
}

.panel h3 {
  font-family: var(--font-d);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.panel li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* cta */
.cta-band {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(124, 58, 237, 0.08);
}

.cta-band h2 {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer p, .footer-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-meta a:hover { color: var(--violet-deep); }

/* responsive */
@media (max-width: 900px) {
  .hero-grid,
  .module-grid,
  .product-row,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .module-grid { grid-template-columns: 1fr 1fr; }

  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }

  .data-stream { grid-template-columns: 1fr 1fr; }
  .data-stream .data-chip:nth-child(n+5) { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .module-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-row { flex-direction: column; }
  .btn { width: 100%; }
}
