/* ================================================================
   St4lcord — site vitrine
   Design system: gaming dark + accent crimson (RED branding)
   Fonts: Russo One (display) + Chakra Petch (body)
   ================================================================ */

:root {
  /* surfaces */
  --bg: #0A0C12;
  --bg-2: #0E1119;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-solid: #11151F;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* text */
  --text: #F4F6FB;
  --muted: #97A0B4;
  --faint: #646E84;

  /* brand — crimson red */
  --red: #FF2D4B;
  --red-2: #FF5630;
  --red-deep: #B30D2A;
  --grad: linear-gradient(135deg, #FF2D4B 0%, #FF5630 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 45, 75, 0.18), rgba(255, 86, 48, 0.10));
  --glow: 0 0 60px rgba(255, 45, 75, 0.35);

  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Chakra Petch", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: "Russo One", system-ui, sans-serif; font-weight: 400; line-height: 1.1; letter-spacing: .5px; }

a { color: inherit; text-decoration: none; }
img { display: block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ░░ Background decor ░░ */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; }
.glow-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,45,75,.4), transparent 70%); top: -200px; left: -150px; }
.glow-2 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,86,48,.22), transparent 70%); top: 30%; right: -250px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  opacity: .5;
}

/* ░░ Buttons ░░ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(255,45,75,.30); }
.btn-primary:hover { box-shadow: 0 10px 34px rgba(255,45,75,.5); transform: translateY(-2px); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--red); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ░░ NAV ░░ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: var(--maxw);
  display: flex; align-items: center; gap: 18px;
  padding: 10px 14px 10px 18px; z-index: 50;
  background: rgba(12, 15, 22, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 16px;
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: 0 12px 40px rgba(0,0,0,.45); background: rgba(12,15,22,.9); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: "Russo One"; font-size: 19px; }
.nav-brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: 9px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: var(--panel); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ░░ HERO ░░ */
.hero { max-width: 880px; margin: 0 auto; padding: 180px 24px 90px; text-align: center; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px; background: var(--panel);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #2DFF8A; box-shadow: 0 0 8px #2DFF8A; }
.hero-logo { width: 104px; height: 104px; margin: 0 auto 24px; border-radius: 24px; filter: drop-shadow(var(--glow)); }
.hero-title { font-size: clamp(56px, 11vw, 110px); letter-spacing: 2px; margin-bottom: 14px; background: linear-gradient(180deg,#fff,#b9c0d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline { font-family: "Russo One"; font-size: clamp(20px, 4vw, 32px); margin-bottom: 20px; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; min-width: 110px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.stat strong { font-family: "Russo One"; font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ░░ Sections ░░ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 70px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ░░ Card base ░░ */
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.card:hover { border-color: var(--border-strong); background: rgba(255,255,255,.05); }

/* ░░ Bento ░░ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--red); margin-bottom: 18px; }
.bento h3 { font-size: 21px; margin-bottom: 10px; }
.bento p { color: var(--muted); font-size: 15px; }
.bento p strong { color: var(--text); }
.bento-lg { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: var(--grad-soft); }
.bento-lg h3 { font-size: 26px; }
.bento-wide { grid-column: span 2; }

/* ░░ Plugins ░░ */
.plugin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plugin { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.plugin:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 12px 30px rgba(255,45,75,.12); }
.plugin .tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--red); background: var(--grad-soft); border: 1px solid var(--border); padding: 4px 9px; border-radius: 7px; margin-bottom: 14px; }
.plugin h4 { font-size: 17px; margin-bottom: 8px; }
.plugin p { color: var(--muted); font-size: 14px; }

/* ░░ St4lcoin ░░ */
.coins-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.coins-copy h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 16px; }
.coins-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.coins-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.coins-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.coins-list svg { color: var(--red); flex-shrink: 0; }
.leaderboard { padding: 24px; }
.lb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.lb-head svg { color: #FFC83D; }
.lb-head h3 { font-size: 19px; margin-right: auto; }
.lb-live { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); border: 1px solid var(--border); padding: 3px 9px; border-radius: 100px; }
.lb-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.lb-list li { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 11px; transition: background .2s; }
.lb-list li:hover { background: var(--panel); }
.lb-rank { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; font-size: 13px; background: rgba(255,255,255,.06); color: var(--muted); flex-shrink: 0; }
.lb-rank.gold { background: linear-gradient(135deg,#FFD75E,#F0A500); color: #1a1300; }
.lb-rank.silver { background: linear-gradient(135deg,#E2E8F0,#A0AEC0); color: #1a1a1a; }
.lb-rank.bronze { background: linear-gradient(135deg,#E0A26B,#B06B30); color: #1a0d00; }
.lb-name { font-weight: 500; margin-right: auto; }
.lb-bal { font-family: "Russo One"; color: #FFC83D; }
.lb-bal::after { content: " ◉"; font-size: .8em; }

/* ░░ Pricing ░░ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan-featured { border-color: var(--red); background: var(--grad-soft); box-shadow: 0 16px 50px rgba(255,45,75,.15); }
.plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; }
.plan-name { font-size: 22px; margin-bottom: 8px; }
.plan-price { font-family: "Russo One"; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.plan-desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-feats li { position: relative; padding-left: 26px; color: var(--text); font-size: 15px; }
.plan-feats li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; background: var(--grad); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,45,75,.12); }
.plan-feats li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pricing-note { text-align: center; color: var(--faint); font-size: 14px; margin-top: 24px; }

/* ░░ Download ░░ */
.download { max-width: 760px; margin: 0 auto; text-align: center; padding: 48px 40px; background: var(--grad-soft); border-color: var(--border-strong); }
.download h2 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 12px; }
.download > p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 460px; margin: 0 auto 32px; text-align: left; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: 12px; }
.step-n { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad); border-radius: 8px; font-family: "Russo One"; font-size: 14px; color: #fff; }
.steps code { background: rgba(255,255,255,.08); padding: 2px 8px; border-radius: 6px; font-family: ui-monospace, monospace; font-size: 13px; }
.download-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ░░ FAQ ░░ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.chev { width: 11px; height: 11px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item[open] .chev { transform: rotate(-135deg); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { color: var(--muted); font-size: 15px; }

/* ░░ Footer ░░ */
.footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 56px 24px 32px; background: var(--bg-2); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h5 { font-family: "Chakra Petch"; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--faint); font-size: 13px; }

/* ░░ Reveal animation ░░ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ░░ Responsive ░░ */
@media (max-width: 920px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-row: auto; }
  .bento-wide { grid-column: span 2; }
  .plugin-grid { grid-template-columns: repeat(2, 1fr); }
  .coins-wrap { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-actions { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; background: rgba(12,15,22,.97); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
  .nav.open .nav-actions { display: flex; position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin-top: 190px; flex-direction: column; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 140px; }
  .bento, .plugin-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ░░ Reduced motion ░░ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .plugin:hover { transform: none; }
}

/* ░░ Focus visibility (a11y) ░░ */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ░░ Reviews ░░ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 14px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border-strong); object-fit: cover; background: var(--panel-solid); flex-shrink: 0; }
.review-head > div { display: flex; flex-direction: column; min-width: 0; }
.review-name { font-weight: 600; font-size: 15px; }
.review-text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.section-head code, .reviews-grid code { background: rgba(255,255,255,.08); padding: 1px 7px; border-radius: 6px; font-family: ui-monospace, monospace; font-size: .9em; color: var(--text); }

/* ░░ Plan price suffix ░░ */
.plan-per { font-family: "Chakra Petch"; font-size: 14px; font-weight: 500; color: var(--muted); -webkit-text-fill-color: var(--muted); }

/* ░░ Install notice (warning) ░░ */
.notice { display: flex; gap: 14px; text-align: left; max-width: 540px; margin: 0 auto 28px; padding: 16px 18px; background: rgba(255,200,61,.07); border: 1px solid rgba(255,200,61,.28); border-radius: 14px; }
.notice svg { color: #FFC83D; flex-shrink: 0; margin-top: 2px; }
.notice div { font-size: 14px; color: var(--muted); line-height: 1.55; }
.notice strong { color: var(--text); }

@media (max-width: 920px) { .reviews-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
