/* ═══════════════════════════════════════════════════════
   XENO MODDING — style.css
   xeno-modding.at
   Shared styles for all pages
═══════════════════════════════════════════════════════ */

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ─── VARIABLES ──────────────────────────────────────── */
:root {
  --bg:     #08080e;
  --bg1:    #0e0e17;
  --bg2:    #131320;
  --bg3:    #1a1a2a;
  --lime:   #c8ff00;
  --lime-h: #d6ff2a;
  --lime-d: rgba(200,255,0,.08);
  --white:  #ffffff;
  --paper:  #ede9e0;
  --muted:  #55556a;
  --muted2: #3a3a50;
  --b:      rgba(255,255,255,.07);
  --b2:     rgba(255,255,255,.04);
  --nav:    66px;
  --r:      6px;

  /* fluid spacing */
  --sp-xs: clamp(.75rem,  1.5vw, 1rem);
  --sp-sm: clamp(1rem,    2vw,   1.5rem);
  --sp-md: clamp(1.25rem, 3.5vw, 2.5rem);
  --sp-lg: clamp(2rem,    5vw,   4rem);
  --sp-xl: clamp(3rem,    7vw,   6rem);
}

/* ─── BASE ───────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a   { color: inherit; }

/* ─── CUSTOM CURSOR ──────────────────────────────────── */
@media (hover: hover) {
  body { cursor: none; }
  #cur, #ring { display: block; }
}
@media (hover: none) {
  #cur, #ring { display: none; }
}

#cur {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  mix-blend-mode: exclusion;
  transition: width .12s, height .12s;
}
#ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(200,255,0,.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .26s, height .26s, border-color .26s;
}

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-md);
  background: rgba(8,8,14,.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--b);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -.025em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
  transition: opacity .18s;
}
.logo:hover { opacity: .8; }
.logo em { font-style: normal; color: var(--lime); }

.nav-mid {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-mid a {
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(237,233,224,.35);
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}
.nav-mid a:hover,
.nav-mid a.active { color: var(--paper); }

.nav-end {
  display: flex;
  align-items: center;
  gap: .55rem;
}

/* ─── HAMBURGER ──────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 38px; height: 38px;
  background: var(--b2);
  border: 1px solid var(--b);
  border-radius: var(--r);
  cursor: pointer;
  padding: 9px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: rgba(237,233,224,.55);
  border-radius: 2px;
  transition: transform .24s, opacity .24s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── MOBILE DRAWER ──────────────────────────────────── */
.mob-menu {
  display: none;
  position: fixed;
  top: var(--nav); left: 0; right: 0;
  background: rgba(8,8,14,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--b);
  padding: 1.6rem var(--sp-md) 2rem;
  z-index: 499;
  flex-direction: column;
  gap: 0;
}
.mob-menu.open { display: flex; }

.mob-menu a {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  color: rgba(237,233,224,.45);
  text-decoration: none;
  padding: .75rem 0;
  border-bottom: 1px solid var(--b);
  transition: color .18s;
}
.mob-menu a:hover { color: var(--paper); }
.mob-menu a:last-child { border-bottom: none; }
.mob-menu .pill.fill {
  margin-top: 1.2rem;
  text-align: center;
  border-bottom: none !important;
  padding: .7rem 1.2rem !important;
}

/* ─── BUTTONS / PILLS ────────────────────────────────── */
.pill {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .73rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: all .18s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.pill.out {
  color: rgba(237,233,224,.38);
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
}
.pill.out:hover {
  color: var(--paper);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}
.pill.fill {
  background: var(--lime);
  color: var(--bg);
  border: 1px solid var(--lime);
}
.pill.fill:hover {
  background: var(--lime-h);
  box-shadow: 0 0 22px rgba(200,255,0,.28);
  transform: translateY(-1px);
}
.pill.lg { padding: .72rem 1.8rem; font-size: .78rem; }

/* ─── MARQUEE ────────────────────────────────────────── */
.mq-wrap {
  overflow: hidden;
  border-top: 1px solid var(--b);
  border-bottom: 1px solid var(--b);
  padding: .85rem 0;
  user-select: none;
}
.mq-track {
  display: flex;
  white-space: nowrap;
  animation: mq-run 32s linear infinite;
}
.mq-track:hover { animation-play-state: paused; }
.mq-i {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(237,233,224,.1);
  padding: 0 2rem;
  flex-shrink: 0;
}
.mq-i.dot { color: var(--lime); font-size: .4rem; padding: 0 1.2rem; }
@keyframes mq-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION LAYOUT ─────────────────────────────────── */
.section {
  padding: var(--sp-xl) var(--sp-md);
  max-width: 1340px;
  margin: 0 auto;
}

.sec-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--b);
  gap: 1rem;
  flex-wrap: wrap;
}
.sec-hd h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 3.5vw, 2.8rem);
  letter-spacing: -.03em;
  color: var(--white);
  line-height: 1;
}
.sec-hd h2 span { color: var(--lime); }
.sec-hd small {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ─── SCRIPT CARDS ───────────────────────────────────── */
.scripts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--b);
  border: 1px solid var(--b);
  border-radius: var(--r);
  overflow: hidden;
}

.sc {
  background: var(--bg1);
  padding: clamp(1.2rem,2.5vw,1.9rem);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  position: relative;
  overflow: hidden;
  transition: background .22s;
}
.sc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--lime-d), transparent 60%);
  opacity: 0;
  transition: opacity .22s;
  pointer-events: none;
}
.sc:hover { background: var(--bg2); }
.sc:hover::after { opacity: 1; }

/* featured wide card */
.sc.wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(1.2rem,3vw,2.5rem);
}
.sc-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
}
.sc-right {
  width: clamp(155px,20%,205px);
  flex-shrink: 0;
  background: rgba(200,255,0,.025);
  border: 1px solid rgba(200,255,0,.1);
  border-radius: var(--r);
  padding: 1.2rem;
}
.sc-right-lbl {
  font-size: .57rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: .75rem;
}
.inc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .42rem;
}
.inc-list li {
  font-size: .75rem;
  font-weight: 300;
  color: rgba(237,233,224,.46);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.inc-list li::before {
  content: '✓';
  color: var(--lime);
  font-size: .62rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ctop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.tag {
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .17rem .6rem;
  border-radius: 100px;
  display: inline-block;
  white-space: nowrap;
}
.tag.g    { color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.tag.lime { color: var(--bg); background: var(--lime); }
.tag.teal { color: var(--bg); background: #00e5a0; }

.sc-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(.98rem,2vw,1.18rem);
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.2;
}
.sc-desc {
  font-size: .81rem;
  font-weight: 300;
  line-height: 1.68;
  color: rgba(237,233,224,.36);
  flex: 1;
}
.sc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.055);
  margin-top: auto;
}
.price {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.price.free { color: #00e5a0; }
.arr {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--lime);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .32rem;
  transition: gap .18s;
}
.arr:hover { gap: .55rem; }
.arr::after { content: '→'; }

/* ─── WHY GRID ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--b);
  border: 1px solid var(--b);
  border-radius: var(--r);
  overflow: hidden;
}
.why-i {
  background: var(--bg1);
  padding: clamp(1.5rem,3vw,2.2rem);
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: background .22s;
}
.why-i:hover { background: var(--bg2); }
.wico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border: 1px solid rgba(200,255,0,.15);
  border-radius: 8px;
  background: rgba(200,255,0,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}
.wt h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--white);
  margin-bottom: .28rem;
}
.wt p {
  font-size: .77rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(237,233,224,.32);
}

/* ─── CTA BANNER ─────────────────────────────────────── */
.cta-outer {
  padding: 0 var(--sp-md) var(--sp-xl);
}
.cta-band {
  background: var(--lime);
  padding: clamp(2rem,5vw,3.5rem) clamp(1.5rem,5vw,3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'XENO';
  position: absolute;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(6rem,14vw,12rem);
  color: rgba(0,0,0,.05);
  right: -1rem; top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -.04em;
}
.cta-band h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem,2.8vw,2.3rem);
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--bg);
  max-width: 460px;
}
.cta-band h2 em { font-style: normal; opacity: .35; }
.cta-bs { display: flex; gap: .65rem; flex-wrap: wrap; flex-shrink: 0; }
.dbtn {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .72rem 1.65rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all .18s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.dbtn.dark { background: var(--bg); color: var(--lime); }
.dbtn.dark:hover { background: #16162a; transform: translateY(-1px); }
.dbtn.lite { background: transparent; color: var(--bg); border: 2px solid rgba(10,10,15,.18); }
.dbtn.lite:hover { background: rgba(10,10,15,.08); transform: translateY(-1px); }

/* ─── PROCESS STEPS ──────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b);
  border: 1px solid var(--b);
  border-radius: var(--r);
  overflow: hidden;
}
.step {
  background: var(--bg1);
  padding: clamp(1.5rem,3vw,2.2rem);
  position: relative;
  transition: background .22s;
}
.step:hover { background: var(--bg2); }
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: rgba(200,255,0,.07);
  margin-bottom: 1.2rem;
  letter-spacing: -.04em;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: .35rem;
}
.step p {
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(237,233,224,.32);
}
.step-arrow {
  position: absolute;
  top: clamp(1.5rem,3vw,2.2rem);
  right: clamp(1.5rem,3vw,2.2rem);
  font-size: .7rem;
  color: rgba(200,255,0,.3);
}
.step:last-child .step-arrow { display: none; }

/* ─── REVIEWS ────────────────────────────────────────── */
.rev-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--b);
  border: 1px solid var(--b);
  border-radius: var(--r);
  overflow: hidden;
}
.rev-row {
  background: var(--bg1);
  padding: clamp(1.2rem,2.5vw,1.8rem) clamp(1.2rem,2.5vw,2rem);
  display: grid;
  grid-template-columns: 185px 1fr auto;
  align-items: center;
  gap: 2.2rem;
  transition: background .22s;
}
.rev-row:hover { background: var(--bg2); }
.rev-who { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.rav {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--lime), rgba(120,60,255,.7));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: .74rem;
  color: var(--bg);
}
.rn { font-family: 'Syne', sans-serif; font-weight: 600; font-size: .82rem; color: var(--white); line-height: 1.2; }
.rs { font-size: .66rem; color: var(--muted); margin-top: .1rem; }
.rt { font-size: .82rem; font-weight: 300; line-height: 1.65; color: rgba(237,233,224,.4); font-style: italic; }
.rstar { font-size: .62rem; color: var(--lime); letter-spacing: .05em; text-align: right; white-space: nowrap; flex-shrink: 0; }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--b);
  padding: 2.2rem var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.flogo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: var(--white);
  text-decoration: none;
  transition: opacity .18s;
}
.flogo:hover { opacity: .75; }
.flogo em { font-style: normal; color: var(--lime); }
.flinks {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  flex-wrap: wrap;
}
.flinks a {
  font-size: .7rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}
.flinks a:hover { color: var(--paper); }
.fcopy { font-size: .6rem; color: rgba(85,85,106,.42); }

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .52s ease, transform .52s ease;
}
.r.in { opacity: 1; transform: none; }
.r.d1 { transition-delay: .06s; }
.r.d2 { transition-delay: .12s; }
.r.d3 { transition-delay: .18s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

/* Tablet ≤ 1100px */
@media (max-width: 1100px) {
  .nav-mid { display: none; }
  .scripts-grid { grid-template-columns: repeat(2, 1fr); }
  .sc.wide { grid-column: span 2; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Small tablet ≤ 780px */
@media (max-width: 780px) {
  .rev-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .rev-who { grid-column: 1; grid-row: 1; }
  .rstar   { grid-column: 2; grid-row: 1; }
  .rt      { grid-column: 1 / -1; grid-row: 2; }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  .nav-end .pill.out { display: none; }
  .hamburger { display: flex; }

  .scripts-grid {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    gap: .7rem;
  }
  .sc { border: 1px solid var(--b); border-radius: var(--r); }
  .sc.wide { grid-column: span 1; flex-direction: column; }
  .sc-right { width: 100%; }

  .why-grid  { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }

  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band::before { display: none; }

  .rev-list {
    background: transparent;
    border: none;
    gap: .7rem;
  }
  .rev-row {
    border: 1px solid var(--b);
    border-radius: var(--r);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: .7rem;
  }
  .rstar { text-align: left; }
  .rev-who { grid-column: 1; grid-row: 1; }
  .rstar   { grid-column: 1; grid-row: 2; }
  .rt      { grid-column: 1; grid-row: 3; }

  footer { flex-direction: column; align-items: flex-start; gap: .85rem; }
  .flinks { gap: 1rem; }
}

@media (max-width: 420px) {
  .steps-grid { grid-template-columns: 1fr; }
  .pill.lg { width: 100%; text-align: center; }
}
