/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050914;
  --bg2: #0b1120;
  --bg3: #111827;
  --bg4: #1a2540;
  --border: #1e2d47;
  --border-light: #243352;
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --primary: #818cf8;
  --primary-dark: #6366f1;
  --cyan: #38bdf8;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --purple: #a78bfa;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.6);
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --sidebar-w: 280px;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ── Header ───────────────────────────────────────────────── */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: rgba(5,9,20,.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #3730a3, #0e7490);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.3px;
}

.header-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 99px;
}

/* ── Main ─────────────────────────────────────────────────── */
.app-main { padding-top: 56px; }

/* ── Upload Screen ────────────────────────────────────────── */
.upload-screen {
  display: block;
  min-height: calc(100vh - 56px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
}

/* Hero section: centered in viewport height */
.upload-hero {
  position: relative;
  text-align: center;
  max-width: 660px;
  width: 90%;
  margin: 0 auto;
  padding: 72px 0 48px;
}

.upload-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 560px; height: 320px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.18) 0%, transparent 70%);
  pointer-events: none;
}

.upload-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.8px;
  margin-bottom: 14px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.upload-subtitle {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* Drop Zone */
.drop-zone {
  border: 2px dashed var(--border-light);
  border-radius: 16px;
  padding: 48px 36px;
  background: rgba(17,24,39,.5);
  transition: border-color .25s, background .25s, box-shadow .25s;
  cursor: default;
}

.drop-zone.drag-over {
  border-color: var(--primary);
  background: rgba(99,102,241,.08);
  box-shadow: 0 0 0 6px rgba(99,102,241,.12), var(--shadow);
}

.drop-icon { margin-bottom: 18px; }

.drop-text { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.drop-text strong { color: #fff; }
.drop-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 18px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary-dark), #0284c7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  user-select: none;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

.drop-hint {
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-muted);
}
.drop-hint em { font-style: normal; color: var(--cyan); }

/* Loading overlay */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(5,9,20,.75);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; z-index: 999;
  backdrop-filter: blur(4px);
}

.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-text { color: var(--text-dim); font-size: 14px; }

/* ── Results Layout ───────────────────────────────────────── */
.results-screen {
  display: flex;
  height: calc(100vh - 56px);
}
.results-screen.hidden { display: none; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-muted); margin-bottom: 4px; }
.sidebar-url { font-size: 12px; color: var(--text-dim); word-break: break-all; line-height: 1.4; }

.btn-reset {
  flex-shrink: 0;
  background: none; border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 5px;
  cursor: pointer;
  display: flex; align-items: center;
  transition: border-color .2s, color .2s;
  margin-left: 8px;
}
.btn-reset:hover { border-color: var(--primary); color: var(--primary); }

.platform-list {
  overflow-y: auto;
  flex: 1;
  padding: 8px;
}

.platform-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s, color .15s;
  position: relative;
  margin-bottom: 2px;
}
.platform-item:hover { background: var(--bg4); }
.platform-item.active {
  background: rgba(99,102,241,.14);
  border: 1px solid rgba(99,102,241,.3);
}

.platform-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.platform-info { flex: 1; min-width: 0; }
.platform-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.platform-domain { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.platform-count {
  font-size: 11px; font-weight: 700;
  background: var(--bg3);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
}
.platform-item.active .platform-count { background: rgba(99,102,241,.2); color: var(--primary); }

/* ── Content Area ────────────────────────────────────────── */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.content-placeholder {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; color: var(--text-muted);
  font-size: 14px;
}

.requests-table-wrapper {
  flex: 1;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.requests-table-wrapper.hidden { display: none; }

.table-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.table-title { font-weight: 700; font-size: 15px; }

.table-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  color: var(--text-muted);
}
.table-search input {
  background: none; border: none; outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  width: 220px;
}
.table-search input::placeholder { color: var(--text-muted); }

.table-scroll { flex: 1; overflow: auto; }

/* Requests Table */
.requests-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
}

.requests-table thead {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg2);
}

.requests-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
}

.requests-table tbody tr {
  border-bottom: 1px solid rgba(30,45,71,.5);
  cursor: pointer;
  transition: background .1s;
}
.requests-table tbody tr:hover { background: var(--bg4); }
.requests-table tbody tr.selected { background: rgba(99,102,241,.1); }

.requests-table td {
  padding: 8px 12px;
  vertical-align: middle;
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-name { width: 38%; }
.col-status { width: 7%; }
.col-type { width: 10%; }
.col-initiator { width: 22%; }
.col-size { width: 8%; }
.col-time { width: 8%; }

.td-name { color: var(--text-dim); }
.td-name .name-path { color: var(--text); }
.td-name .name-host { color: var(--text-muted); }

.status-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}
.status-2xx { background: rgba(52,211,153,.12); color: var(--green); }
.status-3xx { background: rgba(251,191,36,.1); color: var(--amber); }
.status-4xx, .status-5xx { background: rgba(248,113,113,.12); color: var(--red); }
.status-other { background: var(--bg3); color: var(--text-muted); }

.td-type { color: var(--cyan); }
.td-size, .td-time { color: var(--text-muted); text-align: right; }
.td-initiator { color: var(--text-muted); font-size: 11px; }

/* Timing bar */
.time-bar-wrapper { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.time-bar { height: 4px; border-radius: 99px; background: var(--primary); opacity: .5; min-width: 4px; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5,9,20,.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-backdrop.hidden { display: none; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideUp .2s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 16px;
}

.modal-url {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  word-break: break-all;
  line-height: 1.5;
  flex: 1;
}

.modal-close {
  background: none; border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  width: 30px; height: 30px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.modal-close:hover { border-color: var(--red); color: var(--red); }

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  padding: 0 4px;
}

.tab-btn {
  background: none; border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px; font-weight: 500;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  font-family: var(--mono);
  font-size: 12.5px;
}

/* Detail sections */
.detail-section { margin-bottom: 24px; }
.detail-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: var(--font);
}

.kv-table { width: 100%; border-collapse: collapse; }
.kv-table tr { border-bottom: 1px solid rgba(30,45,71,.4); }
.kv-table tr:last-child { border-bottom: none; }
.kv-table td {
  padding: 6px 10px;
  vertical-align: top;
  word-break: break-all;
}
.kv-table td:first-child {
  color: var(--text-muted);
  width: 38%;
  padding-right: 16px;
  font-weight: 500;
}
.kv-table td:last-child { color: var(--text); }

.kv-highlight td:first-child { color: var(--primary); }

.payload-value {
  color: var(--green);
}
.payload-empty { color: var(--text-muted); font-style: italic; }

/* JSON prettyprint */
.json-view {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
}
.json-key { color: var(--primary); }
.json-string { color: var(--green); }
.json-number { color: var(--amber); }
.json-bool { color: var(--cyan); }
.json-null { color: var(--red); }

/* ── JSON expandable sections (POST body like TikTok) ────── */
.json-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 10px;
  overflow: hidden;
}

.json-details-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary);
  background: rgba(99,102,241,.07);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.json-details-label::before {
  content: '▶';
  font-size: 9px;
  transition: transform .15s;
}
details[open] > summary.json-details-label::before {
  transform: rotate(90deg);
}

.json-details > .kv-table {
  margin: 0;
  border-top: 1px solid var(--border);
}
.json-details > .kv-table tr:last-child { border-bottom: none; }

.json-toggle-btn {
  background: var(--bg3);
  border: 1px solid var(--border-light);
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.json-toggle-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ── Utilities ───────────────────────────────────────────── */
.hidden { display: none !important; }

/* kbd shortcuts */
kbd {
  background: var(--bg3); border: 1px solid var(--border-light);
  border-radius: 4px; padding: 2px 7px; font-family: var(--mono);
  font-size: 11px; color: var(--text-dim);
}

/* ── Platform Pills (hero) ────────────────────────────────── */
.platform-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.pill {
  font-size: 12px; font-weight: 500;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text-muted); padding: 5px 12px; border-radius: 99px;
  transition: border-color .2s, color .2s;
}
.pill:hover { border-color: var(--primary); color: var(--text); }

/* Hero badge */
.hero-badge {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  background: rgba(99,102,241,.1); color: var(--primary);
  border: 1px solid rgba(99,102,241,.25);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 20px;
}

/* hint icon alignment */
.drop-hint {
  margin-top: 22px; font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.drop-hint em { font-style: normal; color: var(--cyan); }

/* ── Ad Blocks ────────────────────────────────────────────── */
.ad-block {
  width: 90%; max-width: 900px; margin: 0 auto;
  min-height: 80px; padding: 8px 0; text-align: center;
  overflow: hidden;
}
.ad-block--hero   { margin-top: 20px; }
.ad-block--inline { margin: 40px auto; }
.ad-block--search { margin: 40px auto; }
.ad-block--footer { margin: 40px auto 0; }
.ad-block--placeholder { margin-top: 32px; width: 100%; max-width: 600px; }

/* ── Tutorial Section ─────────────────────────────────────── */
.tutorial-section {
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 0 0 60px;
}

.tutorial-container {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
}

.tutorial-header {
  text-align: center;
  padding: 60px 0 48px;
}

.tutorial-badge {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  background: rgba(56,189,248,.1); color: var(--cyan);
  border: 1px solid rgba(56,189,248,.2);
  padding: 4px 14px; border-radius: 99px; margin-bottom: 18px;
}

.tutorial-title {
  font-size: 32px; font-weight: 800; letter-spacing: -.5px;
  line-height: 1.2; margin-bottom: 16px; color: var(--text);
}

.tutorial-intro {
  font-size: 15px; color: var(--text-dim); line-height: 1.7;
  max-width: 720px; margin: 0 auto;
}

/* Steps grid */
.steps-grid {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  display: flex; gap: 20px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.step-card:hover { border-color: var(--border-light); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.step-card--featured { border-color: rgba(99,102,241,.3); background: rgba(99,102,241,.04); }

.step-number {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-dark), #0284c7);
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.step-content { flex: 1; min-width: 0; }
.step-content h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text);
}
.step-content p { font-size: 14px; color: var(--text-dim); line-height: 1.65; margin-bottom: 12px; }
.step-content p:last-child { margin-bottom: 0; }
.step-content strong { color: var(--text); }

.step-img {
  width: 100%; border-radius: 10px;
  border: 1px solid var(--border-light);
  margin: 16px 0 8px;
  display: block;
}
.step-img-caption {
  font-size: 12px !important; color: var(--text-muted) !important;
  text-align: center; font-style: italic;
}

.tip-box {
  background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.2);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 13px; color: var(--text-dim); line-height: 1.6;
  margin-top: 14px;
}
.tip-box strong { color: var(--amber); }

/* ── Platform Grid (info section) ─────────────────────────── */
.info-section {
  margin-bottom: 48px;
}
.info-section h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -.4px;
  margin-bottom: 14px; color: var(--text);
}
.info-section > p {
  font-size: 14px; color: var(--text-dim); line-height: 1.7;
  margin-bottom: 28px; max-width: 780px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.platform-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
  transition: border-color .2s;
}
.platform-card:hover { border-color: var(--border-light); }
.platform-card > span { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.platform-card > div strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.platform-card > div small { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* ── FAQ Section ──────────────────────────────────────────── */
.faq-section { margin-bottom: 48px; }
.faq-section h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -.4px;
  margin-bottom: 24px; color: var(--text);
}
.faq-grid { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item[open] { border-color: rgba(99,102,241,.35); }

.faq-item summary {
  padding: 16px 20px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--text);
  list-style: none; user-select: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after {
  content: '＋'; color: var(--primary); font-size: 18px; flex-shrink: 0; margin-left: 12px;
}
.faq-item[open] summary::after { content: '－'; }

.faq-item p {
  padding: 0 20px 18px; font-size: 13.5px; color: var(--text-dim);
  line-height: 1.7;
}
.faq-item p code {
  background: var(--bg3); color: var(--cyan);
  padding: 1px 6px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px;
}

/* ── Page Footer ──────────────────────────────────────────── */
.page-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px; line-height: 1.7;
}
.footer-links { margin-top: 10px; }
.footer-links a {
  color: var(--text-muted); text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--primary); }

/* ── Results screen (hidden, shown via JS) ────────────────── */
.results-screen {
  display: flex;
  height: calc(100vh - 56px);
  position: fixed;
  top: 56px; left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--bg);
}
.results-screen.hidden { display: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .upload-title { font-size: 28px; }
  .tutorial-title { font-size: 22px; }
  .step-card { flex-direction: column; gap: 12px; }
  .steps-grid { gap: 14px; }
  .platform-grid { grid-template-columns: 1fr; }
  .tutorial-container { width: 96%; }
  .upload-hero { width: 95%; padding: 48px 0 32px; }
}
