:root {
  --bg: #06070d;
  --bg-2: #0b0d18;
  --text: #eef1fb;
  --muted: #9aa3c4;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-brd: rgba(255, 255, 255, 0.10);
  --p1: #7c5cff;
  --p2: #00d4ff;
  --p3: #ff5cc8;
  --star: #ffc94d;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Animated background mesh ---------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(0, 212, 255, 0.12), transparent 60%),
    var(--bg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 18s var(--ease) infinite alternate;
}
.orb-1 { width: 480px; height: 480px; background: var(--p1); top: -120px; right: -80px; }
.orb-2 { width: 420px; height: 420px; background: var(--p2); top: 40%; left: -120px; animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; background: var(--p3); bottom: -120px; right: 20%; animation-delay: -11s; opacity: 0.4; }

@keyframes float {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, -60px, 0) scale(1.15); }
}

.grid-floor {
  position: absolute;
  inset: 55% -50% -50% -50%;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(70deg);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 70%);
  animation: drift 20s linear infinite;
}
@keyframes drift { from { background-position: 0 0; } to { background-position: 0 60px; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 13, 0.55);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; }
.nav-links a:not(.btn) { color: var(--muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.4);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(124, 92, 255, 0.55); }
.btn-ghost { color: var(--text); background: var(--glass); border-color: var(--glass-brd); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- Layout ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 64px); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(60px, 10vw, 130px) 0 clamp(40px, 6vw, 80px);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  margin-bottom: 22px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2bd576;
  box-shadow: 0 0 0 0 rgba(43, 213, 118, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 213, 118, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(43, 213, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 213, 118, 0); }
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.grad-text {
  background: linear-gradient(110deg, var(--p2), var(--p1) 45%, var(--p3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero-sub { color: var(--muted); font-size: 1.12rem; margin: 22px 0 28px; max-width: 540px; }

.rating-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.rating-meta { color: var(--muted); font-size: 0.98rem; }
.rating-meta strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stars ---------- */
.stars { color: var(--star); letter-spacing: 3px; font-size: 1.1rem; }
.stars-lg { font-size: 1.7rem; }

/* ---------- 3D tilt rating card ---------- */
.tilt-wrap { perspective: 1000px; }
.rating-card {
  padding: 30px;
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease);
}
.rc-top { display: flex; justify-content: space-between; align-items: center; transform: translateZ(40px); }
.rc-badge { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.rc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: #2bd576; }
.rc-score {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin: 14px 0 6px;
  letter-spacing: -0.04em;
  transform: translateZ(60px);
  background: linear-gradient(135deg, #fff, var(--p2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rating-card .stars { font-size: 1.4rem; transform: translateZ(50px); }
.rc-bars { margin: 24px 0 16px; display: grid; gap: 9px; transform: translateZ(30px); }
.rc-bar { display: grid; grid-template-columns: 28px 1fr 38px; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.rc-bar i {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.rc-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--p1), var(--p2));
}
.rc-bar b { text-align: right; color: var(--text); font-weight: 600; }
.rc-foot { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  padding: 10px 0 20px;
}
.stat strong { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review { padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.3s var(--ease), border-color 0.3s; }
.review:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.4); }
.review p { color: #d7dcf2; font-size: 0.98rem; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-weight: 700; font-size: 0.85rem; color: #fff;
  background: linear-gradient(135deg, var(--p1), var(--p3));
  flex-shrink: 0;
}
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who strong { font-size: 0.95rem; }
.who em { font-style: normal; color: var(--muted); font-size: 0.82rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { padding: 28px; transition: transform 0.3s var(--ease); }
.feature:hover { transform: translateY(-6px); }
.f-icon {
  font-size: 1.6rem;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { padding: 0 24px; overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(124, 92, 255, 0.4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 0.96rem; }

/* ---------- CTA ---------- */
.cta-band { padding: clamp(40px, 7vw, 90px) 0; }
.cta-inner { text-align: center; padding: clamp(40px, 7vw, 70px); position: relative; overflow: hidden; }
.cta-inner::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 0%, rgba(124,92,255,0.25), transparent 60%);
}
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); position: relative; letter-spacing: -0.02em; }
.cta-inner p { color: var(--muted); margin: 12px 0 26px; position: relative; }
.cta-inner .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px clamp(20px, 5vw, 40px) 60px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  display: grid;
  gap: 12px;
  justify-items: center;
}
.footer .brand { justify-content: center; }
.footer p { max-width: 520px; font-size: 0.92rem; }
.footer .fine { font-size: 0.82rem; opacity: 0.7; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .tilt-wrap { max-width: 420px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn) { display: none; }
  .reviews-grid, .features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
