/* ============================================================
   HELIUS NETWORK — Innovative Tech Startup Website
   Dark purple / black theme with glowing accents
   ============================================================ */

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

:root {
  --black: #080810;
  --dark: #0e0e1a;
  --card: #13131f;
  --card-border: rgba(139, 92, 246, 0.15);
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --purple-bright: #8b5cf6;
  --purple-glow: rgba(124, 58, 237, 0.4);
  --green: #10b981;
  --white: #ffffff;
  --grey-200: #e5e7eb;
  --grey-400: #9ca3af;
  --grey-600: #4b5563;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* CURSOR GLOW */
.cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* CONTAINER */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, #c4b5fd 50%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SECTION LABELS */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.section-sub {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--grey-400);
  max-width: 560px;
  line-height: 1.75;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-sub { margin: 1.25rem auto 0; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(135deg, var(--purple) 0%, #5b21b6 100%);
  color: var(--white);
  box-shadow: 0 0 30px var(--purple-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--purple-glow);
  filter: brightness(1.1);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav__logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.nav__logo span {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav__logo em {
  font-style: normal;
  color: var(--purple-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-400);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: linear-gradient(135deg, var(--purple) 0%, #5b21b6 100%) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  box-shadow: 0 0 20px var(--purple-glow);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--nav-h) 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: -100px; left: -150px;
}

.hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
  top: 40%; right: 0;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(167,139,250,0.2) 0%, transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-15px, 20px); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black 0%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  width: 100%;
  max-width: 600px;
  margin-left: max(2rem, calc(50vw - 600px));
  animation: heroFadeUp 0.9s var(--ease) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

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

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, #c4b5fd 40%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--grey-400);
  line-height: 1.75;
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-light);
}

.hero__stat span {
  font-size: 0.72rem;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Hero Phones */
.hero__phones {
  position: absolute;
  right: max(2rem, calc(50vw - 620px));
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 600px;
  z-index: 2;
  animation: heroFadeUp 1s var(--ease) 0.3s both;
}

.hero__phone {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.hero__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__phone--front {
  width: 195px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 40px 100px rgba(124,58,237,0.3), 0 0 0 1px rgba(139,92,246,0.2);
}

.hero__phone--back {
  width: 170px;
  height: 360px;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  z-index: 2;
  opacity: 0.7;
  filter: blur(1px);
}

.hero__phone--side {
  width: 160px;
  height: 340px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  z-index: 2;
  opacity: 0.7;
  filter: blur(1px);
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: rgba(124,58,237,0.08);
  border-top: 1px solid rgba(124,58,237,0.15);
  border-bottom: 1px solid rgba(124,58,237,0.15);
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative;
  z-index: 10;
}

.ticker__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker__track span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  flex-shrink: 0;
}

.ticker__sep { color: rgba(124,58,237,0.5) !important; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 8rem 0;
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.1);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.feature-card:hover { background: #17172a; }
.feature-card:hover .feature-card__glow { opacity: 1; }

.feature-card--large {
  grid-column: span 2;
}

.feature-card__glow {
  position: absolute;
  top: 0; left: 0;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card__icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  color: var(--purple-light);
}

.feature-card__icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--grey-400);
  line-height: 1.7;
  font-weight: 300;
}

.feature-card__tag {
  display: inline-block;
  margin-top: 1.25rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   PLATFORM TABS
   ============================================================ */
.platform {
  background: var(--dark);
  padding: 8rem 0;
  position: relative;
}

.platform__header {
  margin-bottom: 3rem;
}

.platform__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.platform__tabs::-webkit-scrollbar { display: none; }

.platform__tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-400);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  margin-bottom: -1px;
}

.platform__tab svg { width: 16px; height: 16px; }

.platform__tab:hover { color: var(--white); }

.platform__tab.active {
  color: var(--purple-light);
  border-bottom-color: var(--purple-light);
}

.platform__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.platform__panel.active { display: grid; }

.platform__info h3 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.platform__info > p {
  color: var(--grey-400);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
}

.platform__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platform__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--grey-200);
}

.check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.platform__phone-wrap {
  display: flex;
  justify-content: center;
}

.platform__phone {
  width: 240px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.2), 0 0 60px rgba(124,58,237,0.15);
  position: relative;
}

.platform__phone img {
  width: 100%;
  object-fit: cover;
  object-position: top;
  max-height: 520px;
}

/* ============================================================
   IMPACT
   ============================================================ */
.impact {
  padding: 8rem 0;
}

.impact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.impact__left p {
  font-size: 1rem;
  color: var(--grey-400);
  line-height: 1.8;
  font-weight: 300;
  margin-top: 1.5rem;
}

.impact__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.impact__stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.impact__stat-card:hover {
  border-color: rgba(139,92,246,0.35);
  transform: translateY(-4px);
}

.impact__stat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.impact__stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple-light);
}

.impact__stat-card span {
  font-size: 0.78rem;
  color: var(--grey-400);
  letter-spacing: 0.05em;
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screenshots {
  background: var(--dark);
  padding: 8rem 0;
  overflow: hidden;
}

.screenshots__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
  scroll-behavior: smooth;
}

.screenshots__track::-webkit-scrollbar { height: 4px; }
.screenshots__track::-webkit-scrollbar-track { background: transparent; }
.screenshots__track::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }

.screenshot-card {
  flex-shrink: 0;
  width: 220px;
  text-align: center;
}

.screenshot-card img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(139,92,246,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-card:hover img {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(124,58,237,0.25);
}

.screenshot-card p {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--grey-400);
  letter-spacing: 0.05em;
}

.screenshots__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.screenshots__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple-light);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.screenshots__btn:hover {
  background: rgba(124,58,237,0.3);
  transform: scale(1.05);
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}

.download__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.download__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}

.download__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
  bottom: -100px; right: 100px;
}

.download__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.download__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 18px;
  margin: 0 auto 2rem;
  box-shadow: 0 0 40px rgba(124,58,237,0.3);
}

.download__content h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.download__content > p {
  color: var(--grey-400);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.download__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.download__btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  min-width: 200px;
}

.download__btn div { text-align: left; }

.download__btn span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 2px;
}

.download__btn strong {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
}

.download__btn--play {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--white);
  box-shadow: 0 0 30px rgba(124,58,237,0.2);
}

.download__btn--play:hover {
  border-color: rgba(139,92,246,0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(124,58,237,0.3);
}

.download__btn--web {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}

.download__btn--web:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.download__note {
  font-size: 0.8rem;
  color: var(--grey-600);
  letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050508;
  border-top: 1px solid rgba(139,92,246,0.1);
  padding: 4rem 0 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer__brand span {
  font-size: 0.78rem;
  color: var(--grey-600);
}

.footer__links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 1.25rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col a {
  font-size: 0.88rem;
  color: var(--grey-600);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--purple-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom span {
  font-size: 0.78rem;
  color: var(--grey-600);
}

.footer__tagline { color: var(--purple) !important; font-weight: 500; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__phones { display: none; }
  .hero__content { max-width: 100%; margin: 0 auto; }
  .platform__panel.active { grid-template-columns: 1fr; }
  .platform__phone-wrap { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 2; }
  .impact__grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(8,8,16,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.2rem; }
  .nav__toggle { display: flex; }
  .features__grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .footer__top { flex-direction: column; }
  .footer__links { gap: 2rem; }
  .download__buttons { flex-direction: column; align-items: center; }
  .hero__stats { flex-wrap: wrap; gap: 1rem; }
}

/* ============================================================
   VIDEO INTRO SCREEN
   ============================================================ */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-screen.exit {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-screen.hidden { display: none; }

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.intro-video.loaded { opacity: 1; }

.intro-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.intro-logo {
  position: absolute;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: introPulse 3s ease-in-out infinite;
}

.intro-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 0 30px rgba(124,58,237,0.8));
}

@keyframes introPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(124,58,237,0.5)); }
  50% { filter: drop-shadow(0 0 50px rgba(124,58,237,1)); }
}

.intro-enter {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-enter.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.intro-enter__ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.4);
  animation: ringPulse 2.5s ease-out infinite;
}

.intro-enter__ring--2 {
  width: 240px;
  height: 240px;
  border-color: rgba(124, 58, 237, 0.2);
  animation-delay: 0.6s;
}

@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.intro-enter__btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.9) 0%, rgba(91,33,182,0.95) 100%);
  border: 1px solid rgba(167,139,250,0.4);
  border-radius: 100px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(124,58,237,0.5), 0 0 120px rgba(124,58,237,0.2);
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.intro-enter__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 80px rgba(124,58,237,0.7), 0 0 160px rgba(124,58,237,0.3);
}

.intro-enter__btn svg {
  width: 20px;
  height: 20px;
}

.intro-skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 5;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.intro-skip:hover { color: rgba(255,255,255,0.8); }

.intro-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
}

.intro-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transition: width 0.1s linear;
}

/* ============================================================
   FLOATING BUBBLES
   ============================================================ */
.bubbles-section {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid rgba(124,58,237,0.12);
  border-bottom: 1px solid rgba(124,58,237,0.12);
}

.bubbles-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%,
    rgba(124,58,237,0.06) 0%,
    transparent 70%);
}

.bubbles-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  transform: translate(-50%, -50%);
  cursor: default;
  animation: bubbleFloat var(--dur, 6s) ease-in-out var(--delay) infinite;

  /* Purple gradient glass look */
  background: radial-gradient(135deg at 30% 30%,
    rgba(167,139,250,0.18) 0%,
    rgba(124,58,237,0.12) 50%,
    rgba(91,33,182,0.08) 100%);
  border: 1px solid rgba(167,139,250,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 30px rgba(124,58,237,0.25),
    0 0 60px rgba(124,58,237,0.1);
  color: #c4b5fd;
  backdrop-filter: blur(4px);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  user-select: none;
}

.bubble:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 0 50px rgba(124,58,237,0.6),
    0 0 100px rgba(124,58,237,0.25);
  border-color: rgba(167,139,250,0.7);
  color: #fff;
  z-index: 10;
}

.bubble--sm {
  font-size: 0.65rem;
}

/* Give each bubble a slightly different float animation timing */
.bubble:nth-child(1)  { --dur: 7.2s; }
.bubble:nth-child(2)  { --dur: 6.1s; }
.bubble:nth-child(3)  { --dur: 8.3s; }
.bubble:nth-child(4)  { --dur: 5.8s; }
.bubble:nth-child(5)  { --dur: 7.6s; }
.bubble:nth-child(6)  { --dur: 6.7s; }
.bubble:nth-child(7)  { --dur: 8.9s; }
.bubble:nth-child(8)  { --dur: 5.5s; }
.bubble:nth-child(9)  { --dur: 7.0s; }
.bubble:nth-child(10) { --dur: 6.4s; }

@keyframes bubbleFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  25%       { transform: translate(-50%, -50%) translateY(-12px) translateX(4px); }
  50%       { transform: translate(-50%, -50%) translateY(-6px) translateX(-3px); }
  75%       { transform: translate(-50%, -50%) translateY(-14px) translateX(2px); }
}

/* NAV LOGO hnlogo style */
.nav__logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 10px;
  filter: invert(1) brightness(2);
}

.footer__brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  filter: invert(1) brightness(1.5);
}

.download__logo {
  border-radius: 20px;
  filter: invert(1) brightness(1.5);
}


/* WHITEPAPER PAGE */
.whitepaper {
  padding-top: 120px;
  padding-bottom: 80px;
}

.whitepaper__cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.whitepaper__card{
  margin-top: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(10px);
}

.whitepaper__card h2{
  margin-bottom: 10px;
}

.whitepaper__card h3{
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 700;
}

.whitepaper__card ul{
  margin: 10px 0 12px 18px;
}

.whitepaper__card li{
  margin: 6px 0;
}

.whitepaper__card p{
  margin: 10px 0;
}

.whitepaper__card .muted{
  opacity: 0.75;
  font-size: 0.95em;
}

