/* ============================================================
   HOMEPAGE — Velvet Depth Premium Theme
   Organic Three.js integration, warm gradients, fluid motion,
   layered depth, editorial typography. Hand-crafted feel.
============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --hp-primary: #6d28d9;
  --hp-primary-light: #a78bfa;
  --hp-primary-dark: #5b21b6;
  --hp-primary-50: #f5f3ff;
  --hp-primary-100: #ede9fe;
  --hp-accent: #0891b2;
  --hp-accent-light: #67e8f9;
  --hp-violet: #7c3aed;
  --hp-rose: #e11d48;
  --hp-emerald: #059669;
  --hp-amber: #d97706;
  --hp-blue: #2563eb;
  --hp-pink: #db2777;
  --hp-indigo: #4f46e5;
  --hp-sky: #0284c7;
  --hp-warm: #78716c;

  --hp-gray-50: #fafaf9;
  --hp-gray-100: #f5f5f4;
  --hp-gray-200: #e7e5e4;
  --hp-gray-300: #d6d3d1;
  --hp-gray-400: #a8a29e;
  --hp-gray-500: #78716c;
  --hp-gray-600: #57534e;
  --hp-gray-700: #44403c;
  --hp-gray-800: #292524;
  --hp-gray-900: #1c1917;

  --hp-bg: #faf9f7;
  --hp-surface: #ffffff;
  --hp-border: rgba(0,0,0,.06);
  --hp-shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --hp-shadow: 0 4px 24px rgba(0,0,0,.06);
  --hp-shadow-lg: 0 12px 48px rgba(0,0,0,.1);
  --hp-radius: 24px;
  --hp-radius-sm: 16px;
  --hp-radius-xs: 12px;

  --hp-gradient: linear-gradient(135deg, #6d28d9, #7c3aed 40%, #a78bfa);
  --hp-gradient-warm: linear-gradient(135deg, #6d28d9, #9333ea 50%, #c026d3);
  --hp-gradient-soft: linear-gradient(180deg, #faf9f7 0%, #f5f3ff 50%, #fdf4ff 100%);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-smooth: cubic-bezier(.4,0,.2,1);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
body.hp-body,
body:has(.hp-hero),
body:has(.hp-nav),
body:has(.hp-page-header) {
  margin:0; padding:0;
  font-family: var(--font-body);
  color: var(--hp-gray-800);
  background: var(--hp-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
.hp-footer{overflow:hidden}
.hp-footer--page{overflow:hidden}

.hp-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll Reveal ---------- */
.hp-reveal{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.hp-visible{
  opacity: 1;
  transform: translateY(0);
}
.hp-reveal-delay-1{transition-delay:.08s}
.hp-reveal-delay-2{transition-delay:.16s}
.hp-reveal-delay-3{transition-delay:.24s}
.hp-reveal-delay-4{transition-delay:.32s}
.hp-reveal-delay-5{transition-delay:.4s}
.hp-reveal-delay-6{transition-delay:.48s}

/* ============================================================
   NAVBAR — Floating aurora glass pill
============================================================ */
.hp-nav{
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 100;
  padding: 0 16px;
  background: transparent;
  pointer-events: none;
  transition: top .4s var(--ease-out);
}
.hp-nav--scrolled{ top: 8px; }
.hp-nav__inner{
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px 0 14px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(34,211,238,.10), rgba(99,102,241,.08) 45%, rgba(236,72,153,.10)),
    rgba(8,10,26,.58);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 10px 40px -12px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 1px 0 rgba(255,255,255,.08) inset;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
/* gradient hairline border */
.hp-nav__inner::before{
  content:'';
  position:absolute; inset:0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(110deg, rgba(34,211,238,.55), rgba(99,102,241,.25) 30%, rgba(255,255,255,.06) 50%, rgba(168,85,247,.3) 75%, rgba(236,72,153,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
/* soft light streak along the bottom */
.hp-nav__inner::after{
  content:'';
  position:absolute; left: 18%; right: 18%; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.9), rgba(192,132,252,.9), transparent);
  filter: blur(.3px);
  opacity: .7;
  pointer-events:none;
}
.hp-nav--scrolled .hp-nav__inner{
  background:
    linear-gradient(135deg, rgba(34,211,238,.08), rgba(99,102,241,.06) 45%, rgba(236,72,153,.08)),
    rgba(6,8,22,.86);
  box-shadow: 0 16px 50px -14px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.08) inset;
}
.hp-nav__brand{
  display: flex; align-items: center; gap: 11px;
  text-decoration: none;
  font-weight: 800; font-size: 17px;
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.hp-nav__brand:hover{ text-decoration: none; }
.hp-nav__logo{
  width: 38px; height: 38px;
  border-radius: 12px;
  object-fit: contain;
  padding: 3px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), rgba(255,255,255,.03));
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 18px rgba(56,189,248,.35);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.hp-nav__brand:hover .hp-nav__logo{
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 26px rgba(168,85,247,.55);
}
.hp-nav__name{
  background: linear-gradient(100deg, #ffffff 10%, #a5f3fc 45%, #c4b5fd 75%, #f9a8d4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hp-nav__links{
  display: flex; gap: 2px;
  align-items: center;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset;
}
.hp-nav__link{
  position: relative;
  padding: 8px 14px;
  color: rgba(226,232,255,.62);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  white-space: nowrap;
  transition: color .25s var(--ease-out), background .25s var(--ease-out);
}
.hp-nav__link::after{
  content:'';
  position:absolute; left: 50%; bottom: 3px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #a855f7, #ec4899);
  transform: translateX(-50%);
  transition: width .35s var(--ease-out);
}
.hp-nav__link:hover{
  color: #fff;
  background: rgba(255,255,255,.06);
  text-decoration: none;
}
.hp-nav__link:hover::after{ width: 18px; }
.hp-nav__link--active{
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.2) 60%, rgba(236,72,153,.18));
  box-shadow: 0 0 0 1px rgba(165,180,252,.18) inset, 0 4px 16px -6px rgba(139,92,246,.6);
}
.hp-nav__link--active::after{ width: 18px; }
.hp-nav__actions{
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.hp-lang-switcher{
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #06b6d4, #6366f1 55%, #d946ef);
  box-shadow: 0 6px 20px -6px rgba(99,102,241,.7), 0 1px 0 rgba(255,255,255,.25) inset;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), filter .25s;
}
.hp-lang-switcher:hover{
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 10px 28px -6px rgba(168,85,247,.8), 0 1px 0 rgba(255,255,255,.3) inset;
}
.hp-lang-switcher i{ font-size: 13px; }
.hp-nav__toggle{
  display: none;
  width: 42px; height: 42px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  font-size: 17px; color: #e0e7ff;
  cursor: pointer;
  transition: background .2s;
}
.hp-nav__toggle:hover{ background: rgba(255,255,255,.12); }
/* ============================================================
   BUTTONS — Clean with depth
============================================================ */
.hp-btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  border-radius: var(--hp-radius-xs);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  letter-spacing: -.01em;
  font-family: var(--font-body);
}
.hp-btn--primary{
  background: var(--hp-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(109,40,217,.25), 0 1px 2px rgba(109,40,217,.15);
}
.hp-btn--primary:hover{
  background: var(--hp-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109,40,217,.3), 0 2px 4px rgba(109,40,217,.15);
  color: #fff; text-decoration: none;
}
.hp-btn--primary:active{
  transform: translateY(0);
}
.hp-btn--outline{
  background: var(--hp-surface);
  color: var(--hp-gray-700);
  border: 1.5px solid rgba(0,0,0,.1);
}
.hp-btn--outline:hover{
  border-color: rgba(0,0,0,.18);
  color: var(--hp-gray-900);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--hp-shadow);
}
.hp-btn--white{
  background: #fff;
  color: var(--hp-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  font-weight: 700;
}
.hp-btn--white:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  color: var(--hp-primary); text-decoration: none;
}
.hp-btn--sm{padding: 9px 20px; font-size: 13px; border-radius: 10px}
.hp-btn--lg{padding: 16px 36px; font-size: 15px; border-radius: 14px}

/* ============================================================
   HERO — Social Galaxy (Three.js) with aurora gradients
============================================================ */
.hp-hero{
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
  min-height: 94vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(37,99,235,.20), transparent 70%),
    radial-gradient(45% 50% at 10% 90%, rgba(168,85,247,.16), transparent 70%),
    radial-gradient(35% 40% at 20% 10%, rgba(6,182,212,.12), transparent 70%),
    #04050f;
}
.hp-hero__canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.hp-hero__gradient-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,5,15,.72) 0%, rgba(4,5,15,.35) 32%, transparent 55%),
    linear-gradient(0deg, rgba(4,5,15,.9) 0%, transparent 22%),
    linear-gradient(180deg, rgba(4,5,15,.55) 0%, transparent 18%);
  pointer-events: none;
  z-index: 1;
}
/* bottom aurora glow line */
.hp-hero::after{
  content:'';
  position:absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.6), rgba(139,92,246,.7), rgba(236,72,153,.6), transparent);
  z-index: 2;
}

.hp-hero__inner{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Badge */
.hp-hero__badge{
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  color: #e0f2fe;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(139,92,246,.14) 60%, rgba(236,72,153,.12));
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(165,243,252,.18) inset, 0 8px 30px -10px rgba(56,189,248,.5);
}
.hp-hero__badge:empty{display:none}
.hp-hero__badge-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52,211,153,.9);
  animation: hpPulse 2.5s ease-in-out infinite;
}
@keyframes hpPulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(1.5)}
}

/* Title */
.hp-hero__title{
  font-size: clamp(42px, 5.4vw, 74px);
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 26px;
  color: #fff;
  letter-spacing: -.045em;
  text-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.hp-hero__line{display: block}
.hp-hero__line--gradient{
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.02em;
  padding-right: .08em;
  background: linear-gradient(100deg, #67e8f9 0%, #60a5fa 28%, #a78bfa 55%, #e879f9 78%, #fb7185 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: hpGradShift 8s ease-in-out infinite alternate;
}
@keyframes hpGradShift{
  0%{background-position: 0% 50%}
  100%{background-position: 100% 50%}
}

.hp-hero__subtitle{
  font-size: 17px;
  line-height: 1.75;
  color: rgba(214,224,255,.62);
  margin-bottom: 36px;
  max-width: 500px;
}

.hp-hero__btns{
  display: flex; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hp-hero .hp-btn--primary{
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 35%, #8b5cf6 70%, #d946ef 100%);
  background-size: 160% 160%;
  box-shadow: 0 12px 34px -10px rgba(99,102,241,.85), 0 1px 0 rgba(255,255,255,.3) inset;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-position .6s var(--ease-out);
}
.hp-hero .hp-btn--primary:hover{
  color: #fff;
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -10px rgba(168,85,247,.9), 0 1px 0 rgba(255,255,255,.35) inset;
}
.hp-hero .hp-btn--outline{
  background: rgba(255,255,255,.04);
  color: #e0e7ff;
  border: 1px solid rgba(165,180,252,.25);
  backdrop-filter: blur(10px);
}
.hp-hero .hp-btn--outline:hover{
  border-color: rgba(103,232,249,.6);
  color: #fff;
  background: rgba(34,211,238,.08);
  box-shadow: 0 10px 30px -12px rgba(34,211,238,.6);
}

.hp-hero__tags{
  display: flex; gap: 10px;
  flex-wrap: wrap;
}
.hp-hero__tag{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12.5px;
  color: rgba(214,224,255,.7);
  font-weight: 500;
  background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
.hp-hero__tag i{
  color: #34d399;
  font-size: 10px;
}

/* ---------- Visual column: galaxy + floating HUD card ---------- */
.hp-hero__visual{
  position: relative;
  min-height: 600px;
}
.hp-hero__galaxy{
  position: absolute;
  top: -30px; bottom: 70px;
  left: -40px; right: -60px;
  pointer-events: none;
}
.hp-hero__card{
  position: absolute;
  right: -30px; bottom: -10px;
  width: 340px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(34,211,238,.08), rgba(99,102,241,.05) 40%, rgba(236,72,153,.06)),
    rgba(8,10,28,.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 30px 70px -20px rgba(0,0,0,.75),
    0 0 0 1px rgba(165,180,252,.16) inset,
    0 0 40px -10px rgba(56,189,248,.25);
}
.hp-hero__card::before{
  content:'';
  position:absolute; top:0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.9), rgba(232,121,249,.9), transparent);
}
.hp-hero__card-header{
  display: flex; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 10px; color: rgba(214,224,255,.55);
}
.hp-hero__card-dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}
.hp-hero__card-dot--r{background:#ff5f57}
.hp-hero__card-dot--y{background:#febc2e}
.hp-hero__card-dot--g{background:#28c840}
.hp-hero__card-live{
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700;
  color: #34d399; letter-spacing: .06em;
}
.hp-hero__card-live-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,.9);
  animation: hpPulse 2s ease-in-out infinite;
}
.hp-hero__card-body{ padding: 14px; }
.hp-hero__stat-row{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.hp-hero__stat-box{
  border-radius: 12px;
  padding: 10px 11px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.hp-hero__stat-box:hover{
  background: rgba(56,189,248,.08);
  transform: translateY(-2px);
}
.hp-hero__stat-label{
  font-size: 8.5px; font-weight: 700;
  color: rgba(214,224,255,.45);
  letter-spacing: .12em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.hp-hero__stat-value{
  font-size: 17px; font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #ffffff, #a5f3fc 60%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hp-hero__stat-sub{
  font-size: 9.5px; color: rgba(214,224,255,.45);
  margin-top: 3px;
  display: flex; align-items: center; gap: 5px;
}
.hp-dot{width:6px;height:6px;border-radius:50%;display:inline-block}
.hp-dot--green{background:#34d399;box-shadow:0 0 6px rgba(52,211,153,.8)}

.hp-hero__engine{
  border-radius: 12px;
  padding: 10px 12px 4px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset;
}
.hp-hero__engine-title{
  font-size: 8.5px; font-weight: 700;
  color: rgba(214,224,255,.45);
  letter-spacing: .12em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.hp-hero__engine-item{
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 12.5px; color: rgba(226,232,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-weight: 500;
  transition: color .25s, padding .25s;
}
.hp-hero__engine-item:last-child{border-bottom:none}
.hp-hero__engine-item:hover{ color: #fff; padding-left: 3px; }
.hp-hero__engine-item i{ color: #34d399; font-size: 13px; }
.hp-badge--ok{
  margin-left: auto;
  background: rgba(52,211,153,.12);
  color: #6ee7b7;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 9.5px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(52,211,153,.2) inset;
}
/* ============================================================
   COSMIC SECTIONS — shared dark theme below the hero
============================================================ */
body:has(.hp-hero){ background: #05060f; }

@property --hp-ang{
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes hpSpin{ to{ --hp-ang: 360deg; } }
@keyframes hpFloat{
  0%,100%{ transform: translateY(0) }
  50%{ transform: translateY(-10px) }
}
@keyframes hpShimmer{
  0%{ transform: translateX(-120%) skewX(-20deg) }
  60%,100%{ transform: translateX(220%) skewX(-20deg) }
}
@keyframes hpAurora{
  0%{ transform: translate(0,0) scale(1) }
  33%{ transform: translate(6%,-8%) scale(1.15) }
  66%{ transform: translate(-6%,6%) scale(.92) }
  100%{ transform: translate(0,0) scale(1) }
}

.hp-features,
.hp-how,
.hp-stats,
.hp-cta{
  position: relative;
  overflow: hidden;
  color: #e2e8ff;
  background: #05060f;
  isolation: isolate;
}
/* faint star grid shared by all cosmic sections */
.hp-features::after,
.hp-how::after,
.hp-stats::after,
.hp-cta::after{
  content:'';
  position:absolute; inset:0;
  z-index:-1;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 120px 90px, rgba(165,243,252,.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 200px 160px, rgba(196,181,253,.35), transparent 60%);
  background-size: 240px 240px, 240px 240px, 240px 240px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events:none;
}

/* ---------- Section header (dark) ---------- */
.hp-section-header{
  text-align: center;
  margin-bottom: 72px;
  position: relative;
}
.hp-section-badge{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hp-primary-50);
  color: var(--hp-primary);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 20px;
  border: 1px solid var(--hp-primary-100);
}
.hp-section-title{
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--hp-gray-900);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -.04em;
}
.hp-section-sub{
  font-size: 16px;
  color: var(--hp-gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.hp-features .hp-section-badge,
.hp-how .hp-section-badge{
  position: relative;
  color: #e0f2fe;
  border: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(139,92,246,.16) 60%, rgba(236,72,153,.14));
  box-shadow: 0 0 0 1px rgba(165,243,252,.2) inset, 0 8px 30px -10px rgba(56,189,248,.55);
  overflow: hidden;
}
.hp-features .hp-section-badge::after,
.hp-how .hp-section-badge::after{
  content:'';
  position:absolute; top:0; bottom:0; left:0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: hpShimmer 3.6s ease-in-out infinite;
}
.hp-features .hp-section-badge i,
.hp-how .hp-section-badge i{ color: #67e8f9; }
.hp-features .hp-section-title,
.hp-how .hp-section-title{
  background: linear-gradient(180deg, #ffffff 30%, #c7d2fe 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hp-features .hp-section-title .hp-grad,
.hp-how .hp-section-title .hp-grad{
  background: linear-gradient(100deg, #67e8f9, #818cf8 45%, #e879f9 80%, #fb7185);
  -webkit-background-clip: text; background-clip: text;
}
.hp-features .hp-section-sub,
.hp-how .hp-section-sub{ color: rgba(214,224,255,.6); }

/* ============================================================
   MARQUEE — glowing ticker
============================================================ */
.hp-marquee{
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background:
    linear-gradient(90deg, rgba(34,211,238,.07), rgba(139,92,246,.09) 50%, rgba(236,72,153,.07)),
    #070816;
  border-top: 1px solid rgba(165,180,252,.1);
  border-bottom: 1px solid rgba(165,180,252,.1);
}
.hp-marquee::before,
.hp-marquee::after{
  content:'';
  position: absolute;
  top:0; bottom:0; width: 140px;
  z-index: 2;
  pointer-events: none;
}
.hp-marquee::before{ left:0;  background: linear-gradient(90deg, #070816, transparent); }
.hp-marquee::after{  right:0; background: linear-gradient(-90deg, #070816, transparent); }
.hp-marquee__track{
  display: flex;
  width: max-content;
  animation: hpScroll 50s linear infinite;
  white-space: nowrap;
}
.hp-marquee:hover .hp-marquee__track{ animation-play-state: paused; }
.hp-marquee__item{
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(214,224,255,.55);
  flex-shrink: 0;
  transition: color .3s;
}
.hp-marquee__item:hover{ color: #fff; }
.hp-marquee__item i{
  font-size: 6px;
  color: #67e8f9;
  filter: drop-shadow(0 0 6px rgba(103,232,249,.9));
}
.hp-marquee__item:nth-child(3n+2) i{ color: #c084fc; filter: drop-shadow(0 0 6px rgba(192,132,252,.9)); }
.hp-marquee__item:nth-child(3n) i{ color: #f472b6; filter: drop-shadow(0 0 6px rgba(244,114,182,.9)); }
@keyframes hpScroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-33.333%)}
}

/* ============================================================
   SHARED GLASS CARD (features, steps, stats)
============================================================ */
.hp-feature-card,
.hp-how__step,
.hp-stats__item{
  --c1: #22d3ee; --c2: #8b5cf6;
  --mx: 50%; --my: 0%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    rgba(10,12,30,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 20px 50px -25px rgba(0,0,0,.8);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .5s;
}
/* animated gradient border */
.hp-feature-card::before,
.hp-how__step::before,
.hp-stats__item::before{
  content:'';
  position:absolute; inset:0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--hp-ang), transparent 0 55%, var(--c1) 70%, var(--c2) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .35;
  animation: hpSpin 6s linear infinite;
  transition: opacity .5s;
  pointer-events: none;
}
/* cursor spotlight */
.hp-feature-card__spot{
  position:absolute; inset:0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c1) 22%, transparent), transparent 45%),
    radial-gradient(600px circle at var(--mx) var(--my), color-mix(in srgb, var(--c2) 12%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events:none;
}
.hp-feature-card:hover,
.hp-how__step:hover,
.hp-stats__item:hover{
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 30px 70px -25px color-mix(in srgb, var(--c2) 55%, transparent),
    0 0 50px -20px color-mix(in srgb, var(--c1) 60%, transparent);
}
.hp-feature-card:hover::before,
.hp-how__step:hover::before,
.hp-stats__item:hover::before{ opacity: 1; }
.hp-feature-card:hover .hp-feature-card__spot,
.hp-how__step:hover .hp-feature-card__spot,
.hp-stats__item:hover .hp-feature-card__spot{ opacity: 1; }

/* ============================================================
   FEATURES
============================================================ */
.hp-features{
  padding: 130px 0 120px;
  background:
    radial-gradient(50% 40% at 15% 15%, rgba(34,211,238,.10), transparent 70%),
    radial-gradient(45% 45% at 90% 60%, rgba(168,85,247,.12), transparent 70%),
    #05060f;
}
.hp-features__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hp-feature-card{
  border-radius: 24px;
  padding: 38px 32px 34px;
}
.hp-feature-card__num{
  position: absolute;
  top: 22px; right: 26px;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  transition: -webkit-text-stroke-color .5s, transform .5s var(--ease-out);
}
.hp-feature-card:hover .hp-feature-card__num{
  -webkit-text-stroke-color: color-mix(in srgb, var(--c1) 60%, transparent);
  transform: translateY(-3px);
}
.hp-feature-card__icon{
  position: relative;
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 23px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow:
    0 12px 30px -10px color-mix(in srgb, var(--c2) 80%, transparent),
    0 1px 0 rgba(255,255,255,.35) inset,
    0 -8px 16px rgba(0,0,0,.15) inset;
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.hp-feature-card__icon::after{
  content:'';
  position:absolute; inset:-6px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent);
  opacity: .5;
  animation: hpIconPulse 3s ease-in-out infinite;
}
@keyframes hpIconPulse{
  0%,100%{ transform: scale(.94); opacity: .0 }
  50%{ transform: scale(1.06); opacity: .7 }
}
.hp-feature-card__icon i{ filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.hp-feature-card:hover .hp-feature-card__icon{
  transform: translateY(-4px) rotate(-6deg) scale(1.06);
  box-shadow:
    0 18px 40px -10px color-mix(in srgb, var(--c2) 90%, transparent),
    0 0 30px -4px color-mix(in srgb, var(--c1) 70%, transparent),
    0 1px 0 rgba(255,255,255,.4) inset;
}
.hp-feature-card__title{
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.015em;
}
.hp-feature-card__desc{
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(214,224,255,.58);
  margin: 0;
}
/* bottom accent line */
.hp-feature-card__desc::after{
  content:'';
  display:block;
  margin-top: 22px;
  height: 2px; width: 36px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  box-shadow: 0 0 12px color-mix(in srgb, var(--c1) 70%, transparent);
  transition: width .6s var(--ease-out);
}
.hp-feature-card:hover .hp-feature-card__desc::after{ width: 100%; }

/* Card entrance */
.hp-feature-card{
  opacity: 0;
  transform: translateY(28px);
}
.hp-feature-card.hp-visible,
.hp-feature-card.hp-card-entered{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .5s var(--ease-out);
}
.hp-how__step.hp-step-entered{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.hp-how{
  padding: 120px 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(99,102,241,.16), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(236,72,153,.10), transparent 70%),
    radial-gradient(40% 40% at 100% 90%, rgba(34,211,238,.10), transparent 70%),
    #05060f;
}
.hp-how::before{
  content:'';
  position:absolute; top:0; left:10%; right:10%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.5), rgba(192,132,252,.5), transparent);
}
.hp-how__steps{
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.hp-how__step{
  flex: 1;
  max-width: 350px;
  text-align: center;
  padding: 44px 28px 38px;
  border-radius: 26px;
}
.hp-how__step:hover{ transform: translateY(-8px) !important; }
.hp-how__number{
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  margin-bottom: 22px;
  background: conic-gradient(from var(--hp-ang), var(--c1), var(--c2), var(--c1));
  animation: hpSpin 5s linear infinite;
  box-shadow: 0 0 40px -6px color-mix(in srgb, var(--c1) 70%, transparent);
}
.hp-how__number span{
  display:flex; align-items:center; justify-content:center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.14), transparent 60%),
    #0b0d24;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hp-how__number span{
  color: #fff;
  text-shadow: 0 0 18px color-mix(in srgb, var(--c1) 90%, transparent);
}
/* orbiting dot */
.hp-how__number::after{
  content:'';
  position:absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  top: -3px; left: 50%;
  margin-left: -5px;
  background: #fff;
  box-shadow: 0 0 12px 3px var(--c1);
  transform-origin: 5px 41px;
  animation: hpOrbit 4s linear infinite;
}
@keyframes hpOrbit{ to{ transform: rotate(360deg) } }
.hp-how__step:hover .hp-how__number{ animation-duration: 1.6s; }
.hp-how__step-title{
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.hp-how__step-desc{
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(214,224,255,.58);
  margin: 0;
}
/* connector beam between steps */
.hp-how__arrow{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  flex-shrink: 0;
  color: rgba(165,180,252,.6);
  font-size: 12px;
}
.hp-how__beam{
  position:absolute; left: 6px; right: 6px; top: 50%;
  height: 2px; margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(34,211,238,.15), rgba(139,92,246,.35), rgba(236,72,153,.15));
  overflow: hidden;
}
.hp-how__beam::after{
  content:'';
  position:absolute; top: -2px; left: -30%;
  width: 30%; height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  box-shadow: 0 0 12px #67e8f9;
  animation: hpBeam 2.2s ease-in-out infinite;
}
@keyframes hpBeam{ to{ left: 100% } }
.hp-how__arrow i{
  position: relative;
  width: 26px; height: 26px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%;
  background: #0b0d24;
  box-shadow: 0 0 0 1px rgba(165,180,252,.25) inset, 0 0 16px -2px rgba(139,92,246,.6);
}

/* ============================================================
   STATS
============================================================ */
.hp-stats{
  padding: 90px 0 100px;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(59,130,246,.12), transparent 70%),
    #05060f;
}
.hp-stats__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hp-stats__item{
  text-align: center;
  padding: 42px 20px 36px;
  border-radius: 24px;
}
.hp-stats__item:hover{ transform: translateY(-6px); }
/* glowing halo behind the number */
.hp-stats__item::after{
  content:'';
  position:absolute;
  left: 50%; top: 38%;
  width: 140px; height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 30%, transparent), transparent 70%);
  filter: blur(10px);
  animation: hpBreath 4s ease-in-out infinite;
}
@keyframes hpBreath{
  0%,100%{ transform: scale(.85); opacity: .6 }
  50%{ transform: scale(1.1); opacity: 1 }
}
.hp-stats__value{
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #ffffff 10%, var(--c1) 55%, var(--c2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 20px color-mix(in srgb, var(--c1) 45%, transparent));
}
.hp-stats__label{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(214,224,255,.6);
}

/* ============================================================
   CTA — aurora portal
============================================================ */
.hp-cta{
  padding: 110px 0 120px;
}
.hp-cta__box{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  padding: 96px 56px;
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, #1a1450 0%, #0b0b2a 45%, #060716 100%);
  box-shadow:
    0 40px 120px -40px rgba(99,102,241,.6),
    0 0 0 1px rgba(255,255,255,.06) inset;
}
/* rotating gradient border */
.hp-cta__box::before{
  content:'';
  position:absolute; inset:0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--hp-ang), #22d3ee, #6366f1, #d946ef, #fb7185, #22d3ee);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: hpSpin 8s linear infinite;
  z-index: 3;
  pointer-events:none;
}
/* star dust */
.hp-cta__box::after{
  content:'';
  position:absolute; inset:0;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 30px 40px, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 140px 110px, rgba(165,243,252,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 90px 170px, rgba(244,114,182,.6), transparent 60%),
    radial-gradient(1px 1px at 200px 60px, rgba(196,181,253,.7), transparent 60%);
  background-size: 230px 200px;
  opacity: .6;
  animation: hpStarDrift 40s linear infinite;
  pointer-events:none;
}
@keyframes hpStarDrift{ to{ background-position: 230px 400px } }
.hp-cta__aurora{
  position:absolute; inset:0;
  z-index: 0;
  filter: blur(60px);
  pointer-events:none;
}
.hp-cta__aurora span{
  position:absolute;
  width: 46%; height: 80%;
  border-radius: 50%;
  opacity: .55;
  animation: hpAurora 14s ease-in-out infinite;
}
.hp-cta__aurora span:nth-child(1){ left: -8%; top: -20%; background: #0891b2; }
.hp-cta__aurora span:nth-child(2){ left: 30%; top: 30%; background: #6d28d9; animation-delay: -5s; animation-duration: 18s; }
.hp-cta__aurora span:nth-child(3){ right: -10%; top: -10%; background: #be185d; animation-delay: -9s; animation-duration: 16s; }

.hp-cta__float{ position:absolute; inset:0; z-index: 1; pointer-events:none; }
.hp-cta__bubble{
  position:absolute;
  left: var(--x); top: var(--y);
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 21px;
  background: var(--bg);
  box-shadow:
    0 0 0 3px rgba(255,255,255,.12),
    0 0 0 4px rgba(255,255,255,.04),
    0 14px 30px -8px rgba(0,0,0,.6),
    0 0 26px -4px rgba(255,255,255,.35);
  animation: hpBubble 7s ease-in-out infinite;
  animation-delay: var(--d);
}
.hp-cta__bubble::after{
  content:'';
  position:absolute; inset: 3px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent 50%);
}
.hp-cta__bubble--sm{ width: 40px; height: 40px; margin: -20px 0 0 -20px; font-size: 16px; opacity: .85; }
@keyframes hpBubble{
  0%,100%{ transform: translate(0,0) rotate(0deg) }
  25%{ transform: translate(6px,-14px) rotate(6deg) }
  50%{ transform: translate(-4px,-22px) rotate(-4deg) }
  75%{ transform: translate(-8px,-8px) rotate(3deg) }
}
.hp-cta__title{
  position: relative; z-index: 2;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  margin: 0 auto 18px;
  max-width: 760px;
  letter-spacing: -.04em;
  line-height: 1.1;
  background: linear-gradient(100deg, #ffffff 20%, #a5f3fc 50%, #f0abfc 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hp-cta__sub{
  position: relative; z-index: 2;
  font-size: 17px;
  color: rgba(214,224,255,.7);
  margin: 0 auto 38px;
  max-width: 520px;
  line-height: 1.7;
}
.hp-cta .hp-btn{ position: relative; z-index: 2; }

/* gradient glow button (CTA) */
.hp-btn--glow{
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 35%, #8b5cf6 70%, #d946ef 100%);
  background-size: 160% 160%;
  box-shadow: 0 14px 40px -10px rgba(139,92,246,.9), 0 1px 0 rgba(255,255,255,.35) inset;
}
.hp-btn--glow::after{
  content:'';
  position:absolute; top:0; bottom:0; left:0; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: hpShimmer 3.2s ease-in-out infinite;
}
.hp-btn--glow:hover{
  color:#fff; text-decoration:none;
  background-position: 100% 100%;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px -10px rgba(217,70,239,.9), 0 1px 0 rgba(255,255,255,.4) inset;
}
.hp-btn--glow i{ transition: transform .3s var(--ease-out); }
.hp-btn--glow:hover i{ transform: translateX(4px); }

/* ============================================================
   FOOTER — cosmic
============================================================ */
.hp-footer{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 0;
  color: rgba(214,224,255,.55);
  background:
    radial-gradient(60% 80% at 50% 120%, rgba(99,102,241,.22), transparent 70%),
    radial-gradient(30% 50% at 0% 0%, rgba(34,211,238,.08), transparent 70%),
    #04050d;
}
.hp-footer::before{
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.6), rgba(139,92,246,.7), rgba(236,72,153,.6), transparent);
}
.hp-footer__glow{
  position:absolute;
  top: -120px; left: 50%;
  width: 600px; height: 240px;
  margin-left: -300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139,92,246,.25), transparent);
  filter: blur(20px);
  z-index: -1;
  pointer-events:none;
}
.hp-footer__grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hp-footer__brand-name{
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: #fff;
}
.hp-footer__logo{
  width: 36px; height: 36px;
  border-radius: 11px;
  object-fit: contain;
  padding: 3px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.16), rgba(255,255,255,.03));
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 18px rgba(56,189,248,.35);
}
.hp-footer__brand-desc{
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 380px;
  color: rgba(214,224,255,.5);
}
.hp-footer__socials{ display: flex; gap: 10px; }
.hp-footer__social{
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  color: rgba(214,224,255,.7);
  text-decoration: none;
  font-size: 15px;
  transition: transform .3s var(--ease-out), background .3s, box-shadow .3s, color .3s;
}
.hp-footer__social:hover{
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  background: linear-gradient(135deg, #06b6d4, #6366f1 55%, #d946ef);
  box-shadow: 0 10px 24px -8px rgba(139,92,246,.9);
}
.hp-footer__col-title{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #67e8f9, #c084fc);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hp-footer__link{
  position: relative;
  display: table;
  font-size: 14.5px;
  color: rgba(214,224,255,.62);
  text-decoration: none;
  padding: 6px 0;
  font-weight: 500;
  transition: color .25s var(--ease-out), transform .25s var(--ease-out);
}
.hp-footer__link::after{
  content:'';
  position:absolute; left:0; bottom: 3px;
  width: 0; height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #a855f7, #ec4899);
  transition: width .35s var(--ease-out);
}
.hp-footer__link:hover{
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
}
.hp-footer__link:hover::after{ width: 100%; }
.hp-footer__watermark{
  margin-top: 36px;
  text-align: center;
  font-size: clamp(44px, 10.5vw, 148px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .9;
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(165,180,252,.22), rgba(165,180,252,0) 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}
.hp-footer__bottom{
  padding: 26px 0 30px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(214,224,255,.4);
  border-top: 1px solid rgba(255,255,255,.05);
}
.hp-footer__bottom p{ margin: 0; }
.hp-footer__bottom--simple{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hp-footer__pages{
  display: flex; gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.hp-footer__pages .hp-footer__link{
  display: inline;
}

@media (prefers-reduced-motion: reduce){
  .hp-feature-card::before, .hp-how__step::before, .hp-stats__item::before,
  .hp-how__number, .hp-how__number::after, .hp-how__beam::after,
  .hp-cta__box::before, .hp-cta__box::after, .hp-cta__aurora span, .hp-cta__bubble,
  .hp-btn--glow::after, .hp-stats__item::after, .hp-feature-card__icon::after,
  .hp-features .hp-section-badge::after, .hp-how .hp-section-badge::after{ animation: none !important; }
}

/* ============================================================
   PAGE HEADER (info pages)
============================================================ */
.hp-page-header{
  padding: 140px 0 60px;
  background: var(--hp-gradient-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hp-page-header__breadcrumb{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--hp-gray-400);
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.hp-page-header__breadcrumb a{
  color: var(--hp-gray-500);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.hp-page-header__breadcrumb a:hover{color: var(--hp-primary)}
.hp-page-header__breadcrumb i.fa-chevron-right{font-size: 10px;opacity:.4}
.hp-page-header__icon{
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: var(--hp-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(109,40,217,.25);
  position: relative; z-index: 1;
  transition: all .4s var(--ease-out);
}
.hp-page-header__icon:hover{
  transform: translateY(-3px) scale(1.05);
}
.hp-page-header__title{
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--hp-gray-900);
  margin: 14px 0 12px;
  position: relative; z-index: 1;
  letter-spacing: -.035em;
}
.hp-page-header__sub{
  font-size: 16px;
  color: var(--hp-gray-500);
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.hp-page-header__meta{
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--hp-gray-400);
  margin-top: 22px;
  position: relative; z-index: 1;
  flex-wrap: wrap;
}
.hp-page-header__meta span{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-gray-500);
  box-shadow: var(--hp-shadow-sm);
  transition: all .25s;
}
.hp-page-header__meta span:hover{
  transform: translateY(-2px);
  box-shadow: var(--hp-shadow);
}
.hp-page-header__meta i{
  color: var(--hp-primary);
}
.hp-section-badge{position:relative; z-index:1}

/* ============================================================
   PAGE CONTENT LAYOUT
============================================================ */
.hp-page-content{
  padding: 48px 0 100px;
  background: var(--hp-bg);
  position: relative;
}
.hp-page-content::before{
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--hp-border);
}
.hp-page-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar */
.hp-page-sidebar{
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}
.hp-sidebar-card{
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--hp-shadow-sm);
  transition: all .3s var(--ease-out);
}
.hp-sidebar-card:hover{
  box-shadow: var(--hp-shadow);
  transform: translateY(-2px);
}
.hp-sidebar-card__title{
  font-size: 10.5px;
  font-weight: 700;
  color: var(--hp-primary);
  letter-spacing: .08em;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hp-border);
  text-transform: uppercase;
}
.hp-sidebar-nav{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-sidebar-nav__item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  transition: all .25s var(--ease-out);
  color: var(--hp-gray-700);
}
.hp-sidebar-nav__item:hover{
  background: rgba(0,0,0,.03);
  text-decoration: none;
  color: var(--hp-gray-900);
}
.hp-sidebar-nav__item--active{
  background: var(--hp-primary-50) !important;
  color: var(--hp-primary) !important;
}
.hp-sidebar-nav__icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all .3s var(--ease-out);
}
.hp-sidebar-nav__item--active .hp-sidebar-nav__icon{
  background: var(--hp-primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(109,40,217,.25);
}
.hp-sidebar-nav__label{
  font-size: 14px;
  font-weight: 600;
}
.hp-sidebar-nav__sub{
  font-size: 11px;
  color: var(--hp-gray-400);
  margin-top: 2px;
}
.hp-toc-list a{
  display: block;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--hp-gray-500);
  text-decoration: none;
  border-left: 2px solid rgba(0,0,0,.06);
  transition: all .25s var(--ease-out);
  border-radius: 0 10px 10px 0;
}
.hp-toc-list a:hover{
  color: var(--hp-primary);
  background: var(--hp-primary-50);
  border-left-color: var(--hp-primary-light);
  text-decoration: none;
}
.hp-toc-list a.active{
  color: var(--hp-primary);
  background: var(--hp-primary-50);
  border-left-color: var(--hp-primary);
  font-weight: 600;
  text-decoration: none;
}
.hp-sidebar-help{
  background: var(--hp-primary-50);
  border-color: var(--hp-primary-100);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hp-sidebar-help__icon{
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--hp-primary);
  position: relative;
}
.hp-sidebar-help h4{
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-gray-900);
  margin: 0 0 8px;
  position: relative;
}
.hp-sidebar-help p{
  font-size: 13px;
  color: var(--hp-gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
}
.hp-sidebar-help .hp-btn{
  position: relative;
  border-radius: 12px;
}

/* Main article content */
.hp-page-main{min-width:0}
.hp-page-article{
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--hp-shadow-sm);
  position: relative;
}
.hp-page-article::before{
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--hp-gradient);
  border-radius: 24px 24px 0 0;
  opacity: .5;
}
.hp-page-article h3{
  font-size: 22px;
  font-weight: 800;
  color: var(--hp-gray-900);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hp-border);
  letter-spacing: -.02em;
}
.hp-page-article h4{
  font-size: 17px;
  font-weight: 700;
  color: var(--hp-gray-800);
  margin: 36px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-page-article h4::before{
  content:'';
  width: 3px; height: 22px;
  border-radius: 3px;
  background: var(--hp-primary);
  flex-shrink: 0;
}
.hp-page-article p{
  font-size: 15px;
  line-height: 1.85;
  color: var(--hp-gray-600);
  margin-bottom: 18px;
}
.hp-page-article ul{
  padding-left: 0;
  list-style: none;
  margin-bottom: 20px;
}
.hp-page-article li{
  font-size: 15px;
  line-height: 1.85;
  color: var(--hp-gray-600);
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}
.hp-page-article li::before{
  content:'';
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hp-primary);
  opacity: .3;
}
.hp-page-article strong{
  color: var(--hp-gray-800);
  font-weight: 600;
}
.hp-page-article a{
  color: var(--hp-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(109,40,217,.15);
  transition: all .25s;
}
.hp-page-article a:hover{
  border-bottom-color: var(--hp-primary);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px){
  .hp-nav{ top: 10px; padding: 0 12px; }
  .hp-nav__inner{ height: 60px; }
  .hp-nav__links{
    display: none;
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    background:
      linear-gradient(160deg, rgba(34,211,238,.10), rgba(99,102,241,.06) 50%, rgba(236,72,153,.10)),
      #070a1c;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 60px -16px rgba(0,0,0,.8), 0 0 0 1px rgba(165,180,252,.16) inset;
    z-index: 99;
  }
  .hp-nav__link{ padding: 12px 14px; font-size: 14px; }
  .hp-nav__link::after{ display: none; }
  .hp-nav__links.open{display:flex; animation: hpMenuIn .3s var(--ease-out)}
  .hp-nav__toggle{display:inline-flex; align-items:center; justify-content:center}
  @keyframes hpMenuIn{ from{opacity:0; transform: translateY(-8px)} to{opacity:1; transform:none} }
}

@media (max-width: 1024px){
  .hp-hero__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hp-hero__subtitle{margin-left:auto;margin-right:auto}
  .hp-hero__btns{justify-content:center}
  .hp-hero__tags{justify-content:center}
  .hp-hero__visual{
    margin-top: 8px;
    min-height: 0;
    display: flex; flex-direction: column; align-items: center;
  }
  .hp-hero__galaxy{
    position: relative;
    top: auto; bottom: auto; left: auto; right: auto;
    width: min(520px, 100%);
    aspect-ratio: 1 / 1;
  }
  .hp-hero__card{
    position: relative;
    right: auto; bottom: auto;
    width: 100%; max-width: 380px;
    margin-top: -40px;
    text-align: left;
  }
  .hp-features__grid{grid-template-columns: repeat(2, 1fr)}
  .hp-how__steps{flex-direction:column;align-items:center}
  .hp-how__step{width:100%}
  .hp-how__arrow{width:auto;height:56px}
  .hp-how__beam{left:50%;right:auto;top:4px;bottom:4px;width:2px;height:auto;margin:0 0 0 -1px;
    background:linear-gradient(180deg, rgba(34,211,238,.2), rgba(139,92,246,.4), rgba(236,72,153,.2))}
  .hp-how__beam::after{display:none}
  .hp-how__arrow i{transform:rotate(90deg)}
  .hp-stats__grid{grid-template-columns: repeat(2, 1fr)}
  .hp-footer__grid{grid-template-columns: 1fr}
}

@media (max-width: 768px){

  .hp-hero{padding: 110px 0 60px; min-height: auto}
  .hp-hero__title{font-size: 36px}
  .hp-features{padding: 80px 0}
  .hp-how{padding: 80px 0}
  .hp-features__grid{grid-template-columns: 1fr}
  .hp-stats__grid{grid-template-columns: repeat(2, 1fr)}

  .hp-page-layout{grid-template-columns: 1fr}
  .hp-page-sidebar{position: static; order: 2}
  .hp-page-main{order: 1}
  .hp-page-article{padding: 32px; border-radius: 20px}

  .hp-cta__box{padding: 72px 22px; border-radius: 24px}
  .hp-cta__bubble{transform:scale(.8)}
  .hp-cta__bubble--sm{display:none}
  .hp-feature-card__num{font-size:38px}
  .hp-footer__grid{gap: 32px}
  .hp-section-header{margin-bottom: 48px}
}

@media (max-width: 480px){
  .hp-container{padding: 0 16px}
  .hp-hero__title{font-size: 30px}
  .hp-hero__stat-row{grid-template-columns: 1fr}
  .hp-stats__grid{grid-template-columns: 1fr}
  .hp-hero__btns{flex-direction: column}
  .hp-hero__btns .hp-btn{width: 100%; justify-content: center}
  .hp-page-article{padding: 20px; border-radius: 16px}
  .hp-page-article h4::before{display: none}
  .hp-feature-card{padding: 28px 24px}
  .hp-lang-switcher{padding: 8px 11px; font-size: 11px}
  .hp-nav__name{font-size: 15px}
  .hp-hero__card{margin-top: -24px}
}
