/* ═══════════════════════════════════════════
   SOLARA EXECUTOR — STYLESHEET v2
   Dark · Pink-Purple · Refined
   ═══════════════════════════════════════════ */

:root {
  --bg:            #09090f;
  --bg-2:          #0e0e1a;
  --bg-card:       #131320;
  --bg-card-2:     #1a1a2e;

  --pink:          #e879f9;
  --pink-light:    #f0abfc;
  --pink-dark:     #c026d3;
  --purple:        #a855f7;
  --purple-deep:   #7c3aed;
  --purple-soft:   #c084fc;

  --grad:          linear-gradient(135deg, #c026d3 0%, #7c3aed 100%);
  --grad-soft:     linear-gradient(135deg, rgba(192,38,211,.11) 0%, rgba(124,58,237,.11) 100%);
  --grad-text:     linear-gradient(90deg, #e879f9 0%, #a855f7 55%, #7c3aed 100%);

  --text:          #f0ecff;
  --text-muted:    #8e8aad;
  --text-faint:    #4a475f;

  --border:        rgba(139,92,246,.17);
  --border-bright: rgba(232,121,249,.36);

  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow: 0 4px 28px rgba(0,0,0,.55);
  --glow:   0 0 36px rgba(139,92,246,.2);
  --glow-pink: 0 0 60px rgba(232,121,249,.14);

  --font: 'Outfit', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --hh:   64px;
  --mw:   1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--purple-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* All sections clip their own overflow so orbs/decorations never scroll offscreen */
section, header, footer, main { overflow-x: clip; }

.container { width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 22px; }

/* ══════════════ HEADER ══════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--hh);
  background: rgba(9,9,15,.84);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  font-size: 20px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-text { font-size: 17px; font-weight: 700; letter-spacing: -.3px; color: var(--text); }

.header-nav { display: flex; gap: 24px; margin-left: auto; margin-right: 22px; }
.header-nav a {
  font-size: 13.5px; font-weight: 500;
  color: var(--text-muted); white-space: nowrap; transition: color .2s;
}
.header-nav a:hover { color: var(--pink-light); }

.btn-header { flex-shrink: 0; white-space: nowrap; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 6px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; }
.mobile-menu {
  display: none; position: fixed;
  top: var(--hh); left: 0; right: 0;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  padding: 18px 22px; flex-direction: column; gap: 14px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ══════════════ BUTTONS ══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: var(--r);
  font-size: 13.5px; font-weight: 600; letter-spacing: .15px;
  transition: transform .18s, box-shadow .18s;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 3px 16px rgba(124,58,237,.4);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 28px rgba(124,58,237,.55); color: #fff;
}
.btn-primary:active { transform: scale(.98); }
.btn-xl { padding: 14px 34px; font-size: 15px; border-radius: var(--r-lg); }
.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════ BREADCRUMB ══════════════ */
.breadcrumb-nav { padding: 9px 0; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px; list-style: none; font-size: 12.5px; color: var(--text-muted);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb-sep { color: var(--text-faint); padding: 0 3px; }

/* ══════════════ HERO ══════════════ */
.hero { position: relative; padding: 52px 0 44px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 0%, black 30%, transparent 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .38; }
.hero-orb-1 { width: 420px; height: 420px; background: radial-gradient(circle, #c026d3, transparent 70%); top: -170px; left: -50px; }
.hero-orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, #7c3aed, transparent 70%); top: -110px; right: -30px; }

.hero-inner {
  position: relative; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 16px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.26);
  border-radius: 99px; padding: 4px 14px; font-size: 12.5px; font-weight: 500; color: var(--purple-soft);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 6px var(--pink); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.6; transform:scale(1.4); } }

.hero h1 {
  font-size: clamp(23px, 4vw, 48px);
  font-weight: 800; line-height: 1.14; letter-spacing: -.5px; max-width: 740px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(14px, 1.8vw, 16px); color: var(--text-muted); max-width: 510px; line-height: 1.7;
}
.hero-sub strong { color: var(--purple-soft); font-weight: 600; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-meta { font-size: 12px; color: var(--text-faint); font-family: var(--mono); }

.hero-image-wrap {
  width: 100%; max-width: 840px; margin-top: 8px;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow), 0 28px 70px rgba(0,0,0,.65);
}
.hero-img { width: 100%; height: auto; }
.hero-img-placeholder {
  width: 100%; min-height: 220px; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 13px;
  border-radius: var(--r-xl); border: 2px dashed var(--border);
  padding: 32px; text-align: center;
}

/* ══════════════ SHARE ══════════════ */
.social-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.share-label { font-size: 12.5px; color: var(--text-faint); font-weight: 500; }
.share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted);
  transition: transform .18s, box-shadow .18s, border-color .18s, color .18s;
}
.share-btn svg { width: 15px; height: 15px; }
.share-btn:hover { transform: translateY(-2px); border-color: var(--border-bright); color: var(--text); }
.share-fb:hover { box-shadow: 0 4px 14px rgba(66,103,178,.35); }
.share-tw:hover { box-shadow: 0 4px 14px rgba(30,30,30,.6); }
.share-li:hover { box-shadow: 0 4px 14px rgba(10,102,194,.35); }
.share-rd:hover { box-shadow: 0 4px 14px rgba(255,69,0,.28); }
.share-pi:hover { box-shadow: 0 4px 14px rgba(189,8,28,.28); }

/* ══════════════ STATS BAR ══════════════ */
.stats-bar {
  background: var(--bg-card); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.stat-item { display: flex; flex-direction: column; gap: 3px; }
.stat-num {
  font-size: clamp(22px, 2.8vw, 32px); font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }

/* ══════════════ SECTIONS ══════════════ */
.section     { padding: 60px 0; }
.section-alt { background: var(--bg-2); }
.section-title {
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.3px; margin-bottom: 8px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { font-size: 14.5px; color: var(--text-muted); max-width: 560px; margin-bottom: 32px; line-height: 1.65; }

/* ══════════════ FEATURES ══════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 18px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-bright); box-shadow: var(--glow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 22px; margin-bottom: 10px; position: relative; }
.feature-card h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; position: relative; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; position: relative; }

/* ══════════════ COMPARISON TABLE ══════════════ */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-card);
  max-width: 100%;
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 500px; }
.compare-table th {
  padding: 12px 18px; text-align: left;
  background: rgba(139,92,246,.09);
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--purple-soft); border-bottom: 1px solid var(--border);
}
.compare-table th.col-solara { background: rgba(232,121,249,.09); color: var(--pink-light); }
.compare-table td { padding: 11px 18px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(139,92,246,.04); }
.compare-table td.col-solara { color: var(--text); font-weight: 500; }
.check { color: #4ade80; } .cross { color: #f87171; } .neutral { color: #facc15; }

/* ══════════════ SCRIPTS ══════════════ */
.scripts-screenshot {
  width: 100%; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 28px; box-shadow: var(--shadow);
}
.scripts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.script-category { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.script-cat-title {
  font-size: 12.5px; font-weight: 700; color: var(--purple-soft);
  margin-bottom: 11px; padding-bottom: 9px; border-bottom: 1px solid var(--border);
}
.script-list { display: flex; flex-direction: column; gap: 8px; }
.script-list li { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.script-badge { font-size: 10px; font-weight: 700; font-family: var(--mono); padding: 2px 5px; border-radius: 4px; flex-shrink: 0; }
.script-badge.ok { background: rgba(34,197,94,.13); color: #4ade80; }

/* ══════════════ STEPS ══════════════ */
.steps-wrap { display: flex; align-items: stretch; gap: 10px; }
.step {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 18px;
  position: relative; overflow: hidden;
}
.step::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .3s; }
.step:hover::before { opacity: 1; }
.step-num {
  font-family: var(--mono); font-size: 28px; font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 9px; line-height: 1; position: relative;
}
.step-body h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; position: relative; }
.step-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; position: relative; }
.step-arrow { font-size: 18px; color: var(--text-faint); padding-top: 26px; flex-shrink: 0; }

/* ══════════════ CHANGELOG ══════════════ */
.changelog-wrap { display: flex; flex-direction: column; gap: 10px; }
.changelog-entry {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
}
.changelog-entry--latest { border-color: rgba(168,85,247,.42); box-shadow: 0 0 22px rgba(168,85,247,.1); }
.changelog-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.changelog-version { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--pink-light); }
.changelog-date { font-size: 12px; color: var(--text-faint); margin-left: auto; }
.changelog-tag {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .5px;
}
.tag-latest { background: rgba(168,85,247,.16); color: var(--purple-soft); border: 1px solid rgba(168,85,247,.32); }
.tag-major  { background: rgba(232,121,249,.1); color: var(--pink-light); border: 1px solid rgba(232,121,249,.26); }
.tag-patch  { background: rgba(90,90,130,.14); color: var(--text-muted); border: 1px solid var(--border); }
.changelog-list { display: flex; flex-direction: column; gap: 6px; }
.changelog-list li { font-size: 13.5px; color: var(--text-muted); }

/* ══════════════ STATUS ══════════════ */
.status-indicators { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.status-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 99px; padding: 6px 14px; font-size: 12.5px; font-weight: 500; color: var(--text-muted);
}
.status-ok { border-color: rgba(34,197,94,.26); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: pulse 2s infinite; }

/* ── CHARTS: fixed-height wrapper prevents infinite growth ── */
.charts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.chart-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.chart-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chart-card-header h3 { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.chart-badge {
  font-size: 11.5px; font-weight: 700;
  background: var(--grad-soft); color: var(--purple-soft);
  border: 1px solid var(--border); padding: 2px 9px; border-radius: 99px; font-family: var(--mono);
}
/* THE FIX — canvas inside fixed-height relative wrapper */
.chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 145px;      /* fixed pixels, never grows */
}
.chart-canvas-wrap canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.status-screenshot { width: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* ══════════════ TESTIMONIALS ══════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  transition: border-color .22s, transform .22s;
}
.testimonial-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.testimonial-stars { font-size: 13px; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-text { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-name { font-size: 12.5px; font-weight: 600; }
.author-meta { font-size: 11.5px; color: var(--text-faint); }

/* ══════════════ REQUIREMENTS ══════════════ */
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.req-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.req-card h3 {
  font-size: 13.5px; font-weight: 700; color: var(--purple-soft);
  margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.req-list { display: flex; flex-direction: column; gap: 8px; }
.req-list li { font-size: 13px; color: var(--text-muted); display: flex; gap: 10px; align-items: baseline; }
.req-key { color: var(--text); font-weight: 600; min-width: 120px; flex-shrink: 0; }

/* ══════════════ FAQ ══════════════ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-bright); }
.faq-item summary {
  padding: 15px 17px; font-size: 13.5px; font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '﹢'; font-size: 16px; color: var(--purple-soft); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 17px 15px; font-size: 13px; color: var(--text-muted); line-height: 1.65; border-top: 1px solid var(--border); padding-top: 11px; }

/* ══════════════ CTA ══════════════ */
.cta-section { padding: 60px 0; }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 52px 36px; box-shadow: var(--glow-pink);
}
.cta-orb {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.2), transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 9px;
}
.cta-box > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; }

/* ══════════════ FOOTER ══════════════ */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 32px 0 26px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.footer-tagline { font-size: 12.5px; color: var(--text-faint); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 12.5px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--pink); }
.footer-legal { font-size: 11.5px; color: var(--text-faint); max-width: 510px; line-height: 1.6; }

/* ══════════════ TOAST ══════════════ */
.toast {
  position: fixed; bottom: 22px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card-2); border: 1px solid var(--border-bright);
  color: var(--text); padding: 11px 20px; border-radius: var(--r);
  font-size: 13.5px; font-weight: 500; box-shadow: var(--glow);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  z-index: 999; pointer-events: none; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ══════════════ POPULAR GAMES ══════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.game-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 16px;
  transition: border-color .2s, transform .2s;
}
.game-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.game-icon { font-size: 22px; flex-shrink: 0; }
.game-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.game-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-players { font-size: 11.5px; color: var(--text-faint); }
.game-status { font-size: 11.5px; font-weight: 700; color: #4ade80; white-space: nowrap; flex-shrink: 0; font-family: var(--mono); }
.games-note { font-size: 13px; color: var(--text-faint); text-align: center; }
.games-note strong { color: var(--purple-soft); }

/* ══════════════ SECURITY ══════════════ */
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scan-results {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.scan-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; background: rgba(139,92,246,.09);
  border-bottom: 1px solid var(--border);
}
.scan-title { font-size: 13px; font-weight: 700; color: var(--purple-soft); }
.scan-date   { font-size: 11.5px; color: var(--text-faint); font-family: var(--mono); }
.scan-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
}
.scan-row:last-of-type { border-bottom: none; }
.scan-engine { font-size: 13px; color: var(--text-muted); }
.scan-result { font-size: 12px; font-weight: 700; font-family: var(--mono); }
.result-clean { color: #4ade80; }
.result-fp    { color: #facc15; }
.scan-summary {
  padding: 12px 18px;
  font-size: 12.5px; color: var(--text-faint);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.scan-score { font-weight: 700; color: #4ade80; }

.security-tips {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 16px; height: 100%;
}
.security-tips h3 { font-size: 14px; font-weight: 700; color: var(--text); }
.tips-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.tips-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.tip-num {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0; margin-top: 1px;
}
.tips-list strong { color: var(--text); font-weight: 600; }
.security-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.sec-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.22);
  color: #4ade80; font-size: 12px; font-weight: 500;
  padding: 5px 11px; border-radius: 99px;
}

/* ══════════════ COMMUNITY ══════════════ */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.community-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 20px;
  text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.community-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity .25s;
}
.community-card:hover { transform: translateY(-3px); border-color: var(--border-bright); }
.community-card:hover::before { opacity: 1; }
.community-discord:hover { box-shadow: 0 8px 28px rgba(88,101,242,.2); }
.community-youtube:hover { box-shadow: 0 8px 28px rgba(255,0,0,.15); }
.community-reddit:hover  { box-shadow: 0 8px 28px rgba(255,69,0,.15); }
.community-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(139,92,246,.12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.community-discord .community-icon { background: rgba(88,101,242,.15); color: #7289da; }
.community-youtube .community-icon { background: rgba(255,0,0,.12); color: #ff4444; }
.community-reddit  .community-icon { background: rgba(255,69,0,.12); color: #ff6314; }
.community-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; position: relative; }
.community-name  { font-size: 15px; font-weight: 700; color: var(--text); }
.community-desc  { font-size: 12.5px; color: var(--text-muted); }
.community-count { font-size: 12px; font-weight: 600; color: var(--purple-soft); font-family: var(--mono); margin-top: 2px; }
.community-arrow { font-size: 18px; color: var(--text-faint); transition: color .2s, transform .2s; position: relative; flex-shrink: 0; }
.community-card:hover .community-arrow { color: var(--pink); transform: translateX(3px); }

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

/* ── Tablet: 901px → 1100px ── */
@media (max-width: 1100px) {
  .features-grid    { grid-template-columns: repeat(3, 1fr); }
  .scripts-grid     { grid-template-columns: repeat(2, 1fr); }
  .games-grid       { grid-template-columns: repeat(2, 1fr); }
  .compare-table th,
  .compare-table td { padding: 10px 14px; font-size: 13px; }
}

/* ── Tablet: ≤900px ── */
@media (max-width: 900px) {
  /* Header */
  .header-nav, .btn-header { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Grids → 2 cols */
  .features-grid      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .scripts-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
  .charts-grid        { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .req-grid           { grid-template-columns: 1fr; }
  .games-grid         { grid-template-columns: repeat(2, 1fr); }
  .security-grid      { grid-template-columns: 1fr; }
  .community-grid     { grid-template-columns: 1fr; }
  .faq-grid           { grid-template-columns: 1fr; }

  /* Steps → vertical */
  .steps-wrap  { flex-direction: column; gap: 10px; }
  .step-arrow  { display: none; }

  /* Comparison table: allow scroll */
  .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Security tips */
  .security-tips { height: auto; }
}

/* ── Mobile: ≤600px ── */
@media (max-width: 600px) {
  :root {
    --hh:   56px;
    --r:    10px;
    --r-lg: 14px;
    --r-xl: 20px;
  }

  /* Container padding */
  .container { padding: 0 16px; }

  /* Sections */
  .section    { padding: 40px 0; }
  .section-alt { padding: 40px 0; }
  .cta-section { padding: 40px 0; }
  .hero       { padding: 32px 0 28px; }
  .section-title { font-size: 22px; }
  .section-sub   { font-size: 14px; margin-bottom: 24px; }

  /* Header */
  .logo-text { font-size: 16px; }

  /* Hero */
  .hero-inner      { gap: 14px; }
  .hero-badge      { font-size: 12px; padding: 4px 12px; }
  .hero h1         { font-size: clamp(22px, 7.5vw, 34px); letter-spacing: -.2px; }
  .hero-sub        { font-size: 14px; }
  .hero-image-wrap { margin-top: 6px; border-radius: var(--r-lg); }

  /* Buttons */
  .btn-xl { padding: 13px 28px; font-size: 14.5px; }

  /* Share buttons */
  .social-share { gap: 7px; }
  .share-btn    { width: 34px; height: 34px; border-radius: 8px; }
  .share-btn svg { width: 14px; height: 14px; }

  /* Stats bar */
  .stats-bar  { padding: 18px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .stat-num   { font-size: 26px; }
  .stat-label { font-size: 12px; }

  /* Features → 1 col */
  .features-grid  { grid-template-columns: 1fr; gap: 8px; }
  .feature-card   { padding: 18px 16px; }
  .feature-icon   { font-size: 20px; margin-bottom: 8px; }
  .feature-card h3 { font-size: 14px; }
  .feature-card p  { font-size: 12.5px; }

  /* Compare table */
  .compare-table    { font-size: 12.5px; min-width: 420px; }
  .compare-table th { padding: 10px 12px; font-size: 11px; }
  .compare-table td { padding: 9px 12px; }

  /* Scripts → 1 col */
  .scripts-grid      { grid-template-columns: 1fr; }
  .scripts-screenshot { margin-bottom: 20px; }
  .script-category   { padding: 14px; }

  /* Steps */
  .step      { padding: 18px 16px; }
  .step-num  { font-size: 24px; }

  /* Games grid → 1 col */
  .games-grid  { grid-template-columns: 1fr; gap: 8px; }
  .game-card   { padding: 12px 14px; }
  .game-icon   { font-size: 20px; }
  .game-name   { font-size: 13px; }

  /* Requirements */
  .req-card    { padding: 18px 16px; }
  .req-key     { min-width: 90px; }

  /* Changelog */
  .changelog-entry    { padding: 16px 16px; }
  .changelog-date     { display: none; }
  .changelog-version  { font-size: 13px; }
  .changelog-list li  { font-size: 13px; }

  /* Status */
  .status-indicators  { flex-direction: column; gap: 7px; }
  .status-pill        { justify-content: flex-start; font-size: 12.5px; }
  .chart-card         { padding: 16px; }
  .chart-canvas-wrap  { height: 120px; }
  .chart-card-header h3 { font-size: 12px; }
  .status-screenshot  { display: none; } /* optional: hide large screenshot on phones */

  /* Testimonials → 1 col */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card  { padding: 18px 16px; }

  /* Security */
  .scan-row     { padding: 9px 14px; }
  .scan-header  { padding: 12px 14px; }
  .scan-engine  { font-size: 12.5px; }
  .scan-summary { padding: 10px 14px; font-size: 12px; }
  .security-tips { padding: 18px 16px; }
  .security-badges { gap: 6px; }
  .sec-badge    { font-size: 11.5px; padding: 4px 10px; }
  .tips-list li { font-size: 12.5px; }

  /* FAQ */
  .faq-grid       { grid-template-columns: 1fr; gap: 8px; }
  .faq-item summary { padding: 14px 15px; font-size: 13.5px; }
  .faq-item p     { font-size: 13px; padding: 0 15px 14px; padding-top: 10px; }

  /* CTA */
  .cta-box   { padding: 36px 18px; border-radius: var(--r-lg); }
  .cta-box h2 { font-size: 22px; }
  .cta-box > p { font-size: 14px; }
  .cta-orb   { width: 260px; height: 260px; }

  /* Footer */
  .site-footer    { padding: 28px 0 22px; }
  .footer-links   { gap: 14px; }
  .footer-links a { font-size: 12px; }
  .footer-legal   { font-size: 11px; }
}

/* ── Small phones: ≤380px ── */
@media (max-width: 380px) {
  .container    { padding: 0 14px; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-num     { font-size: 22px; }
  .hero h1      { font-size: 21px; }
  .share-btn    { width: 32px; height: 32px; }
  .changelog-tag { display: none; }
  .btn-xl       { padding: 12px 22px; font-size: 14px; width: 100%; justify-content: center; }
}

/* ══════════════ ANIMATIONS ══════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge         { animation: fadeUp .45s ease both; }
.hero h1            { animation: fadeUp .5s .06s ease both; }
.hero-sub           { animation: fadeUp .5s .13s ease both; }
.social-share--hero { animation: fadeUp .5s .19s ease both; }
.hero-cta           { animation: fadeUp .5s .25s ease both; }
.hero-image-wrap    { animation: fadeUp .58s .34s ease both; }

/* ══════════════ SCRIPT EDITOR ══════════════ */
.editor-wrap {
  background: #0d0d18;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow);
  font-family: var(--mono);
  max-width: 100%;
}
.editor-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #111122;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.editor-dots { display: flex; gap: 6px; flex-shrink: 0; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.editor-tabs { display: flex; gap: 2px; flex: 1; overflow-x: auto; min-width: 0; }
.editor-tabs::-webkit-scrollbar { display: none; }
.editor-tab {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  background: transparent;
  padding: 5px 14px;
  border-radius: 6px 6px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  cursor: pointer;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.editor-tab:hover { color: var(--text-muted); }
.editor-tab--active {
  color: var(--pink-light);
  background: #0d0d18;
  border-color: var(--border);
}
.editor-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.editor-btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  color: var(--text-faint);
  background: transparent;
  transition: color .15s, background .15s;
}
.editor-btn svg { width: 14px; height: 14px; }
.editor-btn:hover { color: var(--text); background: rgba(255,255,255,.06); }
.editor-run-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: var(--grad);
  color: #fff;
  font-size: 12px; font-weight: 600;
  border-radius: 6px;
  font-family: var(--font);
  box-shadow: 0 2px 12px rgba(124,58,237,.4);
  transition: transform .15s, box-shadow .15s;
}
.editor-run-btn svg { width: 10px; height: 10px; }
.editor-run-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(124,58,237,.55); }
.editor-run-btn.running { animation: runPulse .5s ease infinite alternate; }
@keyframes runPulse { from { box-shadow: 0 2px 12px rgba(124,58,237,.4); } to { box-shadow: 0 4px 28px rgba(232,121,249,.7); } }

.editor-body {
  display: flex;
  padding: 16px 0;
  min-height: 280px;
  overflow-x: auto;
}
.editor-gutter {
  padding: 0 14px;
  text-align: right;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.75;
  user-select: none;
  flex-shrink: 0;
  border-right: 1px solid rgba(139,92,246,.1);
  margin-right: 16px;
  min-width: 38px;
}
.editor-code {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
  padding-right: 16px;
  max-width: 100%;
  word-break: normal;
}
/* Syntax tokens */
.kw   { color: #c084fc; }
.fn   { color: #e879f9; }
.str  { color: #86efac; }
.num  { color: #fbbf24; }
.var  { color: #f0ecff; }
.prop { color: #93c5fd; }
.cm   { color: #5c5a7a; font-style: italic; }
.bool { color: #fb923c; }

.editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: #111122;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
}
.editor-status { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.status-dot-green {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 5px #4ade80; flex-shrink: 0;
}
.editor-info { color: var(--text-faint); }

/* ══════════════ ANTIVIRUS GUIDE ══════════════ */
.av-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 14px;
  align-items: start;
}
.av-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 18px;
}
.av-card--highlight {
  border-color: rgba(168,85,247,.35);
  background: linear-gradient(145deg, rgba(168,85,247,.07) 0%, var(--bg-card) 60%);
}
.av-card-icon { font-size: 26px; margin-bottom: 10px; }
.av-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.av-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.av-card p strong { color: var(--text); }

.av-steps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 18px;
}
.av-steps-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.av-steps { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.av-steps li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}
.av-steps li strong { color: var(--text); }
.av-step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 11px; font-weight: 700; font-family: var(--mono);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

.av-compat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 18px;
}
.av-compat-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.av-compat-list { display: flex; flex-direction: column; gap: 9px; }
.av-compat-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
}
.av-compat-name { color: var(--text-muted); }
.av-compat-tag {
  font-size: 10.5px; font-weight: 700; padding: 2px 8px;
  border-radius: 99px; border: 1px solid transparent;
}
.av-tag-ok   { background: rgba(34,197,94,.12); color: #4ade80; border-color: rgba(34,197,94,.25); }
.av-tag-warn { background: rgba(250,204,21,.1); color: #fbbf24; border-color: rgba(250,204,21,.25); }

@media (max-width: 900px) {
  .av-grid { grid-template-columns: 1fr; }
}

/* ══════════════ DOWNLOAD COUNTER ══════════════ */
.dl-counter-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}
.dl-counter-wrap::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,121,249,.1), transparent 65%);
  top: -200px; left: -100px;
  pointer-events: none;
}
.dl-label {
  font-size: 13px; font-weight: 600;
  color: var(--purple-soft); text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 6px;
}
.dl-number {
  font-family: var(--mono);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -1px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.05;
  margin-bottom: 6px;
}
.dl-sublabel { font-size: 12.5px; color: var(--text-faint); margin-bottom: 22px; }
.dl-bar-wrap { max-width: 400px; }
.dl-bar-track {
  height: 6px;
  background: rgba(139,92,246,.15);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}
.dl-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--grad);
  border-radius: 99px;
  transition: width 2.5s cubic-bezier(.25,.8,.25,1);
}
.dl-milestones {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--text-faint); font-family: var(--mono);
}
.dl-counter-right { display: flex; flex-direction: column; gap: 12px; }
.dl-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-mini-stat {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
}
.dl-mini-num {
  display: inline;
  font-family: var(--mono);
  font-size: 20px; font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dl-mini-unit {
  font-family: var(--mono);
  font-size: 16px; font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dl-mini-label {
  display: block;
  font-size: 11.5px; color: var(--text-faint); margin-top: 3px;
}

@media (max-width: 720px) {
  .dl-counter-wrap {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
  .dl-number { font-size: clamp(32px, 10vw, 52px); }
}
