/* RockyTweaks website — dark charcoal #0D0D0D / red accent #E63946 */

:root {
  --bg: #0D0D0D;
  --bg-soft: #131316;
  --panel: #17171b;
  --panel-hover: #1d1d22;
  --border: #26262c;
  --accent: #E63946;
  --accent-soft: rgba(230, 57, 70, 0.12);
  --text: #f4f4f6;
  --text-muted: #a3a3ad;
  --text-dim: #6d6d78;
  --success: #2fbf71;
  --info: #4cc2ff;
  --warning: #f4a83a;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 600px at 50% -200px, #17171c 0%, transparent 70%),
    linear-gradient(180deg, #111114 0%, #0D0D0D 320px, #0D0D0D 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle red glow backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(700px 400px at 85% -5%, rgba(230, 57, 70, 0.09), transparent 65%),
    radial-gradient(600px 380px at 0% 100%, rgba(230, 57, 70, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, nav, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.3px; }
.brand img { width: 40px; height: 40px; }
.brand .red { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links a.hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 22px rgba(230, 57, 70, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(230, 57, 70, 0.45); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--panel-hover); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badges, .hero-cta { justify-content: center; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .red { color: var(--accent); }
.hero p.lead { color: var(--text-muted); font-size: 1.13rem; max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 6px 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(380px, 80vw);
  filter: drop-shadow(0 18px 60px rgba(230, 57, 70, 0.18));
}

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); }
.section-head .red { color: var(--accent); }

/* ---------- Feature cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(230, 57, 70, 0.4); background: var(--panel-hover); }
.card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(230, 57, 70, 0.3);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Module list ---------- */
.module-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 10px;
  font-family: Consolas, monospace;
}

/* ---------- Steps ---------- */
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.4);
}

/* ---------- Tweak cards ---------- */
.risk { font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.6px; }
.risk-low { color: var(--success); background: rgba(47, 191, 113, 0.1); border: 1px solid rgba(47, 191, 113, 0.35); }
.risk-medium { color: var(--warning); background: rgba(244, 168, 58, 0.1); border: 1px solid rgba(244, 168, 58, 0.35); }
.risk-high { color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(230, 57, 70, 0.4); }

.tweak-cat { margin-bottom: 44px; }
.tweak-cat > h2 {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.tweak-cat > h2 .icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 10px;
  font-size: 1.1rem;
}
.tweak-cat > .cat-desc { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 18px; }
.tweak-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 800px) { .tweak-grid { grid-template-columns: 1fr; } }
.tweak-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s;
}
.tweak-card:hover { border-color: rgba(230, 57, 70, 0.35); }
.tweak-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.tweak-top h3 { font-size: 1rem; }
.tweak-card p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.tweak-id { font-family: Consolas, monospace; font-size: 0.75rem; color: var(--text-dim); }

/* ---------- Download page ---------- */
.dl-box {
  background: linear-gradient(160deg, var(--panel) 0%, #141416 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dl-box::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 420px; height: 240px;
  background: radial-gradient(closest-side, rgba(230, 57, 70, 0.18), transparent);
  pointer-events: none;
}
.dl-box img { width: 96px; margin-bottom: 18px; }
.dl-box h2 { font-size: 1.8rem; margin-bottom: 8px; }
.dl-box .ver { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 26px; }
.meta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

code.inline {
  font-family: Consolas, monospace;
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.86em;
  color: var(--info);
}

/* ---------- Steps list (download) ---------- */
.steps-list { counter-reset: step; max-width: 720px; margin: 0 auto; }
.steps-list li {
  position: relative;
  list-style: none;
  padding: 0 0 28px 62px;
}
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.35);
}
.steps-list li::after {
  content: '';
  position: absolute;
  left: 19px; top: 44px; bottom: 4px;
  width: 2px;
  background: var(--border);
}
.steps-list li:last-child::after { display: none; }
.steps-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps-list p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.16), rgba(230, 57, 70, 0.05));
  border: 1px solid rgba(230, 57, 70, 0.35);
  border-radius: 20px;
  padding: 52px 32px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-inner small { color: var(--text-dim); font-size: 0.84rem; display: block; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--text); }
