:root {
  --bg: #070d19;
  --bg-2: #0c1424;
  --chip: #22232c;
  --pill: #0c1322;
  --btn: #19243c;
  --btn-inset: #273c65;
  --card-border: rgba(62, 109, 205, 0.17);
  --grad: linear-gradient(147deg, rgba(52, 37, 247, 0.2) 0.13%, rgba(1, 181, 227, 0.2) 39.66%, rgba(163, 53, 238, 0.2) 99.92%);
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: #fff;
  font-family: Manrope, -apple-system, Roboto, Helvetica, sans-serif;
  overflow-x: hidden;
}

a { text-decoration: none; }

.container-xxl { max-width: 1400px; }

/* ---------- Navbar ---------- */
.site-nav { padding: 16px 0; }
.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
  padding: 0;
}
.site-nav .nav-link.active,
.site-nav .nav-link:hover { color: #fff; }
.nav-links { gap: 28px; }
.brand-logo { height: 61px; width: auto; }

.btn-pill {
  border-radius: 52px;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  min-width: 150px;
  text-align: center;
}
.btn-signup { background: var(--pill); }
.btn-login { background: var(--bg); border: 1px solid #fff; }
.btn-pill:hover { color: #fff; opacity: 0.9; }

.btn-cta {
  border-radius: 52px;
  background: var(--btn);
  box-shadow: 0 -3px 3px 0 var(--btn-inset) inset;
  color: #fff;
  font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14.5px 24px;
  display: inline-block;
}
.btn-cta:hover { color: #fff; filter: brightness(1.15); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0c1424 0%, #070d19 100%);
  overflow: hidden;
  padding: 60px 0 0;
}
.hero-grid {
  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: 80px 75px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-pill { max-width: 245px; width: 60%; }
.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 100px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}
.hero-sub {
  font-size: clamp(1rem, 1.7vw, 32px);
  line-height: 170%;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-img { max-width: 978px; width: 100%; }
.hero-glow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(12, 20, 35, 0) -81.64%, #0c1423 84.76%);
  filter: blur(50px);
  pointer-events: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--chip);
  border-radius: 16px;
  padding: 14px 24px;
  font-size: 20px;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; }

.feature-card {
  position: relative;
  z-index: 2;
  color: #fff;
  border-radius: 16px;
  background: var(--grad);
  padding: 20px;
  font-size: 24px;
  text-transform: capitalize;
  height: 100%;
}
.feature-card .icon { font-size: 22px; opacity: 1; margin-bottom: 6px; display: block; }

.brand-strip img { width: 64px; height: 64px; object-fit: contain; opacity: 1; filter: brightness(1.9) contrast(1.1); }
.brand-strip { gap: 32px; position: relative; z-index: 2; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; overflow: hidden; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 52px);
  font-weight: 700;
  line-height: 1.15;
}
.section-text {
  font-size: clamp(1rem, 1.6vw, 32px);
  line-height: 170%;
}
.glow-blob {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: #021a31;
  filter: blur(90px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.glow-right { right: -220px; top: 40px; }
.glow-left { left: -300px; top: 120px; }
.section > .container-xxl { position: relative; z-index: 1; }

.app-icons img { width: 64px; height: 64px; border-radius: 14px; }
.app-icons { gap: 16px; flex-wrap: wrap; }

/* profile mock */
.profile-mock {
  position: relative;
  border-radius: 32px;
  min-height: 520px;
  display: grid;
  place-items: center;
  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: 90px 90px;
}
.profile-handle {
  background: #fff;
  color: #070d19;
  border-radius: 100px;
  padding: 28px 24px;
  font-family: Inter, sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 40px);
  font-weight: 500;
  white-space: nowrap;
}
.orb {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 60px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 34px;
}
.orb-1 { left: 6%; top: 8%; }
.orb-2 { right: 8%; top: 4%; }
.orb-3 { left: 10%; bottom: 8%; }
.orb-4 { right: 6%; bottom: 12%; }

/* ---------- Community ---------- */
.stat-card {
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: #070d18;
  padding: 24px;
  font-family: Inter, sans-serif;
}
.stat-value { font-size: 34px; font-weight: 600; line-height: 1.1; }
.stat-label { font-size: 16px; font-weight: 700; opacity: 0.5; }
.stat-row-value { font-size: 24px; font-weight: 600; }
.stat-row-label { font-size: 20px; opacity: 0.5; }
.ring {
  width: 85px; height: 85px;
  border-radius: 50%;
  background: conic-gradient(#2a5fd1 90%, rgba(255, 255, 255, 0.1) 0);
  display: grid;
  place-items: center;
  position: relative;
}
.ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #070d18;
}
.ring span { position: relative; z-index: 1; font-size: 24px; font-weight: 700; font-family: Inter, sans-serif; }
.square-icon { width: 44px; height: 44px; border-radius: 10px; background: #2a5fd1; }

.community-card {
  border-radius: 26px;
  border: 1px solid var(--card-border);
  background: radial-gradient(60% 40% at 15% 10%, rgba(42, 95, 209, 0.25) 0%, rgba(7, 13, 24, 0) 100%), #070d18;
  padding: 40px 28px;
  height: 100%;
}
.community-card .title {
  font-size: clamp(1.4rem, 2.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}
.media-card {
  border-radius: 26px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  width: 100%;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 90px 0 40px;
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  max-width: 1346px;
  width: 100%;
  opacity: 0.9;
  pointer-events: none;
}
.footer .content { position: relative; z-index: 1; }
.footer small, .footer p { font-size: 14px; line-height: 170%; }
.social-link {
  width: 59px; height: 59px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}
.social-link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.footer-divider { border-top: 1px solid rgba(255, 255, 255, 0.12); }

@media (max-width: 991.98px) {
  .orb { width: 88px; height: 88px; font-size: 24px; }
  .profile-mock { min-height: 380px; }
  .section { padding: 60px 0; }
}
