/* =============================================================
   RONIX EXECUTOR MAC — style.css
   Premium dark design · Purple accent #7C3AED
   Font: Inter · JetBrains Mono
   ============================================================= */

/* ===== TOKENS ===== */
:root {
  /* Brand */
  --brand:          #7c3aed;
  --brand-hover:    #6d28d9;
  --brand-light:    #8b5cf6;
  --brand-400:      #a78bfa;
  --brand-glow:     rgba(124,58,237,0.45);
  --brand-subtle:   rgba(124,58,237,0.07);
  --brand-border:   rgba(124,58,237,0.2);
  --brand-border-h: rgba(124,58,237,0.55);

  /* Backgrounds */
  --bg:         #08080f;
  --bg-1:       #0d0d1c;
  --bg-2:       #111125;
  --bg-3:       #16162e;
  --bg-card:    rgba(255,255,255,0.023);
  --bg-card-h:  rgba(124,58,237,0.055);

  /* Borders */
  --b-1:  rgba(255,255,255,0.042);
  --b-2:  rgba(255,255,255,0.07);
  --b-3:  rgba(255,255,255,0.11);

  /* Text */
  --t-1:    #f5f5fc;
  --t-2:    #9898b8;
  --t-3:    #56566e;
  --t-brand:#a78bfa;

  /* Status */
  --green:    #10b981;
  --green-bg: rgba(16,185,129,0.1);
  --amber:    #f59e0b;
  --amber-bg: rgba(245,158,11,0.1);
  --red:      #ef4444;

  /* Discord */
  --discord:  #5865f2;

  /* Typography */
  --font:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Spacing scale */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;  --s4: 1rem;
  --s5: 1.25rem;  --s6: 1.5rem;   --s8: 2rem;     --s10: 2.5rem;
  --s12: 3rem;    --s16: 4rem;    --s20: 5rem;    --s24: 6rem;

  /* Radii */
  --r-xs: 4px;   --r-sm: 8px;  --r-md: 12px;
  --r-lg: 16px;  --r-xl: 22px; --r-2xl: 30px;  --r-pill: 9999px;

  /* Shadows */
  --sh-md: 0 8px 24px rgba(0,0,0,.38);
  --sh-lg: 0 24px 60px rgba(0,0,0,.5);
  --sh-xl: 0 40px 90px rgba(0,0,0,.65);
  --sh-brand: 0 20px 60px rgba(124,58,237,.18);
  --sh-brand-lg: 0 40px 100px rgba(124,58,237,.28);

  /* Layout */
  --max-w: 1280px;
  --px:    clamp(1.25rem, 5vw, 2.5rem);

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ===== UTILS ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.grad-text {
  background: linear-gradient(135deg, #c084fc 0%, #7c3aed 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section tag (pill) */
.sec-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  background: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-pill);
  color: var(--t-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Section header */
.sec-header {
  text-align: center;
  margin-bottom: var(--s12);
}
.sec-header h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.875rem;
}
.sec-header p {
  font-size: 1.0625rem;
  color: var(--t-2);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.75;
}

/* Section */
.section {
  padding: var(--s24) 0;
  border-top: 1px solid var(--b-1);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 220ms var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 180ms;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 4px 18px rgba(124,58,237,.28);
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 30px rgba(124,58,237,.42);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--t-2);
  border: 1px solid var(--b-2);
}
.btn-outline:hover {
  color: var(--t-1);
  border-color: var(--b-3);
  background: var(--bg-card);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.8rem 1.625rem;
  background: var(--discord);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 220ms var(--ease);
}
.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(88,101,242,.42);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: var(--r-md);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 64px;
  background: rgba(8,8,15,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--b-1);
  transition: border-color 220ms;
}
.navbar.scrolled { border-color: var(--b-2); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--s8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-logo span { font-size: 1.0625rem; font-weight: 700; color: var(--t-1); letter-spacing: -0.01em; }
.nav-logo em { font-style: normal; color: var(--t-brand); }

.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--t-2);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r-xs);
  transition: color 160ms, background 160ms;
}
.nav-links a:hover { color: var(--t-1); background: var(--bg-card); }

.nav-cta { font-size: 0.875rem; padding: 0.5rem 1.25rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r-xs);
  transition: background 160ms;
}
.hamburger:hover { background: var(--bg-card); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--t-2);
  border-radius: 2px;
  transition: all 260ms var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8,8,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--s8) var(--px);
  gap: var(--s2);
  z-index: 199;
}
.nav-links.mobile-open a { font-size: 1.2rem; padding: 0.75rem 0; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 0.875rem 0 0; }
.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--t-3);
}
.breadcrumb a { color: var(--t-3); transition: color 160ms; }
.breadcrumb a:hover { color: var(--t-brand); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: var(--s24);
}

/* Background */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-glow-1 {
  top: -100px; right: -60px;
  width: 800px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.13) 0%, transparent 65%);
}
.hero-glow-2 {
  bottom: -100px; left: -80px;
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,0.09) 0%, transparent 65%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 60% 10%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 60% 10%, black 0%, transparent 100%);
}

/* Hero layout */
.hero-grid-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(2rem, 5vh, 3.5rem);
}

/* Hero text */
.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  background: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--t-brand);
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0   rgba(16,185,129,0.65); }
  60%  { box-shadow: 0 0 0 7px rgba(16,185,129,0);    }
  100% { box-shadow: 0 0 0 0   rgba(16,185,129,0);    }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.0625rem;
  color: var(--t-2);
  line-height: 1.8;
  margin-bottom: var(--s8);
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: var(--s8);
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
}
.trust-stat { display: flex; flex-direction: column; gap: 1px; }
.trust-stat strong { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.025em; color: var(--t-1); }
.trust-stat span  { font-size: 0.72rem; color: var(--t-3); font-weight: 500; }
.trust-sep { width: 1px; height: 30px; background: var(--b-2); }

/* Hero visual */
.hero-visual { position: relative; }
.screenshot-wrap { position: relative; }
.screenshot-glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 70px;
  background: rgba(124,58,237,0.55);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.065),
    0 40px 80px rgba(0,0,0,.62),
    0 20px 40px rgba(124,58,237,.08);
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Floating chips */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(13,13,28,0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--b-3);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--t-1);
  white-space: nowrap;
  box-shadow: var(--sh-md);
  animation: floatChip 9s ease-in-out infinite;
}
.chip-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16,185,129,0.7);
  flex-shrink: 0;
}
.chip-a { top: 10%; right: -4%; animation-delay: 0s; }
.chip-b { top: 44%; right: -8%; animation-delay: -3s; }
.chip-c { bottom: 16%; left: -5%; animation-delay: -6s; }
@keyframes floatChip {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ===== FEATURES ===== */
.features { background: linear-gradient(180deg, transparent 0%, rgba(124,58,237,.025) 50%, transparent 100%); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.feat-card {
  padding: var(--s8);
  background: var(--bg-card);
  border: 1px solid var(--b-1);
  border-radius: var(--r-lg);
  transition: all 320ms var(--ease);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,.06) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 320ms;
}
.feat-card:hover {
  background: var(--bg-card-h);
  border-color: var(--brand-border);
  transform: translateY(-5px);
  box-shadow: var(--sh-brand);
}
.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 46px; height: 46px;
  background: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-brand);
  margin-bottom: var(--s5);
  transition: all 260ms;
}
.feat-card:hover .feat-icon {
  background: rgba(124,58,237,.18);
  border-color: var(--brand-border-h);
}
.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.feat-card p { font-size: 0.9rem; color: var(--t-2); line-height: 1.68; }

/* ===== SHOWCASE ===== */
.showcase { background: linear-gradient(180deg, transparent, var(--bg-1), transparent); }
.showcase-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--s6);
  margin-bottom: var(--s8);
}
.showcase-fig { margin: 0; }
.img-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--b-2);
  box-shadow: var(--sh-lg);
  background: var(--bg-2);
  transition: box-shadow 300ms, transform 300ms;
}
.img-frame:hover {
  box-shadow: var(--sh-brand);
  transform: translateY(-3px);
}
.img-frame img { width: 100%; height: auto; display: block; }
figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--t-3);
}

.showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  padding-top: var(--s8);
  border-top: 1px solid var(--b-1);
}
.pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--b-1);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  color: var(--t-2);
  font-weight: 500;
}
.pill-dot {
  width: 5px; height: 5px;
  background: var(--brand-400);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== CHANGELOG ===== */
.changelog { background: linear-gradient(180deg, transparent, var(--bg-1), transparent); }
.changelog-wrap {
  max-width: 740px;
  margin-inline: auto;
  position: relative;
  padding-left: var(--s10);
}
/* Vertical line */
.changelog-wrap::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 10px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(124,58,237,.12) 100%);
  border-radius: 2px;
}
.cl-item {
  position: relative;
  margin-bottom: var(--s10);
  padding-bottom: var(--s10);
}
.cl-item:last-child { margin-bottom: 0; padding-bottom: 0; }
/* Border-bottom between items */
.cl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--b-1);
}
.cl-line { display: none; }

/* Timeline dot */
.cl-dot {
  position: absolute;
  left: calc(-1 * var(--s10) - 1px);
  top: 6px;
  width: 10px; height: 10px;
  background: var(--t-3);
  border: 2px solid var(--bg);
  border-radius: 50%;
  transition: background 220ms;
}
.cl-dot--glow {
  background: var(--brand);
  border-color: var(--bg);
  box-shadow: 0 0 0 4px rgba(124,58,237,.2), 0 0 12px rgba(124,58,237,.5);
}

/* Changelog header */
.cl-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.cl-version {
  font-family: var(--mono);
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--t-1);
  letter-spacing: -0.01em;
  background: none;
  border: none;
  padding: 0;
}
.cl-badge {
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-xs);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.cl-badge--latest {
  background: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  color: var(--t-brand);
}
.cl-date {
  font-size: 0.8375rem;
  color: var(--t-3);
  margin-left: auto;
}

/* Changelog list */
.cl-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cl-list li {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.94rem;
  color: var(--t-2);
  line-height: 1.65;
}

/* Change type tags */
.tag {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.tag-new  { background: rgba(124,58,237,.15); color: #a78bfa; border: 1px solid rgba(124,58,237,.22); }
.tag-fix  { background: var(--green-bg);      color: var(--green); border: 1px solid rgba(16,185,129,.22); }
.tag-perf { background: var(--amber-bg);      color: var(--amber); border: 1px solid rgba(245,158,11,.22); }

/* ===== REQUIREMENTS ===== */
.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.req-card {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s6);
  background: var(--bg-card);
  border: 1px solid var(--b-1);
  border-radius: var(--r-lg);
  transition: all 240ms var(--ease);
}
.req-card:hover {
  border-color: var(--b-2);
  background: rgba(255,255,255,.03);
}
.req-card--accent {
  border-color: var(--brand-border);
  background: var(--brand-subtle);
}
.req-icon {
  width: 42px; height: 42px;
  background: var(--bg-2);
  border: 1px solid var(--b-1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-2);
  flex-shrink: 0;
}
.req-card--accent .req-icon {
  background: var(--brand-subtle);
  border-color: var(--brand-border);
  color: var(--t-brand);
}
.req-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--t-3);
  margin-bottom: 0.25rem;
}
.req-val {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--t-1);
}
.req-val--free { color: var(--t-brand); }

/* ===== INSTALL ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  margin-bottom: var(--s10);
}
.step {
  display: flex;
  gap: var(--s5);
  padding: var(--s8);
  background: var(--bg-card);
  border: 1px solid var(--b-1);
  border-radius: var(--r-lg);
  transition: all 260ms var(--ease);
}
.step:hover {
  border-color: var(--brand-border);
  background: var(--bg-card-h);
}
.step-num {
  font-family: var(--mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--b-2);
  line-height: 1;
  flex-shrink: 0;
  transition: color 260ms;
  user-select: none;
}
.step:hover .step-num { color: var(--brand); }
.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-body p { font-size: 0.9rem; color: var(--t-2); line-height: 1.7; }

.install-cta { text-align: center; }
.install-note { margin-top: 0.875rem; font-size: 0.8125rem; color: var(--t-3); }

/* ===== COMMUNITY ===== */
.community-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(124,58,237,.06) 0%, rgba(14,14,30,.0) 70%);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.community-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 65%);
  pointer-events: none;
}

.community-left h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}
.community-left p {
  color: var(--t-2);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: var(--s8);
  max-width: 420px;
}

.comm-stats {
  display: flex;
  gap: var(--s8);
  margin-bottom: var(--s8);
}
.c-stat { display: flex; flex-direction: column; gap: 2px; }
.c-stat strong { font-size: 1.625rem; font-weight: 900; letter-spacing: -0.035em; color: var(--t-1); }
.c-stat span   { font-size: 0.74rem; color: var(--t-3); font-weight: 500; }

/* Discord mockup */
.discord-mock {
  background: #2f3136;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.dm-topbar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #202225;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.2);
}
.dm-icon { width: 14px; height: 14px; background: var(--brand); border-radius: 50%; flex-shrink: 0; }
.dm-channel { font-size: 0.825rem; font-weight: 600; color: #dcddde; flex: 1; }
.dm-online {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #8e9297;
  font-weight: 600;
}
.dm-green-dot {
  width: 7px; height: 7px;
  background: #57f287;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(87,242,135,0.7);
}
.dm-msgs { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.dm-msg { display: flex; gap: 0.75rem; align-items: flex-start; }
.dm-ava { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; }
.dm-user {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.dm-user--mod { color: #fbbf24; }
.dm-text { font-size: 0.8125rem; color: #dcddde; line-height: 1.5; display: block; }

/* ===== COMPATIBILITY ===== */
.compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
}
.compat-card {
  background: var(--bg-card);
  border: 1px solid var(--b-1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.compat-head {
  padding: var(--s5) var(--s8);
  background: rgba(255,255,255,.01);
  border-bottom: 1px solid var(--b-1);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-3);
}
.compat-list { padding: 0; }
.compat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--s8);
  border-bottom: 1px solid var(--b-1);
  transition: background 160ms;
  gap: var(--s4);
}
.compat-row:last-child { border-bottom: none; }
.compat-row:hover { background: rgba(255,255,255,.02); }
.compat-row > span:first-child { font-size: 0.9rem; color: var(--t-2); font-weight: 500; }

.badge-yes {
  font-size: 0.775rem; font-weight: 700;
  padding: 0.22rem 0.6rem;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--r-xs);
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-partial {
  font-size: 0.775rem; font-weight: 700;
  padding: 0.22rem 0.6rem;
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--r-xs);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--b-1);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 220ms;
}
.faq-item[open] { border-color: var(--brand-border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem var(--s6);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--t-1);
  cursor: pointer;
  gap: var(--s4);
  user-select: none;
  transition: background 160ms;
}
.faq-q:hover { background: rgba(255,255,255,.018); }
.faq-q::after {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background: var(--bg-2);
  border: 1px solid var(--b-2);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 2v6M2 5h6' stroke='%239898b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: all 220ms var(--ease);
}
.faq-item[open] .faq-q::after {
  background-color: var(--brand-subtle);
  border-color: var(--brand-border);
  transform: rotate(45deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 2v6M2 5h6' stroke='%23a78bfa' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-a {
  border-top: 1px solid var(--b-1);
  padding: 0 var(--s6) var(--s6);
}
.faq-a p {
  font-size: 0.9375rem;
  color: var(--t-2);
  line-height: 1.75;
  padding-top: 1rem;
}

/* ===== DOWNLOAD CTA ===== */
.dl-card {
  position: relative;
  border: 1px solid var(--brand-border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  text-align: center;
}
.dl-glow {
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,.1) 0%, transparent 65%);
  pointer-events: none;
}
.dl-body { position: relative; z-index: 1; padding: clamp(3rem, 6vw, 5rem) var(--px); }

.dl-icon {
  width: 76px; height: 76px;
  margin: 0 auto var(--s6);
}
.dl-icon img {
  width: 100%; height: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(124,58,237,.35);
}
.dl-card h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.dl-card > .dl-body > p {
  font-size: 1.05rem;
  color: var(--t-2);
  margin-bottom: var(--s6);
}
.dl-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s8);
}
.dl-tags span {
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b-2);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t-2);
}

/* ===== SHARING ===== */
.sharing {
  text-align: center;
  padding: var(--s10) 0;
}
.share-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--t-3);
  margin-bottom: 1rem;
}
.share-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--b-1);
  border-radius: var(--r-sm);
  color: var(--t-2);
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font);
  transition: all 200ms;
}
.share-btn:hover {
  background: var(--bg-2);
  border-color: var(--b-2);
  color: var(--t-1);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--s16) 0 var(--s8);
  border-top: 1px solid var(--b-1);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s12);
  margin-bottom: var(--s10);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}
.footer-logo img { width: 26px; height: 26px; border-radius: 7px; }
.footer-logo span { font-size: 1rem; font-weight: 700; color: var(--t-1); }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--t-3);
  line-height: 1.75;
  max-width: 300px;
}
.footer-ver {
  margin-top: 0.875rem;
  font-size: 0.78rem;
  color: var(--t-3);
  font-family: var(--mono);
}

.footer-nav h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-3);
  margin-bottom: var(--s5);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { font-size: 0.875rem; color: var(--t-2); transition: color 160ms; }
.footer-nav a:hover { color: var(--t-1); }

.footer-bottom {
  border-top: 1px solid var(--b-1);
  padding-top: var(--s6);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--t-3); }

/* ===== TOAST ===== */
#toasts {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-lg);
  animation: toastIn 0.3s var(--ease) both;
  pointer-events: auto;
  cursor: pointer;
  max-width: 300px;
}
.toast--success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  color: var(--green);
}
.toast--error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: var(--red);
}
.toast--info {
  background: rgba(124,58,237,.1);
  border: 1px solid var(--brand-border);
  color: var(--t-brand);
}
.toast.out { animation: toastOut 0.3s var(--ease-in) both; }
@keyframes toastIn  { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@keyframes toastOut { from { opacity:1; transform:translateY(0); } to { opacity:0; transform:translateY(8px); } }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text  { max-width: 100%; }
  .hero-desc  { max-width: 100%; }
  .hero-btns  { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 680px; margin-inline: auto; }
  .chip { display: none; }
  .breadcrumb { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: repeat(2, 1fr); }

  .community-card { grid-template-columns: 1fr; gap: var(--s8); }
  .community-left { order: 1; }
  .community-right { order: 0; max-width: 500px; margin-inline: auto; width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .showcase-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .trust-sep { display: none; }
  .hero-trust { gap: var(--s6); flex-wrap: wrap; }

  .cl-header { flex-wrap: wrap; }
  .cl-date { margin-left: 0; }

  .comm-stats { gap: var(--s6); flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2.125rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .community-card { padding: var(--s8); }
  .dl-card { padding-inline: var(--s5); }
  .changelog-wrap { padding-left: var(--s8); }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-img, .chip { animation: none !important; }
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ===== PRINT ===== */
@media print {
  .navbar, .hero-bg, .download, .sharing, #toasts { display: none !important; }
  body { background: white; color: black; }
}
