/* ==========================================================================
   KROVEXS — tokens
   ========================================================================== */
:root{
  --void:#08080a;
  --panel:#0e0f12;
  --panel-2:#131417;
  --line: rgba(244,243,239,0.09);
  --line-strong: rgba(244,243,239,0.16);
  --bone:#f2f0ea;
  --grey:#9a9da4;
  --grey-dim:#5c5f66;
  --red:#ff2c3c;
  --red-dim: rgba(255,44,60,0.35);
  --red-glow: rgba(255,44,60,0.55);
  --amber:#f0a63c;
  --green:#3ddc84;

  --font-display: 'Rajdhani', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --edge: 1px solid var(--line);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--void);
  color:var(--bone);
  font-family:var(--font-mono);
  font-size:15px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family:var(--font-display); margin:0; font-weight:700; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline:2px solid var(--red);
  outline-offset:3px;
}

/* ==========================================================================
   background atmosphere
   ========================================================================== */
.bg-grid{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  opacity:0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}
.bg-vignette{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 18%, rgba(255,44,60,0.14), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0,0,0,0.6), transparent 60%);
}
.bg-scan{
  position:fixed; inset:0; z-index:1; pointer-events:none;
  background:repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity:0.5;
}

/* ==========================================================================
   nav
   ========================================================================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px clamp(20px,4vw,56px);
  background:rgba(8,8,10,0.7);
  backdrop-filter:blur(10px);
  border-bottom:var(--edge);
  transition:background .3s ease;
}
.nav__brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:700;
  font-size:19px; letter-spacing:0.08em;
}
.nav__mark{ width:26px; height:26px; }
.nav__links{
  display:flex; gap:36px;
  font-size:13px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--grey);
}
.nav__links a{ position:relative; transition:color .2s ease; }
.nav__links a:hover{ color:var(--bone); }
.nav__links a::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:1px;
  background:var(--red); transition:width .25s ease;
}
.nav__links a:hover::after{ width:100%; }
.nav__cta{ font-size:12px; }

.nav__burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:34px; height:34px; background:none; border:none; cursor:pointer;
}
.nav__burger span{ display:block; width:100%; height:1.5px; background:var(--bone); transition:.25s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

.mobile-menu{
  position:fixed; top:64px; left:0; right:0; z-index:49;
  display:flex; flex-direction:column;
  background:rgba(8,8,10,0.97); border-bottom:var(--edge);
  max-height:0; overflow:hidden; transition:max-height .3s ease;
}
.mobile-menu.open{ max-height:300px; }
.mobile-menu a{
  padding:18px clamp(20px,4vw,56px); border-bottom:var(--edge);
  font-size:14px; letter-spacing:0.05em; text-transform:uppercase; color:var(--grey);
}

/* ==========================================================================
   buttons
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-mono); font-size:13px; letter-spacing:0.04em;
  padding:13px 26px; border-radius:2px; cursor:pointer;
  border:1px solid transparent; transition:all .2s ease;
  white-space:nowrap;
}
.btn--primary{
  background:var(--red); color:#0a0505; font-weight:600;
  box-shadow:0 0 0 0 rgba(255,44,60,0.5);
}
.btn--primary:hover{ box-shadow:0 0 24px rgba(255,44,60,0.45); transform:translateY(-1px); }
.btn--outline{
  border-color:var(--line-strong); color:var(--bone); background:transparent;
}
.btn--outline:hover{ border-color:var(--red); color:var(--red); }
.btn--ghost{
  border-color:var(--red-dim); color:var(--red); background:rgba(255,44,60,0.06);
}
.btn--ghost:hover{ background:rgba(255,44,60,0.14); }
.btn--small{ padding:9px 18px; font-size:12px; }

.btn--copy{
  position:relative;
  border:1px solid var(--line-strong); background:var(--panel-2); color:var(--bone);
  padding:11px 18px; flex-shrink:0;
}
.btn--copy:hover{ border-color:var(--red); }
.btn--copy .icon-copy, .btn--copy .icon-check{ width:15px; height:15px; }
.btn--copy .icon-check{ display:none; color:var(--green); }
.btn--copy.copied .icon-copy{ display:none; }
.btn--copy.copied .icon-check{ display:block; }
.btn--copy.copied{ border-color:var(--green); color:var(--green); }

/* ==========================================================================
   hero
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding:120px 20px 80px;
  overflow:hidden;
}
.hero__banner{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0.16; mix-blend-mode:screen;
  mask-image: radial-gradient(ellipse 78% 75% at 50% 45%, transparent 0%, transparent 24%, #000 46%, #000 66%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 78% 75% at 50% 45%, transparent 0%, transparent 24%, #000 46%, #000 66%, transparent 92%);
}
.hero__hud{
  position:absolute; top:130px; z-index:2;
  width:190px; display:none;
}
.hero__hud--left{ left:clamp(16px,4vw,56px); }
.hero__hud--right{ right:clamp(16px,4vw,56px); top:150px; }
.hud-title{
  font-size:11px; letter-spacing:0.18em; color:var(--grey-dim); margin:0 0 12px;
}
.boot-log{ display:flex; flex-direction:column; gap:6px; }
.boot-log li{
  font-size:11px; color:var(--grey); opacity:0; transform:translateX(-4px);
  animation:bootIn .4s ease forwards;
}
.boot-log li.done{ color:var(--grey-dim); }
.boot-log li.active{ color:var(--red); }
@keyframes bootIn{ to{ opacity:1; transform:translateX(0); } }

.stat-list{ display:flex; flex-direction:column; gap:10px; margin:0; }
.stat-list div{ display:flex; justify-content:space-between; gap:12px; font-size:11px; border-bottom:1px dashed var(--line); padding-bottom:8px; }
.stat-list dt{ color:var(--grey-dim); letter-spacing:0.08em; }
.stat-list dd{ margin:0; color:var(--bone); letter-spacing:0.05em; }
.stat-live{ color:var(--amber); position:relative; padding-left:12px; }
.stat-live::before{
  content:''; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:6px; height:6px; border-radius:50%; background:var(--amber);
  animation:pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot{ 0%,100%{ opacity:1; } 50%{ opacity:0.25; } }

.hero__center{
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center;
  text-align:center; max-width:720px;
}
.hero__mark{ position:relative; width:120px; height:120px; margin-bottom:18px; }
.hero__mark-img{
  width:100%; height:100%; object-fit:contain; position:relative; z-index:2;
  filter:drop-shadow(0 0 26px var(--red-glow));
  animation:markFloat 5s ease-in-out infinite;
}
@keyframes markFloat{ 0%,100%{ transform:translateY(0) scale(1); } 50%{ transform:translateY(-6px) scale(1.02); } }
.hero__mark-ring{
  position:absolute; inset:-22px; border:1px solid var(--red-dim); border-radius:50%;
  animation:ringSpin 14s linear infinite;
}
.hero__mark-ring::before{
  content:''; position:absolute; top:-2px; left:50%; width:4px; height:4px;
  background:var(--red); border-radius:50%; box-shadow:0 0 8px var(--red);
}
@keyframes ringSpin{ to{ transform:rotate(360deg); } }

.hero__word{
  font-size:clamp(3.2rem,10vw,7.5rem);
  letter-spacing:0.02em;
  line-height:0.95;
  text-transform:uppercase;
  background:linear-gradient(180deg, #ffffff 0%, #cfcfd2 55%, #8a8b90 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom:14px;
}
.hero__tagline{
  font-family:var(--font-mono); font-size:clamp(11px,1.6vw,14px);
  letter-spacing:0.32em; text-transform:uppercase; color:var(--grey);
  margin:0 0 22px;
}
.accent{ color:var(--red); }
.hero__sub{
  color:var(--grey); font-size:14.5px; line-height:1.75; max-width:560px;
  margin:0 0 34px;
}
.hero__cta{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

.scroll-cue{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:10px; letter-spacing:0.2em; color:var(--grey-dim); z-index:2;
}
.scroll-cue__line{ width:1px; height:34px; background:linear-gradient(var(--red), transparent); animation:scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine{ 0%{ opacity:0.2; } 50%{ opacity:1; } 100%{ opacity:0.2; } }

@media (min-width:1000px){
  .hero__hud{ display:block; }
}

/* ==========================================================================
   sections — shared
   ========================================================================== */
.section{
  position:relative; z-index:2;
  padding:110px 20px;
  border-top:var(--edge);
}
.section__frame{ max-width:var(--container); margin:0 auto; }
.eyebrow{
  font-size:12px; letter-spacing:0.2em; color:var(--red); margin:0 0 14px;
  text-transform:uppercase;
}
.section__title{
  font-size:clamp(2rem,4.2vw,3.1rem); text-transform:uppercase; letter-spacing:0.01em;
  margin-bottom:18px;
}
.section__intro{
  color:var(--grey); max-width:620px; font-size:14.5px; margin-bottom:56px;
}

.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ==========================================================================
   about
   ========================================================================== */
.about-grid{
  display:grid; grid-template-columns:1.3fr 1fr; gap:48px; align-items:start;
}
.about-file{
  background:var(--panel); border:var(--edge); border-radius:3px; overflow:hidden;
}
.file-bar{
  display:flex; align-items:center; gap:10px;
  padding:12px 18px; border-bottom:var(--edge); background:var(--panel-2);
}
.file-dot{ width:8px; height:8px; border-radius:50%; background:var(--red); box-shadow:0 0 8px var(--red-glow); }
.file-name{ font-size:12px; color:var(--grey); letter-spacing:0.05em; }
.file-body{ padding:26px 24px; }
.file-body p{ margin:0 0 18px; color:#d6d4cf; font-size:14px; line-height:1.8; }
.file-body p:last-child{ margin-bottom:0; }
.prompt{ color:var(--red); margin-right:8px; }

.fact-list{ display:flex; flex-direction:column; gap:26px; }
.fact-list li{ display:flex; gap:16px; }
.fact-num{
  font-family:var(--font-display); font-weight:700; font-size:13px;
  color:var(--grey-dim); border:1px solid var(--line-strong);
  width:34px; height:34px; flex-shrink:0; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.fact-list h3{ font-size:15.5px; margin-bottom:6px; letter-spacing:0.01em; text-transform:uppercase; }
.fact-list p{ margin:0; color:var(--grey); font-size:13.5px; line-height:1.65; }

/* ==========================================================================
   modules
   ========================================================================== */
.module-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line); border:var(--edge); border-radius:3px; overflow:hidden;
}
.module-card{
  background:var(--panel); padding:30px 26px; transition:background .25s ease;
}
.module-card:hover{ background:var(--panel-2); }
.module-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.module-id{ font-size:11px; color:var(--grey-dim); letter-spacing:0.1em; }
.module-card h3{ font-size:18px; margin-bottom:10px; letter-spacing:0.01em; }
.module-card p{ color:var(--grey); font-size:13.5px; line-height:1.7; margin:0; }

.tag{
  font-size:10px; letter-spacing:0.1em; padding:4px 9px; border-radius:20px;
  text-transform:uppercase; border:1px solid transparent;
}
.tag--building{ color:var(--amber); border-color:rgba(240,166,60,0.4); background:rgba(240,166,60,0.08); }
.tag--queued{ color:#8fb4ff; border-color:rgba(143,180,255,0.35); background:rgba(143,180,255,0.08); }
.tag--planned{ color:var(--grey); border-color:var(--line-strong); background:rgba(255,255,255,0.03); }

/* ==========================================================================
   token
   ========================================================================== */
.token-panel{
  background:var(--panel); border:var(--edge); border-radius:3px; padding:36px clamp(20px,4vw,44px);
}
.token-panel__row{ display:flex; flex-wrap:wrap; gap:40px; margin-bottom:32px; padding-bottom:28px; border-bottom:1px dashed var(--line); }
.token-meta{ display:flex; flex-direction:column; gap:6px; }
.token-meta__label{ font-size:11px; color:var(--grey-dim); letter-spacing:0.12em; text-transform:uppercase; }
.token-meta__value{ font-size:15px; display:flex; align-items:center; gap:8px; }
.dot{ width:8px; height:8px; border-radius:50%; }
.dot--sol{ background:linear-gradient(135deg,#9945FF,#14F195); }

.ca-box{ margin-bottom:28px; }
.ca-box__label{ display:block; font-size:11px; color:var(--grey-dim); letter-spacing:0.12em; text-transform:uppercase; margin-bottom:10px; }
.ca-box__row{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  background:var(--void); border:1px solid var(--line-strong); border-radius:2px; padding:14px 16px;
}
.ca-box__value{
  flex:1; min-width:200px; font-size:13.5px; color:var(--bone); letter-spacing:0.02em;
  word-break:break-all; font-family:var(--font-mono);
}
.copy-label{ font-size:12px; }
.ca-box__note{ font-size:12px; color:var(--grey-dim); margin:10px 2px 0; line-height:1.6; }

.token-panel__links{ display:flex; gap:14px; flex-wrap:wrap; }

/* ==========================================================================
   community
   ========================================================================== */
.social-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.social-grid--single{ grid-template-columns:minmax(0,420px); }
.social-card{
  display:flex; align-items:center; gap:18px;
  background:var(--panel); border:var(--edge); border-radius:3px;
  padding:26px 24px; transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
.social-card:hover{ border-color:var(--red-dim); background:var(--panel-2); transform:translateY(-2px); }
.social-card__icon{
  width:44px; height:44px; flex-shrink:0; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,44,60,0.08); color:var(--red);
}
.social-card__icon svg{ width:20px; height:20px; }
.social-card h3{ font-size:16px; margin-bottom:4px; }
.social-card p{ margin:0; font-size:13px; color:var(--grey); }
.social-card__arrow{ margin-left:auto; color:var(--grey-dim); font-size:18px; }

/* ==========================================================================
   footer
   ========================================================================== */
.footer{
  position:relative; z-index:2; border-top:var(--edge);
  padding:44px clamp(20px,4vw,56px) 30px;
}
.footer__row{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; }
.footer__note{ max-width:460px; font-size:12px; color:var(--grey-dim); line-height:1.7; margin:0; }
.footer__row--bottom{
  margin-top:34px; padding-top:22px; border-top:var(--edge);
  font-size:12px; color:var(--grey-dim); align-items:center;
}
.footer__links{ display:flex; gap:22px; }
.footer__links a:hover{ color:var(--bone); }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width:900px){
  .nav__links{ display:none; }
  .nav__cta{ display:none; }
  .nav__burger{ display:flex; }
  .about-grid{ grid-template-columns:1fr; }
  .module-grid{ grid-template-columns:1fr 1fr; }
  .social-grid{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .module-grid{ grid-template-columns:1fr; }
  .token-panel__row{ gap:24px; }
  .footer__row--bottom{ flex-direction:column; align-items:flex-start; gap:14px; }
}
