:root {
      /* Racing palette */
      --bg-deep: #08090c;
      --bg-surface: #12131a;
      --bg-raised: #1a1c26;
      --border: #2a2d3a;
      --border-glow: rgba(255, 75, 48, 0.4);
      --text-primary: #e8eaef;
      --text-secondary: #8b8fa3;
      --accent-start: #ff3b30;
      --accent-end: #ff8c00;
      --accent-glow: rgba(255, 75, 48, 0.25);
      --font-main: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --font-heading: "Inter", "Segoe UI", system-ui, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-main);
      color: var(--text-primary);
      background:
        radial-gradient(1200px 800px at 70% -20%, rgba(255, 59, 48, 0.15), transparent 60%),
        radial-gradient(900px 600px at 20% 110%, rgba(255, 140, 0, 0.1), transparent 55%),
        linear-gradient(180deg, var(--bg-deep) 0%, #0c0d12 100%);
      background-attachment: fixed;
      min-height: 100vh;
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background-image:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
      pointer-events: none;
      z-index: -1;
    }

    a { color: var(--accent-start); text-decoration: none; transition: color 0.2s ease; }
    a:hover { color: var(--accent-end); }

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

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(12px);
      background: rgba(12, 13, 18, 0.75);
      border-bottom: 1px solid var(--border);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      letter-spacing: 0.01em;
      font-size: 17px;
      color: var(--text-primary);
    }

    .brand-mark {
      display: grid;
      place-items: center;
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
      color: var(--bg-deep);
      font-weight: 800;
      font-size: 16px;
      box-shadow: 0 4px 14px var(--accent-glow);
    }

    .nav-links {
      display: flex;
      gap: 24px;
      font-size: 14px;
      font-weight: 500;
    }

    .nav-links a {
      color: var(--text-secondary);
      position: relative;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
      transition: width 0.25s ease;
    }

    .nav-links a:hover { color: var(--text-primary); }
    .nav-links a:hover::after { width: 100%; }

    /* Hero */
    .hero {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 48px;
      align-items: center;
      padding: 88px 0 72px;
      min-height: 80vh;
    }

    .hero-copy { display: flex; flex-direction: column; gap: 24px; }

    .hero-copy h1 {
	  font-family: var(--font-heading);
	  font-size: clamp(36px, 5.5vw, 64px);
	  line-height: 1.05;
	  font-weight: 800;
	  letter-spacing: -0.025em;
	  background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
	  -webkit-background-clip: text;
	  background-clip: text;
	  color: transparent;
	  filter: drop-shadow(0 2px 14px rgba(255, 75, 48, 0.3));
	}

    .hero-copy .tagline {
      font-size: 18px;
      color: var(--text-secondary);
      max-width: 480px;
    }

    .sim-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-surface);
      border: 1px solid var(--border);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      color: var(--text-secondary);
      width: fit-content;
    }

    .sim-badge-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-start);
      box-shadow: 0 0 8px var(--accent-start);
    }

    .cta-row {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 24px;
      border-radius: 10px;
      font-weight: 600;
      font-size: 15px;
      transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
      cursor: pointer;
      border: none;
      text-decoration: none;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
      color: var(--bg-deep);
      box-shadow: 0 8px 28px var(--accent-glow);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 36px rgba(255, 75, 48, 0.35);
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text-primary);
    }

    .btn-ghost:hover {
      border-color: var(--accent-start);
      box-shadow: 0 0 20px var(--accent-glow);
      transform: translateY(-2px);
    }

    .hero-art {
      position: relative;
      display: grid;
      place-items: center;
      cursor: zoom-in;
    }

    .hero-art img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 16px;
      border: 1px solid var(--border);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 75, 48, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .hero-art img:hover {
      transform: scale(1.01);
      box-shadow: 0 28px 72px rgba(0, 0, 0, 0.65), 0 0 0 2px rgba(255, 75, 48, 0.2);
    }

    .hero-art-hint {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background: rgba(12, 13, 18, 0.85);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 6px;
      pointer-events: none;
      backdrop-filter: blur(4px);
    }

    /* Modal / Lightbox for Fullsize Screenshot */
    .lightbox-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(5, 6, 8, 0.92);
      backdrop-filter: blur(8px);
      padding: 24px;
      overflow: auto;
    }

    .lightbox-modal.active {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
    }

    .lightbox-content {
      margin: auto;
      max-width: none;
      border-radius: 8px;
      border: 1px solid var(--border);
      box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
      cursor: zoom-out;
    }

    .lightbox-close {
      position: fixed;
      top: 20px;
      right: 24px;
      z-index: 1000;
      background: var(--bg-raised);
      border: 1px solid var(--border);
      color: var(--text-primary);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      display: grid;
      place-items: center;
      transition: background 0.2s;
    }

    .lightbox-close:hover {
      background: var(--accent-start);
      color: #fff;
    }

    /* Sections */
    .section { padding: 64px 0 80px; }

    .section-head {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 48px;
    }

    .section-head h2 {
      font-family: var(--font-heading);
      font-size: 32px;
      font-weight: 750;
      letter-spacing: -0.01em;
      margin-bottom: 12px;
      color: var(--text-primary);
    }

    .section-head p {
      color: var(--text-secondary);
      font-size: 16px;
    }

    /* Mixed Image Feature Cards (Masonry Grid) */
    .feature-grid {
      columns: 3 320px;
      column-gap: 24px;
    }

    .card {
      break-inside: avoid;
      margin-bottom: 24px;
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: var(--border-glow);
      box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 75, 48, 0.15);
      background: var(--bg-raised);
    }

    .card-img-wrapper {
      width: 100%;
      background: rgba(0, 0, 0, 0.3);
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 12px;
    }

    .card-img-wrapper img {
      max-width: 100%;
      height: auto;
      object-fit: contain;
      border-radius: 6px;
    }

    .card-body {
      padding: 20px;
    }

    .card-body h3 {
      font-size: 17px;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .card-body p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    /* CTA Banner */
    .cta-banner {
      background:
        linear-gradient(135deg, rgba(255, 59, 48, 0.12), rgba(255, 140, 0, 0.06)),
        var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 48px 32px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-banner h2 {
      font-family: var(--font-heading);
      font-size: 28px;
      margin-bottom: 12px;
      color: var(--text-primary);
    }

    .cta-banner p {
      color: var(--text-secondary);
      margin-bottom: 28px;
      font-size: 16px;
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 32px 0 48px;
      text-align: center;
      color: var(--text-secondary);
      font-size: 13.5px;
      background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
    }

    footer .name { color: var(--accent-start); font-weight: 600; }

    /* Scroll Reveal */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 820px) {
      .hero { grid-template-columns: 1fr; text-align: center; }
      .hero-copy { align-items: center; }
      .feature-grid { columns: 1; }
    }

/* Category Sections for Templates/Decals */
.sim-section {
  margin-bottom: 48px;
}

.sim-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sim-section-header h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
}


/* Quick Start Guide Specific Styles */
.guide-head {
  text-align: center;
  padding: 72px 0 40px;
}

.guide-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-end);
  background: rgba(255, 75, 48, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.guide-head h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-start) 75%, var(--accent-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(255, 75, 48, 0.15));
}

.guide-head .lede {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--text-secondary);
  font-size: 17px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 72px;
}

.step {
  display: flex;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.step:hover {
  border-color: var(--border-glow);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 75, 48, 0.12);
  transform: translateY(-2px);
}

.step-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 4px 14px var(--accent-glow);
}

.step-body { flex: 1; }

.step-body h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-body p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
}

.step-body p:last-child { margin-bottom: 0; }

.step-body ul {
  margin: 0 0 12px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.step-body li { margin-bottom: 8px; }
.step-body li:last-child { margin-bottom: 0; }

code, kbd {
  font-family: var(--font-mono, "SFMono-Regular", Consolas, monospace);
  font-size: 0.85em;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--text-primary);
  white-space: nowrap;
}

kbd { box-shadow: 0 2px 0 var(--border); }

.tip {
  margin-top: 14px;
  background: rgba(255, 140, 0, 0.07);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-left: 3px solid var(--accent-end);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.tip strong { color: var(--accent-end); }

@media (max-width: 600px) {
  .step { flex-direction: column; gap: 14px; }
}
