/**
 * style.css
 * Author: RoughHades Scripts
 *
 * the whole look of the site. colors come straight off the logo:
 * cyan -> blue -> purple wave on near black
 */

:root {
  --bg: #07070c;
  --bg-2: #0d0d15;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eeedf7;
  --muted: #9b99b3;
  --dim: #6c6a83;
  --cyan: #00dbfe;
  --blue: #5869ed;
  --purple: #872ce3;
  --gold: #f5b83d;
  --green: #22c55e;
  --red: #ef4444;
  --wave: linear-gradient(90deg, var(--cyan), var(--blue) 50%, var(--purple));
  --radius: 18px;
  --max: 1160px;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd {
  font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.88em;
  background: rgba(88, 105, 237, 0.14);
  border: 1px solid rgba(88, 105, 237, 0.28);
  color: #c9d0ff;
  padding: 0.12em 0.45em;
  border-radius: 6px;
  white-space: nowrap;
}
::selection { background: rgba(135, 44, 227, 0.45); }

/* soft color glow floating behind everything */
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 12% -5%, rgba(0, 219, 254, 0.14), transparent 70%),
    radial-gradient(700px 500px at 95% 10%, rgba(135, 44, 227, 0.18), transparent 70%),
    radial-gradient(800px 600px at 50% 110%, rgba(88, 105, 237, 0.12), transparent 70%);
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

.grad-text {
  background: var(--wave);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------ nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 18px rgba(0, 219, 254, 0.35); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; padding: 8px 14px; border-radius: 10px; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card-hover); text-decoration: none; }
.nav-cta { margin-left: 8px; }
/* the cta in the nav is a real button, don't let the plain link styles wash it out */
.nav-links .nav-cta a.btn { color: #fff; padding: 9px 18px; }
.nav-links .nav-cta a.btn-discord { background: #5865f2; }
.nav-links .nav-cta a.btn-discord:hover { background: #6d78f5; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); color: var(--text); border-radius: 10px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
    background: #0a0a12; border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-links.open { display: flex; }
  /* block links so the tap targets are actually finger sized */
  .nav-links a { display: block; padding: 13px 14px; font-size: 1.02rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-links .nav-cta a.btn { display: flex; justify-content: center; }
  .nav-cta .btn { width: 100%; }
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  color: #fff; white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-discord { background: #5865f2; box-shadow: 0 8px 28px rgba(88, 101, 242, 0.35); }
.btn-discord:hover { background: #6d78f5; box-shadow: 0 12px 34px rgba(88, 101, 242, 0.5); }
.btn-premium { background: var(--wave); box-shadow: 0 8px 28px rgba(135, 44, 227, 0.35); }
.btn-premium:hover { box-shadow: 0 12px 38px rgba(0, 219, 254, 0.35); }
.btn-ghost { background: var(--card); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--card-hover); border-color: rgba(255, 255, 255, 0.28); }
.btn-block { width: 100%; }

/* ------------------------------------------------------------ hero */

.hero { padding: 72px 0 56px; text-align: center; position: relative; }
@media (min-width: 860px) { .hero { padding: 104px 0 84px; } }
.hero-logo { position: relative; width: 132px; height: 132px; margin: 0 auto 30px; }
.hero-logo img { width: 100%; height: 100%; border-radius: 50%; position: relative; z-index: 1; }
.hero-logo::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--blue), var(--purple), var(--cyan));
  filter: blur(22px); opacity: 0.55; animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(0, 219, 254, 0.08); border: 1px solid rgba(0, 219, 254, 0.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem); line-height: 1.05; letter-spacing: -0.03em;
  max-width: 900px; margin: 0 auto 22px;
}
.hero p.lead { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 640px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--dim); font-size: 0.9rem; }

/* little equalizer that bounces under the hero buttons */
.eq { display: flex; gap: 5px; justify-content: center; align-items: flex-end; height: 46px; margin: 46px auto 0; }
.eq span { width: 6px; border-radius: 6px; background: linear-gradient(to top, var(--cyan), var(--blue) 55%, var(--purple)); animation: eq 1.2s ease-in-out infinite; }
/* stagger the bars so it reads like a real wave, not everything bouncing in sync */
.eq span:nth-child(4n+1) { animation-delay: -0.2s; }
.eq span:nth-child(4n+2) { animation-delay: -0.5s; }
.eq span:nth-child(4n+3) { animation-delay: -0.8s; }
.eq span:nth-child(odd) { animation-duration: 0.9s; }
.eq span:nth-child(3n) { animation-duration: 1.4s; }
@keyframes eq { 0%, 100% { height: 18%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .eq span, .hero-logo::before { animation: none; }
  .eq span { height: 60%; }
}

/* ------------------------------------------------------------ sections */

section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .kicker { color: var(--cyan); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--card-hover); }
.card .icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(0, 219, 254, 0.16), rgba(135, 44, 227, 0.2));
  border: 1px solid var(--border-strong); margin-bottom: 16px;
}
.card h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.tag-premium { background: rgba(245, 184, 61, 0.14); color: var(--gold); border: 1px solid rgba(245, 184, 61, 0.35); }
.tag-free { background: rgba(34, 197, 94, 0.12); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.3); }
.tag-soon { background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--border-strong); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 22px; left: 26px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
  background: var(--wave); color: #fff;
}

/* ------------------------------------------------------------ pricing */

.pricing { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 30px 26px; position: relative; }
.plan.featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--wave) border-box;
  box-shadow: 0 20px 60px rgba(135, 44, 227, 0.22);
}
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--wave); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-family: var(--font-head); font-size: 1.35rem; }
.plan .price { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: 0.94rem; margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 0.96rem; }
.plan li::before { content: '✓'; color: var(--cyan); font-weight: 800; flex-shrink: 0; }
.plan li.no { color: var(--dim); }
.plan li.no::before { content: '–'; color: var(--dim); }
.plan.soon { opacity: 0.78; }

/* ------------------------------------------------------------ tables */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255, 255, 255, 0.02); }
tr:last-child td { border-bottom: none; }
td:first-child { white-space: nowrap; }
td .opt { color: var(--dim); font-size: 0.88rem; }
.yes { color: var(--green); font-weight: 700; }
.nope { color: var(--dim); }

/* ------------------------------------------------------------ faq */

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ul { color: var(--muted); padding-bottom: 18px; }
.faq details ul { padding-left: 20px; }

/* ------------------------------------------------------------ cta band */

.cta-band {
  text-align: center; border-radius: 26px; padding: 54px 22px;
  background: radial-gradient(500px 220px at 20% 0%, rgba(0, 219, 254, 0.18), transparent 70%),
              radial-gradient(500px 240px at 80% 100%, rgba(135, 44, 227, 0.24), transparent 70%), var(--bg-2);
  border: 1px solid var(--border-strong);
}
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin-bottom: 28px; }

/* ------------------------------------------------------------ docs layout */

.docs { display: grid; gap: 40px; padding: 48px 0 80px; }
@media (min-width: 960px) { .docs { grid-template-columns: 240px 1fr; } }
.docs-nav { position: sticky; top: 90px; align-self: start; display: none; }
@media (min-width: 960px) { .docs-nav { display: block; } }
.docs-nav h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 18px 0 8px; }
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav a { display: block; color: var(--muted); font-size: 0.94rem; padding: 6px 12px; border-left: 2px solid var(--border); }
.docs-nav a:hover, .docs-nav a.active { color: var(--text); border-left-color: var(--cyan); text-decoration: none; }
.docs-body { min-width: 0; }
.docs-body h1 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.docs-body > p.lead { color: var(--muted); font-size: 1.12rem; margin-bottom: 36px; }
.docs-body h2 { font-family: var(--font-head); font-size: 1.65rem; margin: 52px 0 14px; padding-top: 8px; letter-spacing: -0.01em; }
.docs-body h3 { font-family: var(--font-head); font-size: 1.2rem; margin: 28px 0 10px; }
.docs-body p, .docs-body li { color: #cfcde0; }
.docs-body p { margin-bottom: 14px; }
.docs-body ul, .docs-body ol { padding-left: 22px; margin-bottom: 16px; display: grid; gap: 6px; }
.callout { border-radius: 14px; padding: 16px 18px; margin: 18px 0; border: 1px solid; font-size: 0.96rem; }
.callout p:last-child { margin-bottom: 0; }
.callout-info { background: rgba(0, 219, 254, 0.06); border-color: rgba(0, 219, 254, 0.25); }
.callout-warn { background: rgba(245, 184, 61, 0.07); border-color: rgba(245, 184, 61, 0.3); }
.callout-premium { background: rgba(135, 44, 227, 0.08); border-color: rgba(135, 44, 227, 0.35); }

/* ------------------------------------------------------------ premium checkout */

.checkout { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.checkout .card:hover { transform: none; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { color: var(--dim); font-size: 0.85rem; }
.field input {
  width: 100%; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-strong); color: var(--text);
  border-radius: 12px; padding: 13px 14px; font-size: 1rem; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 219, 254, 0.18); }
.field input.bad { border-color: var(--red); }
.field .err { color: var(--red); font-size: 0.86rem; display: none; }
.field input.bad + .err { display: block; }
#paypal-buttons { min-height: 50px; margin-top: 6px; }
.notice { display: none; border-radius: 14px; padding: 18px; margin-top: 16px; }
.notice.show { display: block; }
.notice-ok { background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.35); }
.notice-bad { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.35); }
.notice h4 { font-family: var(--font-head); margin-bottom: 6px; }
.notice p { color: var(--muted); font-size: 0.95rem; }

.slash-demo {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 0.95rem;
  background: #1e1f22; border: 1px solid #2b2d31; border-radius: 12px; padding: 14px 16px; color: #dbdee1;
  display: flex; align-items: center; gap: 8px; overflow-x: auto;
}
.slash-demo .cmd { color: #c9cdfb; background: rgba(88, 101, 242, 0.3); padding: 2px 6px; border-radius: 4px; }

/* ------------------------------------------------------------ footer */

footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; color: var(--dim); font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--muted); }

/* anything tagged w/ data-support hides itself if there's no support server set */
.hidden { display: none !important; }
