/* ============================================
   AARYAN AGRAWAL — DIGITAL EMPIRE v3.0
   style.css
   ============================================ */

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:   #FF6B35;
  --yellow:   #FFD700;
  --blue:     #00E5FF;
  --purple:   #7C4DFF;
  --pink:     #FF4081;
  --green:    #00FF88;
  --white:    #FFFFFF;
  --bg:       #060810;
  --bg2:      #0A0D1E;
  --card:     rgba(255,255,255,0.04);
  --border:   rgba(255,255,255,0.08);
  --text:     #E8EAFF;
  --muted:    rgba(232,234,255,0.45);
  --r: 18px;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --font-head: 'Orbitron', sans-serif;
  --font-disp: 'Bebas Neue', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
@media (pointer: coarse) { body { cursor: auto; } }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
strong { color: var(--white); }
em { color: var(--orange); font-style: normal; }

/* ---- NOISE ---- */
.noise-overlay {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025; pointer-events: none; z-index: 9998;
}

/* ---- SCROLL PROGRESS ---- */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,0.05); z-index: 9999;
}
#scroll-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--blue));
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(255,107,53,0.7);
}

/* ---- CURSOR ---- */
#cursor-outer {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(255,107,53,0.5);
  border-radius: 20%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, opacity .2s;
}
#cursor-inner {
  position: fixed; width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none; z-index: 10001;
  transform: translate(-50%,-50%);
  transition: transform .08s, opacity .2s, width .2s, height .2s;
  box-shadow: 0 0 8px var(--orange);
}
body.cursor-hover #cursor-outer { width: 60px; height: 60px; border-color: var(--orange); }
body.cursor-hover #cursor-inner { width: 4px; height: 4px; }
@media (pointer: coarse) { #cursor-outer, #cursor-inner { display: none; } }

/* ---- LOADER ---- */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  gap: 32px;
}
#loader.out { opacity: 0; transform: scale(1.05); pointer-events: none; }

.loader-content {
  position: relative;
  width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
}
.loader-ring-outer, .loader-ring-inner {
  position: absolute; border-radius: 50%;
  border: 2px solid transparent;
}
.loader-ring-outer {
  inset: 0;
  border-top-color: var(--orange);
  border-right-color: rgba(255,107,53,0.2);
  animation: spin 1.2s linear infinite;
}
.loader-ring-inner {
  inset: 20px;
  border-bottom-color: var(--blue);
  border-left-color: rgba(0,229,255,0.2);
  animation: spin 0.9s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loader-center {
  position: relative; z-index: 2;
  text-align: center;
}
.loader-logo {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(255,107,53,0.8);
  animation: logo-pulse 1.5s ease-in-out infinite alternate;
}
@keyframes logo-pulse {
  from { text-shadow: 0 0 20px rgba(255,107,53,0.6); }
  to   { text-shadow: 0 0 50px rgba(255,107,53,1), 0 0 80px rgba(0,229,255,0.4); }
}
.loader-text {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--blue);
  margin-top: 6px;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
.loader-pct {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.loader-sparks {
  position: absolute; inset: 0; border-radius: 50%;
  animation: spin 3s linear infinite;
}
.loader-sparks span {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--yellow);
}
.loader-sparks span:nth-child(1) { top: 0; left: 50%; animation: spark-blink 0.8s 0s infinite alternate; }
.loader-sparks span:nth-child(2) { top: 25%; right: 0; animation: spark-blink 0.8s 0.13s infinite alternate; }
.loader-sparks span:nth-child(3) { bottom: 25%; right: 0; animation: spark-blink 0.8s 0.26s infinite alternate; }
.loader-sparks span:nth-child(4) { bottom: 0; left: 50%; animation: spark-blink 0.8s 0.39s infinite alternate; }
.loader-sparks span:nth-child(5) { bottom: 25%; left: 0; animation: spark-blink 0.8s 0.52s infinite alternate; }
.loader-sparks span:nth-child(6) { top: 25%; left: 0; animation: spark-blink 0.8s 0.65s infinite alternate; }
@keyframes spark-blink { from { opacity: 0.2; transform: scale(0.5); } to { opacity: 1; transform: scale(1.5); } }

.loader-bar-wrap {
  width: 260px; height: 3px;
  background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden;
}
.loader-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--blue));
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,107,53,0.5);
  transition: width 0.1s linear;
}
.loader-tagline {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---- CANVAS ---- */
#canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}

/* ---- HEADER ---- */
#header {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(6,8,16,0.75);
  border-bottom: 1px solid var(--border);
  z-index: 800;
  transition: background 0.3s var(--ease);
}
#header.scrolled { background: rgba(6,8,16,0.95); }

.logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 0;
}
.logo-a { color: var(--orange); }
.logo-rest { color: var(--white); }
.logo-dot { color: var(--orange); }

.nav-links {
  display: flex; gap: 32px;
}
.nav-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-item::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-item:hover { color: var(--white); }
.nav-item:hover::after { transform: scaleX(1); }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  z-index: 850;
}
.hamburger:hover { background: rgba(255,107,53,0.15); border-color: rgba(255,107,53,0.4); }
.ham-box {
  display: flex; flex-direction: column; gap: 5px;
  width: 20px;
}
.ham-line {
  display: block; height: 2px;
  background: var(--orange); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s, width 0.3s;
}
.ham-line.l1 { width: 20px; }
.ham-line.l2 { width: 14px; }
.ham-line.l3 { width: 17px; }
.hamburger.open .l1 { transform: translateY(7px) rotate(45deg); width: 20px; }
.hamburger.open .l2 { opacity: 0; transform: scaleX(0); }
.hamburger.open .l3 { transform: translateY(-7px) rotate(-45deg); width: 20px; }

/* ---- MOBILE OVERLAY ---- */
.mob-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 810;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mob-overlay.show { opacity: 1; pointer-events: all; }

/* ---- MOBILE DRAWER ---- */
.mob-menu {
  position: fixed; top: 0; right: 0;
    width: 85vw;
  max-width: 320px; height: 100dvh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 820;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.34,1.1,0.64,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mob-menu::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--blue));
}
.mob-menu.open { transform: translateX(0); }

.mob-menu-inner {
  padding: 80px 32px 40px;
  display: flex; flex-direction: column;
  height: 100%; gap: 32px;
}
.mob-menu-top { }
.mob-greeting {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 4px;
}
.mob-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.mob-nav {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.mob-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.mob-link::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--orange);
  opacity: 0.6;
  letter-spacing: 0.1em;
}
.mob-link:hover, .mob-link:active {
  color: var(--white);
  background: rgba(255,107,53,0.08);
  border-color: rgba(255,107,53,0.2);
  transform: translateX(4px);
}

.mob-bottom {
  display: flex; flex-direction: column; gap: 10px;
}
.mob-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--orange);
  color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,107,53,0.3);
}
.mob-cta:active { transform: scale(0.97); }
.mob-cta.green { background: #25D366; box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
.mob-footer {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ---- UFO ---- */
#ufo {
  position: fixed;
  top: 80px; right: -200px;
  z-index: 60; cursor: pointer;
  animation: ufo-hover 3s ease-in-out infinite alternate;
  transition: none;
}
#ufo.fly-in { animation: ufo-fly-in 12s linear forwards, ufo-hover 3s ease-in-out infinite alternate; }
@keyframes ufo-fly-in {
  0%   { right: -200px; top: 100px; }
  30%  { right: 30px; top: 120px; }
  70%  { right: 30px; top: 80px; }
  100% { right: -200px; top: 60px; }
}
@keyframes ufo-hover {
  from { transform: translateY(0) rotate(-3deg); }
  to   { transform: translateY(-14px) rotate(3deg); }
}
.ufo-body { position: relative; }
.ufo-dome {
  width: 60px; height: 34px;
  background: linear-gradient(160deg, rgba(150,220,255,0.9), rgba(50,150,255,0.7));
  border-radius: 50% 50% 0 0;
  margin: 0 auto;
  position: relative;
  border: 1.5px solid rgba(100,200,255,0.5);
  box-shadow: 0 0 20px rgba(100,200,255,0.4), inset 0 -4px 12px rgba(255,255,255,0.2);
}
.ufo-dome::after {
  content: '';
  position: absolute; top: 8px; left: 12px;
  width: 20px; height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.ufo-base {
  width: 90px; height: 26px;
  background: linear-gradient(180deg, #2a4a8a, #1a2a5a);
  border-radius: 50%;
  margin: -4px auto 0;
  position: relative;
  border: 1.5px solid rgba(100,200,255,0.3);
  box-shadow: 0 0 30px rgba(100,200,255,0.3);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 16px;
}
.ufo-light {
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: ufo-lights 0.8s infinite;
}
.ufo-light.l1 { background: var(--orange); animation-delay: 0s; }
.ufo-light.l2 { background: var(--yellow); animation-delay: 0.2s; }
.ufo-light.l3 { background: var(--green); animation-delay: 0.4s; }
.ufo-light.l4 { background: var(--pink); animation-delay: 0.6s; }
@keyframes ufo-lights {
  0%,100% { opacity: 1; box-shadow: 0 0 10px currentColor; }
  50%      { opacity: 0.2; box-shadow: none; }
}
.ufo-beam {
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 50px solid rgba(100,200,255,0.08);
  margin: 0 auto;
  filter: blur(4px);
  animation: beam-pulse 2s ease-in-out infinite alternate;
}
@keyframes beam-pulse {
  from { opacity: 0.3; }
  to   { opacity: 0.8; border-top-color: rgba(100,200,255,0.15); }
}
.ufo-speech {
  position: absolute;
  top: -46px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--blue);
  border-radius: 12px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--blue);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.ufo-speech::after {
  content: '';
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--blue);
}
#ufo:hover .ufo-speech,
#ufo.talking .ufo-speech { opacity: 1; }

/* ---- ROBOT (cute) ---- */
#robot {
  position: fixed;
  bottom: 120px; left: -130px;
  z-index: 60; cursor: pointer;
}
#robot.walk-in  { animation: bot-walk-in 10s cubic-bezier(0.4,0,0.6,1) forwards; }
#robot.walk-out { animation: bot-walk-out 10s cubic-bezier(0.4,0,0.6,1) forwards; }

@keyframes bot-walk-in {
  0%   { left: -130px; transform: scaleX(1); }
  40%  { left: calc(50% - 45px); transform: scaleX(1); }
  60%  { left: calc(50% - 45px); transform: scaleX(-1); }
  100% { left: 110%; transform: scaleX(-1); }
}
@keyframes bot-walk-out {
  0%   { left: 110%; transform: scaleX(-1); }
  40%  { left: calc(50% - 45px); transform: scaleX(-1); }
  60%  { left: calc(50% - 45px); transform: scaleX(1); }
  100% { left: -130px; transform: scaleX(1); }
}

.bot-wrap { display: flex; flex-direction: column; align-items: center; }

/* Robot head */
.bot-head {
  width: 68px; height: 60px;
  background: linear-gradient(160deg, #2a3f6e, #1a2a50);
  border: 2px solid #4a7fd4;
  border-radius: 18px 18px 10px 10px;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(74,127,212,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: bot-bob 0.7s ease-in-out infinite alternate;
}
@keyframes bot-bob { from { transform: translateY(0); } to { transform: translateY(-5px); } }

.bot-ear {
  position: absolute; top: 16px;
  width: 9px; height: 18px;
  background: linear-gradient(180deg, #3a5a9e, #2a4a8e);
  border: 1.5px solid #4a7fd4;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(74,127,212,0.3);
}
.left-ear  { left: -11px; }
.right-ear { right: -11px; }

.bot-antenna {
  position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.bot-ant-stick {
  width: 3px; height: 16px;
  background: linear-gradient(180deg, #4a7fd4, #2a3f6e);
  border-radius: 3px;
}
.bot-ant-ball {
  width: 10px; height: 10px;
  background: radial-gradient(circle at 30% 30%, #ff9f70, var(--orange));
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange), 0 0 24px rgba(255,107,53,0.4);
  animation: ant-pulse 0.9s ease-in-out infinite alternate;
}
@keyframes ant-pulse {
  from { transform: scale(1); box-shadow: 0 0 8px var(--orange); }
  to   { transform: scale(1.3); box-shadow: 0 0 20px var(--orange), 0 0 40px rgba(255,107,53,0.3); }
}

.bot-visor {
  width: 50px; height: 28px;
  background: linear-gradient(160deg, rgba(0,229,255,0.15), rgba(74,127,212,0.1));
  border: 1.5px solid rgba(0,229,255,0.4);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0,229,255,0.1);
}
.bot-eye-l, .bot-eye-r {
  width: 11px; height: 11px;
  background: radial-gradient(circle at 35% 35%, #80ffff, #00e5ff);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue), 0 0 20px rgba(0,229,255,0.4);
  animation: bot-blink 3.5s ease-in-out infinite;
  position: relative;
}
.bot-eye-l::after, .bot-eye-r::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}
@keyframes bot-blink {
  0%,90%,100% { transform: scaleY(1); }
  95% { transform: scaleY(0.08); }
}
.bot-nose {
  position: absolute; bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 4px;
  background: rgba(0,229,255,0.4);
  border-radius: 3px;
}

.bot-smile {
  position: absolute; bottom: 7px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 12px;
  border-bottom: 2.5px solid var(--orange);
  border-left: 2.5px solid transparent;
  border-right: 2.5px solid transparent;
  border-radius: 0 0 20px 20px;
  animation: bot-talk 0.35s steps(2) infinite;
}
@keyframes bot-talk { from { width: 26px; } to { width: 16px; } }

.bot-cheek {
  position: absolute; bottom: 14px;
  width: 10px; height: 7px;
  background: rgba(255,100,100,0.4);
  border-radius: 50%;
}
.left-cheek  { left: 7px; }
.right-cheek { right: 7px; }

/* Robot body */
.bot-body {
  width: 72px; height: 58px;
  background: linear-gradient(160deg, #1e3060, #141e40);
  border: 2px solid #3a5a9e;
  border-radius: 12px;
  margin-top: 3px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(58,90,158,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.bot-screen {
  width: 44px; height: 34px;
  background: rgba(0,229,255,0.05);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 6px;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 5px; padding: 6px;
  overflow: hidden;
}
.bot-screen-line {
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(0,229,255,0.1));
  animation: screen-scan 1.2s ease-in-out infinite alternate;
}
.bot-screen-line:first-child { width: 100%; animation-delay: 0s; }
.bot-screen-line:nth-child(2) { width: 70%; animation-delay: 0.3s; }
@keyframes screen-scan { from { opacity: 0.4; } to { opacity: 1; } }
.bot-screen-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: dot-pulse 0.8s ease-in-out infinite alternate;
}
@keyframes dot-pulse { from { opacity: 0.3; } to { opacity: 1; } }

.bot-arm {
  position: absolute; top: 6px;
  width: 13px; height: 42px;
  background: linear-gradient(180deg, #2a4a8e, #1a2a5e);
  border: 1.5px solid #3a5a9e;
  border-radius: 7px;
}
.bot-arm-l { left: -15px; transform-origin: top center; animation: arm-l 0.65s ease-in-out infinite alternate; }
.bot-arm-r { right: -15px; transform-origin: top center; animation: arm-r 0.65s ease-in-out infinite alternate; }
@keyframes arm-l { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes arm-r { from { transform: rotate(18deg); } to { transform: rotate(-18deg); } }
.bot-hand {
  width: 14px; height: 14px;
  background: #2a4a8e;
  border: 1.5px solid #3a5a9e;
  border-radius: 50%;
  position: absolute; bottom: -7px; left: 50%;
  transform: translateX(-50%);
}

/* Robot legs */
.bot-legs {
  display: flex; gap: 8px;
  margin-top: 2px;
}
.bot-leg {
  width: 19px; height: 24px;
  background: linear-gradient(180deg, #1a2a5e, #0e1a3a);
  border: 1.5px solid #3a5a9e;
  border-radius: 5px;
  display: flex; align-items: flex-end; justify-content: center;
  animation: bot-leg 0.42s ease-in-out infinite alternate;
}
.bot-leg:last-child { animation-direction: alternate-reverse; }
@keyframes bot-leg { from { transform: translateY(0); } to { transform: translateY(4px); } }
.bot-foot {
  width: 22px; height: 9px;
  background: #2a3a7e;
  border: 1.5px solid #3a5a9e;
  border-radius: 4px;
  position: relative; bottom: -1px;
}

/* Robot speech */
.bot-speech {
  position: absolute;
  top: -54px; left: 50%;
  transform: translateX(-50%);
  background: rgba(10,15,40,0.97);
  border: 1px solid var(--blue);
  border-radius: 12px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--blue);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0,229,255,0.2);
}
.bot-speech::after {
  content: '';
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--blue);
}
#robot.show-speech .bot-speech,
#robot:hover .bot-speech { opacity: 1; }

/* ---- ROCKET ---- */
#rocket {
  position: fixed; font-size: 2.8rem;
  z-index: 50; pointer-events: none; opacity: 0;
  top: 60%; left: -80px;
  filter: drop-shadow(0 0 20px rgba(255,107,53,0.8));
  transform: rotate(-45deg);
}
#rocket.launch { animation: rocket-fly 2.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
@keyframes rocket-fly {
  0%   { left: -80px; top: 60%; opacity: 1; transform: rotate(-45deg) scale(0.8); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 115%; top: 8%; opacity: 0; transform: rotate(-45deg) scale(1.4); }
}

/* ---- COMET ---- */
#comet {
  position: fixed; font-size: 2.5rem;
  z-index: 50; pointer-events: none; opacity: 0;
  top: -80px; left: 30%;
  filter: drop-shadow(0 0 20px rgba(255,200,80,0.8));
}
#comet.strike { animation: comet-fall 1.8s ease-in forwards; }
@keyframes comet-fall {
  0%   { top: -80px; left: 30%; opacity: 1; transform: rotate(45deg) scale(0.5); }
  70%  { opacity: 1; transform: rotate(45deg) scale(1.3); }
  100% { top: 120vh; left: 70%; opacity: 0; transform: rotate(45deg) scale(0.8); }
}

/* ---- SHOOTING STAR ---- */
#shooting-star {
  position: fixed; z-index: 50; pointer-events: none;
  width: 0; height: 0; opacity: 0;
  top: 10%; left: -5%;
}
#shooting-star::before {
  content: '';
  display: block;
  width: 120px; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.9), rgba(255,255,180,1));
  border-radius: 2px;
  transform: rotate(15deg);
  filter: blur(0.5px);
}
#shooting-star.shoot { animation: shooting 1.2s ease-in forwards; }
@keyframes shooting {
  0%   { left: -5%; top: 10%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 110%; top: 60%; opacity: 0; }
}

/* ---- SECTIONS ---- */
.section {
  position: relative; z-index: 1;
  padding: 100px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 14px;
}
.sec-title {
  font-family: var(--font-disp);
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.txt-accent { color: var(--orange); }
.sec-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 60px 80px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
  position: relative; z-index: 1;
}

.hero-stars {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.h-star {
  position: absolute;
  background: var(--white); border-radius: 50%;
  animation: star-twink 3s ease-in-out infinite alternate;
}
@keyframes star-twink { from { opacity: 0.1; } to { opacity: 0.9; } }

.hero-gradient-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(255,107,53,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(0,229,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 30%, rgba(124,77,255,0.06) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 2; }

.hero-badge-wrap { margin-bottom: 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  background: rgba(255,215,0,0.07);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 100px;
  padding: 9px 20px;
  animation: fadeInDown 0.7s ease both 0.5s;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: badge-blink 1.5s ease-in-out infinite;
}
@keyframes badge-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-h1 {
  font-family: var(--font-disp);
  font-size: clamp(3.2rem, 7vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  display: flex; flex-direction: column;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s ease both 0.7s;
}
.h1-line { color: var(--white); display: block; }
.h1-outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
  color: transparent;
}
.h1-accent { color: var(--orange); }

.hero-roles {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 30px;
  animation: fadeInUp 0.7s ease both 0.9s;
}
.typed-word { color: var(--blue); font-weight: 700; min-width: 180px; }
.typed-caret { color: var(--orange); animation: blink 0.9s infinite; }

.hero-stats {
  display: flex; align-items: center;
  margin-bottom: 34px;
  animation: fadeInUp 0.7s ease both 1s;
}
.stat-pill {
  text-align: center; padding: 0 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat-pill:first-child { padding-left: 0; }
.stat-n {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--orange);
  letter-spacing: 0.04em;
  line-height: 1;
}
.stat-l {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}
.stat-sep { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

.hero-btns {
  display: flex; align-items: center; gap: 22px;
  animation: fadeInUp 0.7s ease both 1.1s;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8c42 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.9rem;
  padding: 15px 32px;
  border-radius: 100px;
  box-shadow: 0 0 40px rgba(255,107,53,0.45), 0 4px 20px rgba(255,107,53,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 0 70px rgba(255,107,53,0.65), 0 8px 30px rgba(255,107,53,0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }

/* ---- HERO VISUAL ---- */
.hero-visual {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  animation: fadeInRight 0.8s ease both 0.9s;
}
.hero-avatar-wrap {
  position: relative;
  width: 360px; height: 360px;
  display: flex; align-items: center; justify-content: center;
}

.orb-ring {
  position: absolute; border-radius: 50%;
  animation: ring-spin 12s linear infinite;
}
.ring1 { inset: 0; border: 1.5px solid rgba(255,107,53,0.25); animation-duration: 10s; }
.ring2 { inset: -24px; border: 1px dashed rgba(0,229,255,0.15); animation-duration: 17s; animation-direction: reverse; }
.ring3 { inset: -48px; border: 1px solid rgba(124,77,255,0.1); animation-duration: 25s; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.orbit-system {
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  animation: ring-spin 7s linear infinite;
}
.orbit-planet {
  position: absolute;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 10px rgba(255,107,53,0.5));
}
.p1 { top: 0; left: 50%; transform: translateX(-50%); }
.p2 { bottom: 0; left: 50%; transform: translateX(-50%); }
.p3 { top: 50%; right: -2px; transform: translateY(-50%); }
.p4 { top: 50%; left: -2px; transform: translateY(-50%); }

.avatar-circle {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,107,53,0.3), rgba(124,77,255,0.3));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 0 80px rgba(255,107,53,0.4), 0 0 160px rgba(255,107,53,0.15), inset 0 0 40px rgba(255,107,53,0.1);
  border: 2px solid rgba(255,107,53,0.3);
}
.avatar-photo {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
.av-initials {
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--white);
  display: none; align-items: center; justify-content: center;
}
.avatar-crown {
  position: absolute; top: -4px; left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.6));
  animation: crown-float 2.5s ease-in-out infinite alternate;
}
@keyframes crown-float { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(-8px); } }

.ftag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(8,12,28,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  animation: ftag-float 4s ease-in-out infinite alternate;
}
.ft1 { top: 8%; left: -20px; color: var(--orange); animation-delay: 0s; }
.ft2 { bottom: 22%; left: -36px; color: var(--yellow); animation-delay: 1.2s; }
.ft3 { top: 28%; right: -20px; color: var(--blue); animation-delay: 0.6s; }
.ft4 { bottom: 8%; right: -24px; color: var(--green); animation-delay: 1.8s; }
@keyframes ftag-float { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-12px) rotate(1deg); } }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  animation: fadeIn 1s ease both 1.8s;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex; justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 4px;
  animation: wheel-scroll 1.8s ease-in-out infinite;
}
@keyframes wheel-scroll {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---- ABOUT ---- */
#about { padding-bottom: 0; }

.about-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.about-left { }
.about-p {
  color: var(--muted); line-height: 1.85;
  margin-bottom: 20px; font-size: 1rem;
}

.quote-block {
  display: flex; gap: 16px;
  margin: 32px 0 40px;
}
.quote-accent-bar {
  width: 3px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--orange), var(--purple));
  border-radius: 10px;
}
blockquote {
  font-family: var(--font-disp);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--white);
}

.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding-bottom: 20px;
  position: relative;
}
.tl-item:not(:last-child)::after {
  content: '';
  position: absolute; left: 7px; top: 16px;
  width: 2px; height: calc(100% - 16px);
  background: linear-gradient(180deg, rgba(255,107,53,0.4), rgba(255,107,53,0.05));
}
.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px rgba(255,107,53,0.5);
  flex-shrink: 0; margin-top: 2px;
}
.tl-future .tl-dot {
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255,215,0,0.5);
  animation: tl-pulse 1.5s ease-in-out infinite alternate;
}
@keyframes tl-pulse { from { transform: scale(1); } to { transform: scale(1.3); } }
.tl-body { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.tl-body strong { color: var(--white); }

/* Trait cards */
.about-right { }
.trait-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 22px;
}
.trait-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 20px;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.trait-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  border-radius: 2px 2px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tc1::before { background: var(--orange); }
.tc2::before { background: var(--yellow); }
.tc3::before { background: var(--blue); }
.tc4::before { background: var(--green); }
.trait-card:hover { transform: translateY(-8px); border-color: rgba(255,107,53,0.25); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.trait-card:hover::before { transform: scaleX(1); }
.tc-icon { font-size: 1.9rem; margin-bottom: 12px; }
.trait-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem; letter-spacing: 0.07em;
  color: var(--white); margin-bottom: 8px;
}
.trait-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }
.tc-glow {
  position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,107,53,0.06), transparent 70%);
  transition: opacity 0.3s;
}
.trait-card:hover .tc-glow { opacity: 1; }

/* XP card */
.xp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 32px;
  position: relative; overflow: hidden;
}
.xp-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--blue), transparent);
}
.xp-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.xp-badge {
  font-family: var(--font-mono);
  font-size: 0.67rem; letter-spacing: 0.12em;
  color: var(--yellow);
}
.xp-lv {
  font-family: var(--font-head);
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--orange);
}
.xp-list { display: flex; flex-direction: column; gap: 14px; }
.xp-row {
  display: grid; grid-template-columns: 130px 1fr 40px;
  align-items: center; gap: 14px;
}
.xp-row > span:first-child {
  font-family: var(--font-mono);
  font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em;
}
.xp-row > span:last-child {
  font-family: var(--font-mono);
  font-size: 0.68rem; color: var(--white); text-align: right;
}
.xp-track {
  height: 7px;
  background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden;
}
.xp-bar {
  height: 100%; width: 0%;
  background: var(--c);
  border-radius: 100px;
  box-shadow: 0 0 12px var(--c);
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.xp-bar.filled { width: var(--w); }

/* ---- UNIVERSE ---- */
#universe { padding-top: 120px; }
.univ-header { text-align: center; margin-bottom: 24px; }

.pillars {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 52px;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.07em;
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted); background: var(--card);
  transition: all 0.25s; cursor: default;
}
.pill:hover { border-color: var(--orange); color: var(--white); transform: translateY(-3px); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pcard-featured { grid-column: 1 / -1; }

.pcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.pcard::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
}
.pcard:hover { transform: translateY(-10px); border-color: rgba(255,107,53,0.3); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

.pcard-featured {
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(124,77,255,0.06));
  border-color: rgba(255,215,0,0.2);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; align-items: center;
}
.pcard-featured:hover { border-color: rgba(255,215,0,0.4); }
.pcard-featured .pcard-btn { width: max-content; }

.pcard-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}
.pcard:hover .pcard-shimmer {
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

.pcard-number {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--muted); margin-bottom: 14px;
}
.pcard-icon { font-size: 2rem; margin-bottom: 14px; }
.pcard h3 {
  font-family: var(--font-head);
  font-size: 1.05rem; letter-spacing: 0.05em;
  color: var(--white); margin-bottom: 10px;
}
.pcard p {
  font-size: 0.84rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 18px;
}
.pcard-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.pcard-tags span {
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}
.pcard-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--white);
  padding: 10px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
}
.pcard-btn:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.04); box-shadow: 0 0 22px rgba(255,107,53,0.4); }

/* Accent colors per card */
.pcard-1:hover { border-color: rgba(255,107,53,0.3); }
.pcard-2:hover { border-color: rgba(255,215,0,0.3); }
.pcard-3:hover { border-color: rgba(0,229,255,0.3); }
.pcard-4:hover { border-color: rgba(124,77,255,0.3); }
.pcard-5:hover { border-color: rgba(255,64,129,0.3); }
.pcard-6:hover { border-color: rgba(0,255,136,0.3); }

/* ---- FLIP CARDS ---- */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 60px;
}
.fcard { height: 170px; perspective: 900px; cursor: pointer; }
.fcard-inner {
  width: 100%; height: 100%;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  transform-style: preserve-3d;
  position: relative;
}
.fcard:hover .fcard-inner,
.fcard.flipped .fcard-inner { transform: rotateY(180deg); }
.fcard-front, .fcard-back {
  position: absolute; inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 20px;
  border: 1px solid var(--border);
}
.fcard-front {
  background: var(--card);
  position: relative; overflow: hidden;
}
.fcard-front::after {
  content: 'TAP ↗';
  position: absolute; bottom: 10px; right: 12px;
  font-family: var(--font-mono); font-size: 0.48rem;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.18);
}
.fcard-back {
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(124,77,255,0.12));
  border-color: rgba(255,107,53,0.25);
  transform: rotateY(180deg);
  text-align: center;
  font-size: 0.84rem; color: var(--text); line-height: 1.65;
}
.fcard-num {
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.2em;
  color: var(--orange);
}
.fcard-q {
  font-family: var(--font-disp);
  font-size: 1.65rem; letter-spacing: 0.04em;
  color: var(--white);
}

/* ---- Q&A ---- */
.qa-wrap { }
.qa-head { text-align: center; margin-bottom: 36px; }
.qa-head h3 {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white); margin-bottom: 8px;
}
.qa-head p {
  font-family: var(--font-mono);
  font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em;
}
.qa-list { display: flex; flex-direction: column; gap: 8px; }
.qa-item {
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.2s;
}
.qa-item.active { border-color: rgba(255,107,53,0.3); }
.qa-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: var(--card); border: none; cursor: pointer;
  text-align: left; gap: 16px;
  transition: background 0.2s;
}
.qa-q:hover { background: rgba(255,255,255,0.06); }
.qa-q > span:first-child {
  font-family: var(--font-body);
  font-size: 0.93rem; font-weight: 600; color: var(--white); flex: 1;
}
.qa-arr {
  font-size: 0.65rem; color: var(--orange);
  transition: transform 0.3s; flex-shrink: 0;
}
.qa-arr.open { transform: rotate(180deg); }
.qa-ans {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  font-size: 0.9rem; color: var(--muted); line-height: 1.8;
  padding: 0 22px;
  background: rgba(255,107,53,0.03);
}
.qa-ans.open { max-height: 200px; padding: 16px 22px; }

/* ---- CONTACT ---- */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.clink {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.25s;
}
.clink:hover {
  border-color: rgba(255,107,53,0.35);
  transform: translateX(7px);
  background: rgba(255,107,53,0.05);
}
.clink-icon { font-size: 1.3rem; }
.clink-txt { display: flex; flex-direction: column; }
.clink-txt span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--muted); }
.clink-txt strong { font-size: 0.86rem; color: var(--white); margin-top: 2px; }

.fun-meter {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px;
}
.fun-meter-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px;
}
.fun-meter-bar {
  height: 8px; background: rgba(255,255,255,0.06);
  border-radius: 100px; overflow: hidden; margin-bottom: 6px;
}
.fun-meter-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(255,107,53,0.5);
  transition: width 2s cubic-bezier(0.4,0,0.2,1);
}
.fun-meter-val {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--orange); letter-spacing: 0.1em;
}

/* Contact form */
.cform {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 36px;
  position: relative; overflow: hidden;
}
.cform::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple), var(--blue));
}
.cform-group { margin-bottom: 20px; }
.cform-group label {
  display: block;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 8px; text-transform: uppercase;
}
.cform-group input,
.cform-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--white); font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; resize: vertical;
}
.cform-group input::placeholder,
.cform-group textarea::placeholder { color: rgba(255,255,255,0.17); }
.cform-group input:focus,
.cform-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.cform-btn {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  color: var(--white); font-family: var(--font-body);
  font-weight: 700; font-size: 0.92rem;
  padding: 15px; border-radius: 12px; border: none;
  cursor: pointer; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 35px rgba(255,107,53,0.4);
}
.cform-btn:hover { transform: scale(1.02) translateY(-2px); box-shadow: 0 0 55px rgba(255,107,53,0.6); }
.cform-btn-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.cform-btn:hover .cform-btn-shine { opacity: 1; }



/* ---- FABs ---- */
.fabs {
  position: fixed; bottom: 24px; right: 20px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 500;
}
.fab {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.3s;
  font-size: 1.3rem;
  border: none; cursor: pointer;
  text-decoration: none;
}
.fab:hover { transform: scale(1.15) translateY(-3px); }
.fab-call { background: var(--orange); color: var(--white); }
.fab-wa { background: #25D366; color: var(--white); }
.fab-wa svg { width: 22px; height: 22px; }
.fab-up {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-size: 1.1rem; font-family: var(--font-mono);
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal-left, .reveal-right, .reveal-up, .reveal-card {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up    { transform: translateY(40px); }
.reveal-card  { transform: translateY(28px); }

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible,
.reveal-card.visible { opacity: 1; transform: none; }

/* ---- KEYFRAMES ---- */
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp    { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown  { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pcard-featured { grid-column: auto; }
  #hero { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-roles { justify-content: center; }
  .hero-stats { justify-content: center; }
  .h1-line, .h1-outline, .h1-accent { text-align: center; }
  .about-wrap { grid-template-columns: 1fr; gap: 56px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .flip-grid { grid-template-columns: repeat(3, 1fr); }
  .ftag { display: none; }
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
  #header { padding: 0 18px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section { padding: 80px 22px; }
  #hero { padding: 90px 22px 60px; gap: 40px; }

  .hero-avatar-wrap { width: 280px; height: 280px; }
  .avatar-circle { width: 195px; height: 195px; }

  .products-grid { grid-template-columns: 1fr; }
  .pcard-featured { grid-column: auto; display: block; }

  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .trait-grid { grid-template-columns: 1fr; }

  .xp-row { grid-template-columns: 110px 1fr 34px; }
  .xp-head { flex-direction: column; align-items: flex-start; gap: 4px; }

  #footer { padding: 40px 22px; }
  .footer-links { gap: 18px; flex-wrap: wrap; }

  .cform { padding: 24px 20px; }

  #robot { display: none; }
  #ufo { display: none; }

  .fabs { right: 14px; bottom: 18px; }

  .xp-card { padding: 22px 18px; }
}

@media (max-width: 480px) {
  .sec-title { font-size: 2.4rem; }
  .hero-h1 { font-size: 2.8rem; }
  .hero-avatar-wrap { width: 240px; height: 240px; }
  .avatar-circle { width: 175px; height: 175px; }
  .flip-grid { grid-template-columns: 1fr 1fr; }
  .xp-row { grid-template-columns: 95px 1fr 28px; font-size: 0.62rem; }
  .hero-stats { flex-wrap: wrap; gap: 8px; }
  .stat-sep { display: none; }
  .stat-pill { padding: 8px 12px; background: var(--card); border-radius: 10px; border: 1px solid var(--border); }
  .hero-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #header {
    padding: 0 16px; /* reduce padding */
  }

}
/* ===== FLOAT BUTTON ===== */
#prospero-fab {
  position: fixed;
  bottom: 220px;
  right: 20px;
  z-index: 1000;
}

.fab-inner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, #000000, #000000);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(93, 233, 212, 0.4);
  cursor: pointer;
  transition: 0.3s;
}

.fab-inner:hover {
  transform: scale(1.12) rotate(6deg);
}

.fab-inner img {
  width: 100%;
  border-radius: 90px;
}

/* ===== MODAL ===== */
#prospero-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

#prospero-modal.active {
  display: block;
}

/* overlay */
.pm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}

/* box */
.pm-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 92%;
  max-width: 420px;
  max-height: 80vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #0A0D1E, #05070f);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  transition: 0.3s;
}

#prospero-modal.active .pm-box {
  transform: translate(-50%, -50%) scale(1);
}

/* header */
.pm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pm-close {
  cursor: pointer;
  font-size: 18px;
}

/* list */
.pm-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* items */
.pm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  transition: 0.25s;
}

.pm-item:hover {
  background: rgba(0,229,255,0.1);
  transform: translateX(6px);
}

.pm-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* highlight main */
.pm-item.main {
  border: 1px solid rgba(0,229,255,0.4);
}
.universe-cta {
  margin-top: 40px;
  text-align: center;
}

.universe-btn {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  bottom: 30px;

  min-width: 260px;
  padding: 16px 24px;

  border: none;
  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #fff;
  cursor: pointer;
  overflow: hidden;
  position: relative;

  /* 🔥 upgraded gradient */
  background: linear-gradient(135deg, #7C4DFF, #00E5FF);

  /* glow */
  box-shadow: 0 6px 20px rgba(124,77,255,0.6);

  transition: all 0.3s ease;
}

/* hover = premium feel */
.universe-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 35px rgba(0,229,255,0.9);
}

/* ripple element */
.ripple-circle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  animation: ripple 1.5s infinite;
}

/* ripple animation */
@keyframes ripple {
  0% {
    box-shadow:
      0 0 0 0 rgba(255,255,255,0.2),
      0 0 0 20px rgba(255,255,255,0.15),
      0 0 0 40px rgba(255,255,255,0.1),
      0 0 0 60px rgba(255,255,255,0.05);
  }

  100% {
    box-shadow:
      0 0 0 20px rgba(255,255,255,0.15),
      0 0 0 40px rgba(255,255,255,0.1),
      0 0 0 60px rgba(255,255,255,0.05),
      0 0 0 80px rgba(255,255,255,0);
  }
}
.footer-pro {
  padding: 40px 20px 25px;
  text-align: center;
  background: radial-gradient(circle at top, #0a0f1f, #05070d);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 900px;
  margin: auto;
}

/* top section */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.footer-logo span {
  color: #00E5FF;
}

/* MAIN BUTTON */
.footer-main-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;

  background: linear-gradient(135deg, #7C4DFF, #00E5FF);
  box-shadow: 0 0 20px rgba(124,77,255,0.6);

  transition: all 0.3s ease;
}

.footer-main-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0,229,255,1);
}

/* PRODUCTS */
.footer-products {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-products a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  transition: 0.25s;
}

.footer-products a:hover {
  color: #fff;
}

/* QUOTE */
.footer-quote {
  margin-top: 22px;
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.footer-quote span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #00E5FF;
}

/* COPYRIGHT */
.footer-copy {
  margin-top: 15px;
  font-size: 11px;
  color: #555;
}