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

    :root {
      --bg-primary: #000000;
      --bg-secondary: #0a0a0a;
      --bg-card: #111111;
      --bg-card-hover: #1a1a1a;
      --border-color: #222222;
      --border-hover: #444444;
      --text-primary: #f0f0f0;
      --text-secondary: #999999;
      --text-muted: #666666;
      --accent: #00c2de;
      --accent-dim: rgba(0, 194, 222, 0.1);
      --accent-glow: rgba(0, 194, 222, 0.15);
      --radius-sm: 4px;
      --radius-md: 15px;
      --radius-lg: 8px;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      position: relative;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
      z-index: 0;
    }

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 10% 10%, rgba(0, 194, 222, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 90% 85%, rgba(0, 194, 222, 0.03) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

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

    /* ── Navbar ── */
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 48px;
      height: 64px;
      border-bottom: 1px solid var(--border-color);
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .navbar-logo {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.4px;
      color: var(--text-primary);
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .navbar-logo:hover { color: var(--accent); }

    .navbar-actions {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: color 0.2s ease;
    }
    .nav-link:hover { color: var(--text-primary); }
    .nav-link svg { width: 18px; height: 18px; }

    /* ── Hero ── */
    .hero {
      position: relative;
      max-width: 880px;
      margin: 0 auto;
      padding: 80px 24px 40px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .hero > *:not(.hero-bg) { position: relative; z-index: 1; }

    /* Full-bleed dark dev image behind the hero, radially masked into the page */
    .hero-bg {
      position: absolute;
      top: -64px;            /* extend up under the navbar for a longer fade */
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      height: calc(100% + 200px);
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .hero-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=2400&q=80');
      background-size: cover;
      background-position: center;
      filter: brightness(0.45) saturate(0.85) contrast(1.05) hue-rotate(-8deg);
      opacity: 0.55;
      -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 38%, #000 25%, rgba(0,0,0,0.6) 55%, transparent 85%);
              mask-image: radial-gradient(ellipse 65% 70% at 50% 38%, #000 25%, rgba(0,0,0,0.6) 55%, transparent 85%);
    }
    /* Top + bottom fades so it never has a hard edge */
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to bottom,
          rgba(0,0,0,0.55) 0%,
          rgba(0,0,0,0.10) 40%,
          rgba(0,0,0,0.35) 80%,
          #000 100%),
        radial-gradient(ellipse 80% 60% at 50% 50%,
          rgba(0, 194, 222, 0.06) 0%,
          transparent 65%);
    }

    .hero-icon {
      width: 72px;
      height: 72px;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(0, 194, 222, 0.18), rgba(168, 85, 247, 0.18));
      border: 1px solid rgba(0, 194, 222, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      box-shadow: 0 8px 24px rgba(0, 194, 222, 0.12);
    }
    .hero-icon svg { width: 32px; height: 32px; color: var(--accent); }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      background: var(--accent-dim);
      border: 1px solid rgba(0, 194, 222, 0.25);
      border-radius: 999px;
      color: var(--accent);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .hero-title {
      font-family: 'Montserrat', 'Inter', sans-serif;
      font-size: 40px;
      font-weight: 700;
      letter-spacing: -1px;
      color: var(--text-primary);
      margin-bottom: 14px;
      line-height: 1.15;
    }
    .hero-title .accent {
      background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: 15px;
      line-height: 1.65;
      color: var(--text-secondary);
      max-width: 620px;
      margin-bottom: 28px;
    }

    .hero-search {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      max-width: 560px;
      padding: 14px 20px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      transition: border-color 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
    }
    .hero-search:focus-within {
      border-color: rgba(0, 194, 222, 0.4);
      background: var(--bg-card-hover);
      box-shadow: 0 0 24px rgba(0, 194, 222, 0.12);
    }
    .hero-search svg {
      width: 16px;
      height: 16px;
      color: var(--text-muted);
      flex-shrink: 0;
    }
    .hero-search:focus-within svg { color: var(--accent); }
    .hero-search input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 14px;
      min-width: 0;
    }
    .hero-search input::placeholder { color: var(--text-muted); }
    .hero-search-kbd {
      display: inline-flex;
      align-items: center;
      padding: 2px 7px;
      font-size: 10px;
      font-weight: 600;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      flex-shrink: 0;
    }

    /* ── Section Tabs (sticky anchor nav) ── */
    .section-tabs {
      position: sticky;
      top: 64px;
      z-index: 50;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      padding: 0 24px;
    }
    .section-tabs-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 4px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .section-tabs-inner::-webkit-scrollbar { display: none; }

    .section-tab {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 18px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      background: transparent;
      border: none;
      cursor: pointer;
      text-decoration: none;
      border-bottom: 2px solid transparent;
      transition: color 0.2s ease, border-color 0.2s ease;
      white-space: nowrap;
    }
    .section-tab svg { width: 14px; height: 14px; }
    .section-tab:hover { color: var(--text-primary); }
    .section-tab.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    /* ── Sections ── */
    main {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px 80px;
    }

    .section {
      padding-top: 72px;
      scroll-margin-top: 130px;
    }

    .section-header {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 24px;
    }

    .section-eyebrow {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--accent);
    }
    .section-title {
      font-family: 'Montserrat', 'Inter', sans-serif;
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.6px;
      color: var(--text-primary);
    }
    .section-desc {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-secondary);
      max-width: 720px;
    }

    /* ── Filter pills (shared across sections) ── */
    .filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
    }
    .filter-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      font-family: inherit;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 999px;
      cursor: pointer;
      user-select: none;
      transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    }
    .filter-pill:hover {
      background: rgba(255, 255, 255, 0.045);
      border-color: rgba(255, 255, 255, 0.15);
      color: var(--text-primary);
      transform: translateY(-1px);
    }
    .filter-pill.active {
      background: var(--accent-dim);
      border-color: rgba(0, 194, 222, 0.35);
      color: var(--accent);
    }
    .filter-pill .pill-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
      opacity: 0.85;
    }

    /* ── Empty state (shared) ── */
    .empty-state {
      grid-column: 1 / -1;
      padding: 64px 24px;
      text-align: center;
      border: 1px dashed var(--border-color);
      border-radius: var(--radius-md);
      color: var(--text-secondary);
    }
    .empty-state strong {
      display: block;
      color: var(--text-primary);
      font-size: 15px;
      margin-bottom: 6px;
    }

    /* ── Guides Grid ── */
    .guides-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 18px;
    }

    .guide-card {
      position: relative;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 22px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
      overflow: hidden;
    }
    .guide-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--card-accent, var(--accent));
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    .guide-card:hover {
      border-color: var(--border-hover);
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    }
    .guide-card:hover::before { opacity: 1; }

    .guide-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .guide-card-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .guide-card-icon svg { width: 22px; height: 22px; }

    .category-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.4px;
      padding: 4px 9px;
      border-radius: 999px;
      text-transform: uppercase;
      flex-shrink: 0;
    }
    .category-badge .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
    }

    .guide-card-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.35;
    }
    .guide-card-desc {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
      flex: 1;
    }

    .guide-card-meta {
      display: flex;
      align-items: center;
      gap: 14px;
      padding-top: 12px;
      border-top: 1px dashed var(--border-color);
      font-size: 11px;
      color: var(--text-muted);
    }
    .guide-card-meta-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .guide-card-meta-item svg { width: 12px; height: 12px; }
    .guide-card-meta-item strong {
      color: var(--text-secondary);
      font-weight: 600;
    }
    .difficulty-pill {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.4px;
    }
    .difficulty-Beginner    { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
    .difficulty-Intermediate { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
    .difficulty-Advanced    { background: rgba(232, 112, 106, 0.14); color: #f5a8a4; }

    .guide-card-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 10px 14px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-sm);
      color: var(--text-primary);
      font-size: 12.5px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.15s ease;
    }
    .guide-card-action:hover {
      background: var(--accent-dim);
      border-color: rgba(0, 194, 222, 0.4);
      color: var(--accent);
    }
    .guide-card-action svg { width: 14px; height: 14px; }

    /* ── Artifacts Grid ── */
    .artifacts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 18px;
    }

    .artifact-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 22px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .artifact-card:hover {
      border-color: var(--border-hover);
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    }

    .artifact-card-top {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }
    .artifact-card-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .artifact-card-icon svg { width: 22px; height: 22px; }

    .artifact-card-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .artifact-card-name {
      font-family: 'SF Mono', Menlo, Consolas, monospace;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      word-break: break-all;
    }
    .artifact-card-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      font-size: 11px;
      color: var(--text-muted);
    }
    .artifact-card-size {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-weight: 500;
    }

    .artifact-card-desc {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .artifact-card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }
    .artifact-tag {
      font-size: 10px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text-secondary);
    }

    .artifact-card-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 10px 14px;
      background: var(--accent);
      color: #000;
      border: 1px solid transparent;
      border-radius: var(--radius-sm);
      font-size: 12.5px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.15s ease;
    }
    .artifact-card-action:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(0, 194, 222, 0.25);
      opacity: 0.95;
    }
    .artifact-card-action svg { width: 14px; height: 14px; }

    /* ── FAQ ── */
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color 0.2s ease;
    }
    .faq-item.open { border-color: rgba(0, 194, 222, 0.35); }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      width: 100%;
      padding: 18px 22px;
      background: transparent;
      border: none;
      cursor: pointer;
      text-align: left;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 14.5px;
      font-weight: 600;
      transition: background 0.15s ease;
    }
    .faq-question:hover { background: rgba(255, 255, 255, 0.02); }
    .faq-q-text {
      flex: 1;
      line-height: 1.45;
    }
    .faq-q-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .faq-q-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-secondary);
      transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
    }
    .faq-item.open .faq-q-icon {
      transform: rotate(180deg);
      background: var(--accent-dim);
      color: var(--accent);
    }
    .faq-q-icon svg { width: 14px; height: 14px; }

    .faq-answer-wrap {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.3s ease;
    }
    .faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }
    .faq-answer-inner {
      overflow: hidden;
      min-height: 0;
    }
    .faq-answer {
      padding: 0 22px 20px;
      font-size: 14px;
      line-height: 1.7;
      color: var(--text-secondary);
    }
    .faq-answer code {
      font-family: 'SF Mono', Menlo, Consolas, monospace;
      font-size: 12.5px;
      padding: 1px 6px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 4px;
      color: var(--accent);
    }
    .faq-answer strong { color: var(--text-primary); font-weight: 600; }
    .faq-answer em { color: var(--text-primary); font-style: italic; }
    .faq-answer a {
      color: var(--accent);
      text-decoration: none;
      border-bottom: 1px dashed rgba(0, 194, 222, 0.4);
    }
    .faq-answer a:hover { border-bottom-style: solid; }

    /* ── CTA Footer ── */
    .footer-cta {
      max-width: 1280px;
      margin: 80px auto 24px;
      padding: 0 24px;
    }
    .footer-cta-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 32px;
      border-radius: var(--radius-md);
      background:
        linear-gradient(135deg, rgba(0, 194, 222, 0.08), rgba(168, 85, 247, 0.06)),
        var(--bg-card);
      border: 1px solid rgba(0, 194, 222, 0.2);
    }
    .footer-cta-text { flex: 1; min-width: 0; }
    .footer-cta-title {
      font-family: 'Montserrat', 'Inter', sans-serif;
      font-size: 20px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 6px;
      letter-spacing: -0.3px;
    }
    .footer-cta-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    .footer-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 22px;
      background: var(--accent);
      color: #000;
      font-weight: 600;
      font-size: 13.5px;
      text-decoration: none;
      border-radius: var(--radius-sm);
      flex-shrink: 0;
      transition: all 0.15s ease;
    }
    .footer-cta-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 22px rgba(0, 194, 222, 0.25);
    }
    .footer-cta-btn svg { width: 14px; height: 14px; }

    .footer {
      max-width: 1280px;
      margin: 0 auto;
      padding: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 12px;
    }
    .footer-links { display: flex; gap: 18px; }
    .footer-links a {
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .footer-links a:hover { color: var(--accent); }

    /* ── Loading ── */
    .loading-pulse {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 80px 24px;
      color: var(--text-muted);
      font-size: 14px;
    }
    .loading-pulse::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      margin-right: 10px;
      animation: pulse 1.2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 0.3; transform: scale(0.9); }
      50%      { opacity: 1;   transform: scale(1.1); }
    }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .navbar { padding: 0 24px; }
      .hero { padding: 56px 20px 32px; }
      .hero-title { font-size: 30px; }
      .footer-cta-card { flex-direction: column; align-items: flex-start; }
      main { padding: 0 16px 60px; }
      .section { padding-top: 56px; }
      .section-title { font-size: 22px; }
    }
