/**
 * -----------------------------------------------------------------------------
 *  Project: visionreps.xyz
 *
 *  © 2025 VisionReps.xyz | Wszelkie prawa zastrzeżone.
 *
 *  Ten plik stanowi część projektu visionreps.xyz
 *  Kopiowanie, modyfikowanie i rozpowszechnianie bez zgody autorów jest zabronione.
 *
 *  Autorzy:
 *    Frontend: @nah
 *    Backend:  @krullefik
 * -----------------------------------------------------------------------------
 */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #050508;
  --grid: rgba(255,255,255,0.04);
  --text: #f3f4f6;
  --muted: rgba(243,244,246,0.78);
  --accent: #7c3aed;
  --accent-2: #a78bfa;
  --primaryBlue: #3b82f6;
  --primaryPurpleA: #8b5cf6;
  --primaryPurpleB: #7c3aed;
  --ring: #93c5fd;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0,0,0,0.45);
  --shellBorder: rgba(255,255,255,0.08);
  --shellBg: rgba(17,17,20,0.72);
  --section-pad: 6rem;
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-smooth: cubic-bezier(.2,.8,.2,1);
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.partner-badge {
  position: absolute;
  top: 330px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(28,28,34,0.85);
  border: 1px solid rgba(167,139,250,0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  z-index: 3; 
  backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition:
    opacity .6s var(--ease-out),
    transform .6s var(--ease-out),
    background .25s var(--ease-out),
    border-color .25s var(--ease-out);
}
.partner-badge.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.partner-badge:hover {
  background: rgba(124,58,237,0.9);
  border-color: rgba(167,139,250,0.55);
}
.partner-icon { width: 18px; height: 18px; border-radius: 50%; }
.partner-text { line-height: 1; }

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(124,58,237,0.08), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 35% 65%, rgba(0,0,0,0.55)),
    repeating-linear-gradient(to right, transparent 0 78px, var(--grid) 78px 79px),
    repeating-linear-gradient(to bottom, transparent 0 78px, var(--grid) 78px 79px);
  mask-image: radial-gradient(80% 80% at 50% 40%, black 30%, transparent 100%);
  animation: gridDrift 12s linear infinite;
}

.blob { position: fixed; filter: blur(50px); opacity: 0.5; z-index: 0; transform: translateZ(0); animation-name: float, breath; animation-duration: 20s, 7s; animation-iteration-count: infinite, infinite; animation-timing-function: ease-in-out, var(--ease-smooth); }
.blob-a { width: 640px; height: 640px; left: -120px; top: -120px;
  background: radial-gradient(closest-side, rgba(124,58,237,0.7), rgba(124,58,237,0)); }
.blob-b { width: 520px; height: 520px; right: -140px; top: 22%;
  background: radial-gradient(closest-side, rgba(167,139,250,0.55), rgba(124,58,237,0)); }
.blob-c { width: 460px; height: 460px; left: 18%; bottom: -160px;
  background: radial-gradient(closest-side, rgba(99,102,241,0.5), rgba(124,58,237,0)); }

@keyframes float { 0%,100% { transform:translate3d(0,0,0) scale(1) } 50% { transform:translate3d(0,-18px,0) scale(1.03) } }
@keyframes breath { 0%,100% { opacity: .48; transform: translateZ(0) scale(1); } 50% { opacity: .58; transform: translateZ(0) scale(1.02); } }
@keyframes gridDrift { 0% { background-position: 0 0, 0 0, 0 0, 0 0; } 100% { background-position: 0 0, 0 0, 30px 0, 0 30px; } }

.nav {
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 0 16px;
}
.nav-shell {
  width: min(1180px, 100%);
  height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 2000px;
  background: var(--shellBg);
  border: 1px solid var(--shellBorder);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.nav-shell::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(167,139,250,.18) 0%, rgba(124,58,237,.25) 50%, rgba(167,139,250,.18) 100%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}
.nav-shell:hover::after{ animation: glowSweep 1.2s cubic-bezier(.4,0,.2,1); }
@keyframes glowSweep{
  0%   { opacity:0; transform:translateX(-100%); }
  25%  { opacity:.35; }
  50%  { opacity:.5; }
  100% { opacity:0; transform:translateX(100%); }
}
.nav-brand img { width: 78px; height: 78px; display: block; border-radius: 6px; }
.nav-center { display: flex; justify-content: center; gap: 28px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(243,244,246,0.8);
  text-decoration: none;
  padding: 10px 4px;
  transition: color .15s ease, background-size .25s ease;
  --underline-y: 8px;
  background: linear-gradient(90deg, rgba(167,139,250,0.9), rgba(124,58,237,0.9));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 calc(100% - var(--underline-y));
}
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: #fff; font-weight: 600; }
.nav-link:hover, .nav-link.is-active { background-size: 100% 2px; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform .18s cubic-bezier(.22,.61,.36,1), background .18s, border-color .18s, box-shadow .18s;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.chip:hover { transform: translateY(-2px) scale(1.02); background: rgba(255,255,255,0.09); }
.chip:active { transform: translateY(0) scale(.99); }
.chip-round { width: 38px; height: 38px; padding: 0; justify-content: center; background: rgba(255,255,255,0.06); }
.chip-round img { width: 22px; height: 22px; border-radius: 999px; display:block; }
.chip-pill { padding: 8px 14px; background: #2f3137; border-color: rgba(255,255,255,0.1); }
.chip-icon { width: 18px; height: 18px; fill: #cbd5e1; display:block; }

/* ===================== HERO ===================== */
.hero {
  position: relative; 
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.25rem;
  gap: 0.35rem;
}

.brand {
  margin: 0;
  line-height: 1;
  letter-spacing: -0.022em;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  display: inline-flex;
  align-items: baseline;
  gap: .06em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.02), 0 10px 28px rgba(124,58,237,0.10);
}
.brand .brand-word {
  background: linear-gradient(180deg, #ffffff, #e9e9ff 48%, #dcd7ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand .xyz {
  position: relative; z-index: 1;
  background: linear-gradient(90deg, #a78bfa, #7c3aed, #6d28d9);
  background-size: 200% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 12px rgba(124,58,237,0.3), 0 8px 28px rgba(124,58,237,0.22);
}

.lead { margin: 0; font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.6vw, 1.25rem); color: var(--muted); }
.sublead { margin: 0.1rem 0 0.4rem; font-weight: 500; font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.15rem); color: rgba(243,244,246,0.85); }

.cta-row { display: inline-flex; gap: 0.75rem; margin-top: 0.2rem; flex-wrap: wrap; justify-content: center; }
.btn { --pad-y: 0.95rem; --pad-x: 1.2rem; display: inline-flex; align-items: center; gap: 0.6rem; padding: var(--pad-y) var(--pad-x); border-radius: 999px; text-decoration: none; font-weight: 700; letter-spacing: 0.005em; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease; border: 1px solid transparent; box-shadow: var(--shadow); will-change: transform; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,0.06), 0 0 0 8px var(--ring); transform: translateY(-1px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-icon { width: 20px; height: 20px; display: inline-block; }
.btn-primary { background: linear-gradient(180deg, var(--primaryPurpleA), var(--primaryPurpleB)); color: white; border-color: rgba(167,139,250,0.35); }
.btn-primary:hover { background: linear-gradient(180deg, #a78bfa, #8b5cf6); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(148,163,184,0.24); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(148,163,184,0.38); }

@keyframes fade-up { from { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(4px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-12px);} to { opacity: 1; transform: translateY(0);} }
@keyframes xyzSweep { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes cardIn { 0% { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(4px);} 60% { opacity: 1; transform: translateY(0) scale(1.005); filter: blur(0);} 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0);} }
@keyframes textSlideUp { 0% { opacity: 0; transform: translateY(10px);} 100% { opacity: 1; transform: translateY(0);} }

body:not(.is-ready) .nav-shell,
body:not(.is-ready) .hero > * { opacity: 0; transform: translateY(10px); }
body.is-ready .nav-shell { animation: fade-down .5s var(--ease-out) forwards; }
body.is-ready .hero .brand   { animation: fade-up .6s var(--ease-out) .05s forwards; }
body.is-ready .hero .lead    { animation: fade-up .6s var(--ease-out) .12s forwards; }
body.is-ready .hero .sublead { animation: fade-up .6s var(--ease-out) .18s forwards; }
body.is-ready .hero .cta-row { animation: fade-up .6s var(--ease-out) .24s forwards; }
body.is-ready .brand .xyz    { animation: xyzSweep 1.4s cubic-bezier(.4,0,.2,1) .1s forwards; }

/* Redukcja ruchu */
@media (prefers-reduced-motion: reduce) {
  .bg-grid, .blob { animation: none !important; }
  .nav-shell::after { animation: none !important; }
  body.is-ready .nav-shell,
  body.is-ready .hero .brand,
  body.is-ready .hero .lead,
  body.is-ready .hero .sublead,
  body.is-ready .hero .cta-row,
  body.is-ready .brand .xyz { animation: none !important; opacity: 1 !important; transform: none !important; }
  .nav-shell, .btn, .chip, .nav-link, .hero > * { transition: none !important; }
}

.nav.is-shrink .nav-center,
.nav--compact .nav-center { transform: translateY(-2px); transition: transform .25s var(--ease-smooth); }
.nav.is-shrink .nav-shell{ height: 64px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 22px rgba(0,0,0,0.36); transition: height .26s var(--ease-smooth), padding .26s var(--ease-smooth), box-shadow .26s var(--ease-smooth); }
.nav .nav-shell{ transition: height .26s var(--ease-smooth), padding .26s var(--ease-smooth), box-shadow .26s var(--ease-smooth); }
.nav.is-shrink .nav-brand img{ width: 56px; height:56px; transition: width .26s var(--ease-smooth), height .26s var(--ease-smooth); }
.nav .nav-brand img{ transition: width .26s var(--ease-smooth), height .26s var(--ease-smooth); }
.nav.is-shrink .nav-link{ font-size: 14px; }
.nav.is-shrink .chip{ transform: translateY(0); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.nav--compact .nav-shell { height: 64px; padding: 6px 12px; }
.nav--compact .nav-brand img { width: 48px; height: 48px; filter: brightness(1.1) }
.nav--compact .nav-center { transform: translateY(-2px) scale(.98); }

/* ===================== STAY LONGER ===================== */
.stay { position: relative; z-index: 1; padding: var(--section-pad) 16px; }
.stay-inner { width: min(1180px, 100%); margin: 0 auto; text-align: center; }
.stay-title { margin: 0; font-size: clamp(28px, 6vw, 58px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; display: inline-block; position: relative; }
.stay-join { color: var(--accent); }
.stay-long { position: relative; white-space: nowrap; display: inline-block; }
.stay-sub { margin: 18px 0 34px; color: var(--muted); font-size: clamp(14px, 2.5vw, 18px); }

.stay-title .char { display: inline-block; opacity: 0; transform: translateY(0.6em) scale(0.98); will-change: transform, opacity; }
.title-in .char { animation: textSlideUp .5s var(--ease-out) var(--d, 0s) forwards; }

.stay-long::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: var(--underline-h, 10px);
  border-radius: var(--underline-r, 6px);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.underline-on .stay-long::after { transform: scaleX(1); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  padding: 22px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: transform .22s var(--ease-smooth), box-shadow .22s var(--ease-smooth), border-color .22s var(--ease-smooth), background .22s var(--ease-smooth), filter .22s var(--ease-smooth);
  transform-style: preserve-3d;
}
.feature.is-visible { animation: cardIn .66s var(--ease-smooth) forwards; }
.features .feature:nth-child(1) { animation-delay: .02s; }
.features .feature:nth-child(2) { animation-delay: .10s; }
.features .feature:nth-child(3) { animation-delay: .18s; }

.feature:hover { transform: translateY(-6px); box-shadow: 0 16px 60px rgba(0,0,0,0.45); border-color: rgba(167,139,250,0.28); background: rgba(20,20,26,0.72); }
.feature::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(120deg, rgba(167,139,250,.24), rgba(124,58,237,.10) 40%, transparent 60%); opacity: 0; transition: opacity .25s var(--ease-out); pointer-events: none; }
.feature:hover::after { opacity: 1; }

.feature-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.45); background: radial-gradient(closest-side, rgba(167,139,250,.22), rgba(124,58,237,0.0)); backdrop-filter: blur(4px); box-shadow: 0 6px 28px rgba(124,58,237,.28); }
.feature:hover .feature-icon { border-color: rgba(255,255,255,0.7); box-shadow: 0 8px 36px rgba(124,58,237,.45); }
.feature-icon img { max-height: 34px; width: auto; display: block; filter: drop-shadow(0 6px 18px rgba(124,58,237,.35)); }
.feature-title { font-size: 20px; margin: 6px 0 6px; }
.feature-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }
.feature-title, .feature-desc { opacity: 0; transform: translateY(8px); }
.feature.is-visible .feature-title { animation: textSlideUp .5s var(--ease-out) .10s forwards; }
.feature.is-visible .feature-desc  { animation: textSlideUp .5s var(--ease-out) .20s forwards; }

[data-reveal]:not(.feature) {
  opacity: 0;
  transform: translateY(5px);
  transition: all .6s var(--ease-smooth);
}
[data-reveal]:not(.feature).is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

.hero.replay > *:not(.partner-badge) { opacity: 0; transform: translateY(12px); }
.hero.replay > *:not(.partner-badge).is-visible { animation: textSlideUp .55s var(--ease-out) forwards; }

/* ====== DISCORD ====== */
.cta-split { padding: var(--section-pad) 16px; }
.cta-split__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.cta-split__title {
  font-size: clamp(28px, 5.2vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .5rem;
  white-space: nowrap;
}

.discord-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #6366f1, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: discoFlash 3s infinite alternate;
}
@keyframes discoFlash {
  from { background-position: 0% center; }
  to   { background-position: 100% center; }
}

.cta-split__btn {
  --pad-y: 1.05rem; --pad-x: 1.4rem;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: btnPulse 2.4s infinite ease-in-out;
}
@keyframes btnPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.cta-split__sub {
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 18px);
  margin-bottom: 1.2rem;
}

.cta-split__btnwrap { margin-top: 1rem; }

.cta-split__img {
  max-width: 120%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.18));
  border-radius: 1rem;
  transform: translateX(5%) scale(0.94);
  transition: transform .8s var(--ease-smooth);
}
.cta-split__right.is-visible .cta-split__img {
  transform: translateX(10%) scale(1.1);
}

@media (max-width: 900px) {
  .cta-split__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-split__btnwrap { justify-self: center; }
  .cta-split__img { margin: 2rem auto 0; }
}

.discord-wipe{
  position: relative;
  display: inline-block;
  color: #fff;
  white-space: nowrap;
}
.discord-wipe::after{
  content: attr(data-text);
  position: absolute; inset: 0;
  white-space: nowrap; overflow: hidden;
  width: 0%;                         
  background: linear-gradient(90deg, #60a5fa, #3b82f6 60%, #2563eb);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: width .8s cubic-bezier(.2,.8,.2,1) .05s;
  will-change: width;
}
.cta-split__title.is-visible .discord-wipe::after{ width: 100%; }

/* ====== DISCORD ====== */
.faq {
  position: relative;
  z-index: 1;
  padding: var(--section-pad, 72px) 16px;
}

.faq__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; 
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}

.faq__aside--plain{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-align: right;
}

.faq__title{
  color: #fff;                   
  font-size: clamp(28px, 5.6vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 8px;
  white-space: normal;          
}
.faq__desc{
  color: #9CA3AF;               
  font-size: clamp(14px, 2vw, 16px);
  margin: 0;
  white-space: normal;          
}

.faq__highlight {
  color: #8b5cf6; 
  position: relative;
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq__item {
  border-radius: var(--radius, 14px);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.25));
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, height;
}

.faq__item:hover {
  border-color: rgba(167,139,250,0.28);
  background: rgba(20,20,26,0.72);
}

.faq__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  background: transparent;
  color: var(--text, #eaeaea);
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .2px;
  transition: background .18s ease, color .18s ease;
}
.faq__toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06), 0 0 0 8px var(--ring, rgba(139,92,246,.35));
  border-radius: calc(var(--radius, 14px) - 2px);
}
.faq__toggle:hover { color: #fff; }

.faq__icon {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 900;
  transform: translateZ(0);
  transition: transform .28s ease, background .25s ease, border-color .25s ease, opacity .25s ease;
  user-select: none;
}

.faq__content {
  max-height: 0px;             
  overflow: clip;
  will-change: max-height;
  transition: max-height .45s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.015));
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0; 
}
.faq__a {
  padding: 14px 18px 18px;
  color: #eaeaea;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease-out, transform .3s ease-out;
}

.faq__item.is-open .faq__a { opacity: 1; transform: none; }
.faq__item.is-open .faq__icon { transform: rotate(135deg) scale(1.02); background: rgba(124,58,237,0.15); border-color: rgba(167,139,250,0.55); }


.faq__toggle::after{
  content:"";
  grid-column: 1 / -1;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent, #22d3ee), var(--accent-2, #a78bfa));
  transition: width .35s ease;
}
.faq__item.is-open .faq__toggle::after{ width: 100%; }

.faq__item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .5s ease,
    transform .5s ease,
    border-color .25s ease,
    background .25s ease;
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
.faq__item.is-visible {
  opacity: 1;
  transform: none;
}

.faq__aside .faq__highlight::after { 
  content: none !important;
}


.faq__aside {
  opacity: 0;
  transform: translateX(22px) scale(.985);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.8,.3,1);
}
.faq__aside.is-visible {
  opacity: 1;
  transform: none;
}

.faq__aside.is-visible .faq__highlight::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px; width: 0%;
  background: currentColor;
  transition: width .5s cubic-bezier(.22,.8,.3,1) .12s;
}
.faq__aside.is-visible .faq__highlight::after { width: 100%; }

@media (max-width: 980px){
  .faq__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__content { transition: none !important; }
  .faq__a, .faq__icon, .faq__toggle::after { transition: none !important; }
  .faq__item, .faq__aside { transition: none !important; transform: none !important; opacity: 1 !important; }
  .faq__aside .faq__highlight::after { width: 100% !important; }
}

/* ===================== FOOTER ===================== */
.site-footer{
  position: relative;
  z-index: 1;
  margin-top: var(--section-pad);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(124,58,237,.12), transparent 60%),
              radial-gradient(1200px 600px at 90% -10%, rgba(167,139,250,.10), transparent 60%),
              #0b0b10;
  color: var(--text);
  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 -20px 60px rgba(0,0,0,.45) inset;
}
.site-footer::before{
  content:""; display:block; height:2px; width:100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity:.9;
}

.footer__inner{
  width:min(1180px,100%);
  margin:0 auto;
  padding: clamp(32px, 4.8vw, 64px) 16px;
  display:grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: clamp(18px, 3.6vw, 42px);
}

.footer__brand{ display:flex; flex-direction:column; gap:.35rem }
.footer__logo svg{ width:44px; height:44px; display:block; fill: var(--accent); filter: drop-shadow(0 6px 22px rgba(124,58,237,.35)); }
.footer__title{ margin:.2rem 0 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 900; letter-spacing:-.01em; }
.footer__tag{ margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }

.footer__h{
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffffff;
  margin: .25rem 0 .75rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__list{ list-style:none; margin:0; padding:0; display:grid; gap:.45rem; }
.footer__list a{
  color: rgba(243,244,246,.82);
  text-decoration:none;
  font-weight: 600;
  font-size: .98rem;
  position:relative;
  padding: 2px 0;
  transition: color .18s var(--ease-smooth);
}
.footer__list a::after{
  content:""; position:absolute; left:0; bottom:-3px; height:2px; width:0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .22s var(--ease-smooth);
}
.footer__list a:hover{ color:#fff; }
.footer__list a:hover::after{ width:100%; }

.footer__social .socials{ display:flex; gap:10px; flex-wrap:wrap; }
.social{
  width:40px; height:40px; display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .18s var(--ease-smooth), background .18s, border-color .18s, box-shadow .18s;
}
.social svg{ width:20px; height:20px; fill: #d9d9ff; opacity:.92; transition: opacity .18s; }
.social:hover{ transform: translateY(-3px); background: rgba(124,58,237,.18); border-color: rgba(167,139,250,.45); }
.social:hover svg{ opacity: 1; }

.footer__legal{
  width:min(1180px,100%);
  margin:0 auto;
  padding: 0 16px 28px;
  border-top: 1px dashed rgba(255,255,255,.08);
}
.legal__disclaimer{
  margin: 18px 0 8px;
  color: rgba(243,244,246,.75);
  font-size: .9rem;
  line-height: 1.6;
}
.legal__row{
  display:flex; gap:10px; justify-content: space-between; align-items:center;
  color: rgba(243,244,246,.85);
  font-size: .92rem;
  padding-top: 8px;
}
.legal__row .madeby{ color: #cfc9ff; }
.legal__row strong{ color:#fff; }

@media (max-width: 990px){
  .footer__inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .footer__inner{ grid-template-columns: 1fr; }
  .legal__row{ flex-direction: column; align-items: flex-start; gap: 6px; }
}

.social img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  transition: transform .2s, filter .2s;
}

.social:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(124,58,237,.55));
}

.footer__logo img {
  width: 48px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(124,58,237,.4));
}

.lang-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.lang-modal[hidden] { display: none; }
.lang-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.lang-modal__dialog {
  position: relative; z-index: 1; width: min(520px, 92vw);
  background: rgba(24,24,30,.92); border: 1px solid rgba(167,139,250,.35);
  border-radius: 16px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.lang-modal__dialog h3 { margin: 0 0 14px; font-size: 1.25rem; }
.lang-modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 16px; }
.lang-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); color: #fff; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.lang-option img { width: 22px; height: 22px; border-radius: 999px; }
.lang-option:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); border-color: rgba(167,139,250,.45); }
.lang-close {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #e5e7eb; font-weight: 700; cursor: pointer;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0; left: -100%;
  width: 70%;
  height: 100vh;
  background: #111;
  padding: 2rem;
  transition: left 0.3s ease;
  z-index: 999;
}
.mobile-menu.open {
  left: 0;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
}
.mobile-menu li {
  margin: 1rem 0;
}
.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}
.mobile-menu #closeMenu {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

@media (max-width: 992px) {
  .nav-center {
    display: none; 
  }
  .burger {
    display: flex; 
  }
}

@media (max-width: 600px) {
  h1.brand {
    font-size: 1.8rem;
  }
  .cta-row {
    flex-direction: column;
    gap: 1rem;
  }
  .features {
    flex-direction: column;
  }
}