/* ═══════════════════════════════════════════════════════════════
   SafePush.dev — Production CSS
   Aesthetic: Terminal-dark. Precision tool. Built for engineers.
   Fonts: Geist Mono (technical) + Instrument Serif (editorial contrast)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:          #0d0d0f;
  --bg-1:        #111113;
  --bg-2:        #161618;
  --bg-3:        #1c1c1f;
  --bg-4:        #222226;
  --border:      #242428;
  --border-2:    #2e2e33;
  --border-3:    #3a3a40;
  --text:        #f0f0f4;
  --text-2:      #a0a0aa;
  --text-3:      #60606a;
  --text-4:      #404048;
  --accent:      #e8ff47;
  --accent-2:    rgba(232,255,71,0.08);
  --accent-3:    rgba(232,255,71,0.15);
  --red:         #ff4d4d;
  --red-dim:     rgba(255,77,77,0.1);
  --orange:      #ff8c42;
  --orange-dim:  rgba(255,140,66,0.1);
  --yellow:      #ffd166;
  --yellow-dim:  rgba(255,209,102,0.1);
  --blue:        #4da6ff;
  --blue-dim:    rgba(77,166,255,0.1);
  --green:       #4ddb6e;
  --green-dim:   rgba(77,219,110,0.1);
  --r:           6px;
  --r-lg:        10px;
  --r-xl:        16px;
  --mono:        'Geist Mono', 'Courier New', monospace;
  --serif:       'Instrument Serif', Georgia, serif;
  --sans:        'Geist Mono', system-ui, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--mono); background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════════════
   PAGE ROUTING & VISIBILITY — CRITICAL FIX
   Ensures only one page is visible at a time. Prevents landing nav/footer from
   bleeding into app page. This guard is checked before any descendant styles.
══════════════════════════════════════════════════════════════════════════════ */

/* Default: all pages hidden */
.page {
  display: none !important;
}

/* Only .active pages are visible */
.page.active {
  display: block !important;
}

/* Extra guard: pages with .active class override non-active siblings */
#page-landing:not(.active),
#page-app:not(.active),
#page-login:not(.active),
#page-signup:not(.active) {
  display: none !important;
}

/* App page uses flex for nav + content layout */
#page-app.active {
  display: flex !important;
  flex-direction: column;
  min-height: 100vh;
}

/* Auth pages use flex for centering */
#page-login.active,
#page-signup.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

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

/* ── Typography ──────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--mono); letter-spacing: -0.03em; }
em { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* ── Scrollbar ───────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-3); border-radius: 3px; }

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--r); font-family: var(--mono);
  font-size: 13px; font-weight: 500; cursor: pointer; border: none;
  transition: all 0.15s; text-decoration: none; white-space: nowrap; letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent); color: #0a0a0b; font-weight: 600;
}
.btn-primary:hover { background: #f2ff6e; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,255,71,0.25); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--text-2); border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: var(--border-3); color: var(--text); background: var(--bg-3); }
.btn-sm { padding: 7px 13px; font-size: 12px; }
.btn-full { width: 100%; }
.btn-lg { padding: 13px 24px; font-size: 14px; }
.btn-xs { padding: 5px 10px; font-size: 11px; }
.btn-outline-hero {
  background: transparent; color: var(--text-2); border: 1px solid var(--border-2);
  font-size: 14px; padding: 11px 22px;
}
.btn-outline-hero:hover { border-color: var(--border-3); color: var(--text); background: var(--bg-2); }
.btn-outline-card {
  background: transparent; color: var(--text-2); border: 1px solid var(--border-2);
  font-size: 13px;
}
.btn-outline-card:hover { border-color: var(--border-3); color: var(--text); }
.btn-outline-sm {
  background: transparent; color: var(--text-2); border: 1px solid var(--border-2);
  font-size: 12px; padding: 8px 14px;
}
.btn-outline-sm:hover { border-color: var(--border-3); color: var(--text); }
.btn-hero { font-size: 14px; padding: 13px 24px; font-weight: 600; }

/* Ghost XS */
.btn-ghost-xs {
  background: none; border: 1px solid var(--border); color: var(--text-3);
  font-size: 11px; padding: 4px 9px; border-radius: var(--r); font-family: var(--mono);
  cursor: pointer; transition: all 0.15s; letter-spacing: -0.01em;
}
.btn-ghost-xs:hover { color: var(--text-2); border-color: var(--border-2); }

/* Link button */
.link-btn {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font-family: var(--mono); font-size: inherit; text-decoration: underline;
  text-underline-offset: 2px; padding: 0;
}
.link-btn:hover { color: #f2ff6e; }

/* Review button */
.btn-review {
  width: 100%; padding: 14px; border-radius: var(--r); background: var(--accent);
  color: #0a0a0b; font-family: var(--mono); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  letter-spacing: -0.02em;
}
.btn-review:hover { background: #f2ff6e; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,255,71,0.2); }
.btn-review:active { transform: translateY(0); }
.btn-review:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-review span { display: flex; align-items: center; gap: 8px; }

/* Auth button */
.btn-auth { padding: 12px; font-size: 14px; }

/* Loading spinner */
.spinner {
  width: 14px; height: 14px; border: 2px solid rgba(10,10,11,0.25);
  border-top-color: #0a0a0b; border-radius: 50%;
  animation: spin 0.6s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.nav {
  display: flex; align-items: center; padding: 0 40px; height: 56px;
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200;
  background: rgba(13,13,15,0.92); backdrop-filter: blur(12px);
}
.nav-logo { font-family: var(--mono); font-size: 15px; font-weight: 600; flex-shrink: 0; }
.logo-mark { color: var(--accent); }
.logo-name { color: var(--text); }
.logo-tld { color: var(--text-3); }
.nav-links { display: flex; gap: 4px; margin-left: 32px; flex: 1; }
.nav-link {
  font-size: 13px; color: var(--text-3); text-decoration: none; padding: 6px 10px;
  border-radius: var(--r); transition: color 0.15s;
}
.nav-link:hover { color: var(--text-2); }
.nav-actions { display: flex; gap: 8px; }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 80px 40px 60px;
  max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden;
}
.hero-noise {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--border-2);
  padding: 5px 12px; border-radius: 100px; font-size: 11px;
  color: var(--text-3); margin-bottom: 28px; letter-spacing: 0.02em;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
.eyebrow-sep { color: var(--border-3); }
@keyframes pulse-dot { 0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(232,255,71,0); } 50% { opacity:0.7; box-shadow:0 0 0 4px rgba(232,255,71,0.1); } }

.hero-title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.04em; margin-bottom: 20px;
}
.hero-sub { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.meta-item svg { color: var(--green); flex-shrink: 0; }

/* ── Terminal ────────────────────────────────────────────────────────────────── */
.terminal-wrap { position: relative; z-index: 1; }
.terminal-wrap::before {
  content: ''; position: absolute; inset: -20px -20px -40px -20px; z-index: -1;
  background: radial-gradient(ellipse at 60% 40%, rgba(232,255,71,0.04) 0%, transparent 70%);
}
.terminal {
  background: var(--bg-1); border: 1px solid var(--border-2); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02);
  animation: terminal-in 0.6s ease-out;
}
@keyframes terminal-in { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }
.terminal-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.t-dots { display: flex; gap: 5px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-red { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green { background: #28c840; }
.t-title { font-size: 11px; color: var(--text-3); flex: 1; text-align: center; }
.t-badge {
  font-size: 9px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--green); background: var(--green-dim); border: 1px solid rgba(77,219,110,0.2);
  padding: 2px 6px; border-radius: 3px;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
.terminal-body { padding: 16px; font-size: 12px; }
.t-file-line { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.t-label { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-4); }
.t-label.ml { margin-left: 12px; }
.t-value { color: var(--accent); font-size: 12px; }
.t-score-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.t-score-block { text-align: center; flex-shrink: 0; }
.t-score-num { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.t-score-num.danger { color: var(--red); }
.t-score-num.ok { color: var(--yellow); }
.t-score-num.good { color: var(--green); }
.t-score-label { font-size: 9px; color: var(--text-3); margin-top: 2px; line-height: 1.3; letter-spacing: 0.04em; }
.t-summary { font-size: 12px; color: var(--text-2); line-height: 1.6; }
.t-divider { height: 1px; background: var(--border); margin-bottom: 12px; }
.t-issues { display: flex; flex-direction: column; gap: 6px; }
.t-issue {
  display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px;
  border-radius: var(--r); border-left: 2px solid;
  animation: issue-in 0.4s ease-out both;
  animation-delay: var(--delay, 0s);
}
@keyframes issue-in { from { opacity:0; transform: translateX(-8px); } to { opacity:1; transform: translateX(0); } }
.t-issue:has(.critical) { background: var(--red-dim); border-left-color: var(--red); }
.t-issue:has(.high) { background: var(--orange-dim); border-left-color: var(--orange); }
.t-issue:has(.medium) { background: var(--yellow-dim); border-left-color: var(--yellow); }
.t-issue.blurred { filter: blur(3px); opacity: 0.5; user-select: none; }
.t-sev {
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 5px;
  border-radius: 3px; flex-shrink: 0; margin-top: 2px;
}
.t-sev.critical { color: var(--red); background: var(--red-dim); }
.t-sev.high { color: var(--orange); background: var(--orange-dim); }
.t-sev.medium { color: var(--yellow); background: var(--yellow-dim); }
.t-issue-title { font-size: 12px; color: var(--text); margin-bottom: 2px; }
.t-issue-fix { font-size: 11px; color: var(--text-3); }
.t-issue-fix code { color: var(--accent); background: var(--accent-2); padding: 0 4px; border-radius: 3px; }
.t-blur-cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding: 8px 10px; background: var(--bg-3);
  border-radius: var(--r); font-size: 11px; color: var(--text-3);
}

/* ══════════════════════════════════════════════════
   FILE TYPES STRIP
══════════════════════════════════════════════════ */
.filetypes-section {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 40px;
}
.filetypes-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filetypes-label { font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; flex-shrink: 0; }
.filetypes-list { display: flex; gap: 8px; flex-wrap: wrap; }
.filetype-chip {
  font-size: 12px; color: var(--text-3); background: var(--bg-2);
  border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px;
  transition: all 0.15s;
}
.filetype-chip:hover { border-color: var(--border-2); color: var(--text-2); }

/* ══════════════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════════════ */
.section-inner { max-width: 900px; margin: 0 auto; padding: 80px 40px; }
.section-eyebrow {
  font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 600;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.15; margin-bottom: 16px;
}
.section-sub { font-size: 14px; color: var(--text-2); margin-bottom: 32px; }

/* ══════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════ */
.how-section { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0; margin-top: 48px; }
.step { padding: 0 8px; }
.step-arrow { color: var(--text-4); font-size: 20px; padding-top: 8px; }
.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent);
  margin-bottom: 12px;
}
.step-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.step-body p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* ══════════════════════════════════════════════════
   DEMO SECTION
══════════════════════════════════════════════════ */
.demo-section { padding: 0; }
.guest-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-2); border: 1px solid var(--accent-3);
  padding: 6px 14px; border-radius: 100px; font-size: 12px; color: var(--accent);
  margin-bottom: 24px;
}
.guest-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
.guest-badge.exhausted { color: var(--text-3); border-color: var(--border); animation: none; }

.demo-card {
  background: var(--bg-1); border: 1px solid var(--border-2);
  border-radius: var(--r-xl); overflow: hidden;
}
.demo-card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.demo-selectors { display: flex; gap: 16px; flex-wrap: wrap; }
.demo-editor-btns { display: flex; gap: 6px; flex-shrink: 0; }

/* ── Form elements ────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.inline { flex-direction: row; align-items: center; gap: 10px; }
.form-group label { font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; white-space: nowrap; }
.optional { color: var(--text-4); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 8px 10px;
  color: var(--text); font-family: var(--mono); font-size: 13px;
  outline: none; transition: border-color 0.15s; width: 100%;
  letter-spacing: -0.01em;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-2); }
input::placeholder, textarea::placeholder { color: var(--text-4); }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2360606a' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
select option { background: var(--bg-3); }
.form-group.inline input, .form-group.inline select {
  width: auto; min-width: 140px;
}

/* ── Editor ──────────────────────────────────────────────────────────────────── */
.editor-wrap { display: flex; position: relative; }
.editor-gutter {
  min-width: 36px; background: var(--bg-2); border-right: 1px solid var(--border);
  padding: 14px 8px; font-size: 11px; color: var(--text-4);
  line-height: 1.7; text-align: right; font-family: var(--mono); user-select: none;
  letter-spacing: 0; flex-shrink: 0;
}
.code-editor {
  flex: 1; min-height: 260px; resize: vertical; padding: 14px;
  background: var(--bg-2); border: none; border-radius: 0;
  color: var(--text); font-family: var(--mono); font-size: 12.5px;
  line-height: 1.7; tab-size: 2; outline: none;
  letter-spacing: -0.01em;
}
.code-editor:focus { box-shadow: none; border: none; }

.demo-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2); min-height: 36px; gap: 12px;
}
.char-count { font-size: 11px; color: var(--text-4); }
.char-count.warning { color: var(--yellow); }
.char-count.danger { color: var(--red); }

.signup-nudge {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2);
}
.nudge-link {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font-family: var(--mono); font-size: 12px; text-decoration: underline;
  text-underline-offset: 2px; padding: 0;
}
.nudge-link:hover { color: #f2ff6e; }

/* ══════════════════════════════════════════════════
   RESULT PANEL
══════════════════════════════════════════════════ */
.result-panel { padding: 24px 20px; }
.result-panel-divider {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.result-panel-divider::before, .result-panel-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.result-panel-divider span { font-size: 11px; color: var(--text-3); white-space: nowrap; letter-spacing: 0.04em; }

.result-overview { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; }

/* Score Ring */
.score-ring-wrap { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.score-ring { width: 80px; height: 80px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--bg-3); stroke-width: 6; }
.ring-fill { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dasharray 0.6s ease; }
.score-ring-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-num { font-size: 20px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.score-unit { font-size: 9px; color: var(--text-3); }
.result-label { font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; margin-bottom: 6px; text-transform: uppercase; }
.result-summary-text { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.cached-tag { font-size: 10px; color: var(--text-3); background: var(--bg-3); border: 1px solid var(--border); padding: 2px 7px; border-radius: 3px; margin-top: 8px; display: inline-block; }

/* Quick wins */
.quick-wins {
  background: var(--accent-2); border: 1px solid var(--accent-3);
  border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 20px;
}
.qw-header { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.qw-list { padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.qw-list li { font-size: 12px; color: var(--text); }

/* Issues */
.result-issues-wrap { margin-bottom: 20px; }
.result-issues-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.result-issues-header h3 { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.issues-note { font-size: 11px; color: var(--text-3); font-weight: 400; }
.sev-filters { display: flex; gap: 4px; }
.sev-btn {
  padding: 4px 10px; border-radius: var(--r); border: 1px solid var(--border);
  background: transparent; color: var(--text-3); font-size: 11px; font-family: var(--mono);
  cursor: pointer; transition: all 0.15s;
}
.sev-btn:hover, .sev-btn.active { border-color: var(--border-2); color: var(--text); background: var(--bg-3); }
.sev-btn.critical.active { color: var(--red); border-color: rgba(255,77,77,0.3); }
.sev-btn.high.active { color: var(--orange); border-color: rgba(255,140,66,0.3); }
.sev-btn.medium.active { color: var(--yellow); border-color: rgba(255,209,102,0.3); }
.sev-btn.low.active { color: var(--blue); border-color: rgba(77,166,255,0.3); }

.issues-list { display: flex; flex-direction: column; gap: 8px; }
.issue-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  border-left: 3px solid; padding: 12px 14px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.issue-card:hover { border-color: var(--border-2); background: var(--bg-3); }
.issue-card[data-sev="critical"] { border-left-color: var(--red); }
.issue-card[data-sev="high"]     { border-left-color: var(--orange); }
.issue-card[data-sev="medium"]   { border-left-color: var(--yellow); }
.issue-card[data-sev="low"]      { border-left-color: var(--blue); }
.issue-card[data-sev="info"]     { border-left-color: var(--text-4); }
.issue-card-header { display: flex; align-items: flex-start; gap: 9px; }
.issue-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 6px;
  border-radius: 3px; white-space: nowrap; margin-top: 2px; flex-shrink: 0;
}
.sev-critical { color: var(--red);    background: var(--red-dim); }
.sev-high     { color: var(--orange); background: var(--orange-dim); }
.sev-medium   { color: var(--yellow); background: var(--yellow-dim); }
.sev-low      { color: var(--blue);   background: var(--blue-dim); }
.sev-info     { color: var(--text-3); background: var(--bg-3); }
.issue-card-title { font-size: 13px; font-weight: 500; color: var(--text); flex: 1; letter-spacing: -0.01em; }
.issue-card-body { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.issue-card.expanded .issue-card-body { display: block; }
.issue-desc { font-size: 12px; color: var(--text-2); line-height: 1.65; margin-bottom: 10px; }
.issue-fix-label { font-size: 10px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.issue-fix { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); white-space: pre-wrap; line-height: 1.65; overflow-x: auto; }
.issue-line { font-size: 11px; color: var(--text-3); margin-top: 6px; }

.free-gate {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 14px; background: var(--bg-2); border: 1px dashed var(--border-2);
  border-radius: var(--r); font-size: 12px; color: var(--text-2); margin-top: 10px;
}
.free-gate svg { flex-shrink: 0; color: var(--text-3); }

/* Positives */
.positives { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; }
.positives-header { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green); margin-bottom: 10px; }
.positives-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.positives-list li { font-size: 12px; color: var(--text-2); padding-left: 14px; position: relative; }
.positives-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); }

/* Signup CTA in results */
.result-signup-cta {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-2); border: 1px solid var(--accent-3);
  border-radius: var(--r-lg); padding: 16px; gap: 16px; flex-wrap: wrap;
  margin-top: 20px;
}
.signup-cta-left { display: flex; flex-direction: column; gap: 3px; }
.signup-cta-left strong { font-size: 13px; color: var(--text); }
.signup-cta-left span { font-size: 12px; color: var(--text-3); }

/* Empty state */
.empty-state { text-align: center; padding: 32px 20px; color: var(--text-3); font-size: 13px; }

/* ══════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════ */
.pricing-section { border-top: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; margin-top: 40px; }
.pricing-card {
  background: var(--bg-1); border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 24px; position: relative; transition: border-color 0.2s;
}
.pricing-card:hover { border-color: var(--border-3); }
.pricing-card.featured { border-color: var(--accent); background: var(--bg-2); }
.pc-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0a0a0b; font-size: 10px; font-weight: 700;
  padding: 2px 10px; border-radius: 100px; letter-spacing: 0.04em;
}
.pc-header { margin-bottom: 20px; }
.pc-name { font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.pc-price { font-size: 36px; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 6px; }
.pc-price span { font-size: 14px; font-weight: 400; color: var(--text-3); }
.pc-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pc-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }

.audit-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-1); border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 18px 24px; flex-wrap: wrap;
}
.audit-strip-left { display: flex; flex-direction: column; gap: 3px; }
.audit-label { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; }
.audit-strip-left strong { font-size: 14px; color: var(--text); }
.audit-strip-left span { font-size: 12px; color: var(--text-3); }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: 32px 40px; }
.footer-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.footer-logo { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.footer-tag { font-size: 12px; color: var(--text-3); flex: 1; }
.footer-links { display: flex; gap: 4px; }
.footer-link { background: none; border: none; color: var(--text-3); font-size: 12px; font-family: var(--mono); cursor: pointer; padding: 5px 8px; border-radius: var(--r); transition: color 0.15s; }
.footer-link:hover { color: var(--text-2); }

/* ══════════════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  background-image: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,255,71,0.04) 0%, transparent 100%);
}
.auth-wrap { width: 100%; max-width: 400px; padding: 24px; position: relative; }
.auth-back {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  color: var(--text-3); font-size: 12px; font-family: var(--mono); cursor: pointer;
  margin-bottom: 24px; padding: 0; transition: color 0.15s;
}
.auth-back:hover { color: var(--text-2); }
.auth-card {
  background: var(--bg-1); border: 1px solid var(--border-2);
  border-radius: var(--r-xl); padding: 32px;
}
.auth-logo { font-family: var(--mono); font-size: 16px; font-weight: 600; margin-bottom: 28px; cursor: pointer; display: block; }
.auth-title { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.auth-error {
  background: var(--red-dim); border: 1px solid rgba(255,77,77,0.2);
  border-radius: var(--r); padding: 9px 12px; font-size: 13px; color: var(--red);
  margin-bottom: 14px;
}
.auth-fields { display: flex; flex-direction: column; gap: 14px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 12px; color: var(--text-3); }
.field-group input { padding: 10px 12px; }
.auth-fine { font-size: 11px; color: var(--text-4); text-align: center; }
.auth-switch { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 16px; }

/* ══════════════════════════════════════════════════
   APP DASHBOARD — CRITICAL FIXES
══════════════════════════════════════════════════ */

/* App page container */
#page-app {
  display: none;
  flex-direction: column;
  min-height: 100vh;
}

#page-app.active {
  display: flex;
}

/* App nav — completely separate from landing nav */
.app-nav {
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 52px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.app-nav-logo {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.app-tabs {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 3px;
}

.app-tab {
  padding: 5px 16px;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.app-tab.active {
  background: var(--bg-4);
  color: var(--text);
}

/* App nav right — plan tag + email + logout */
.app-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.plan-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  color: var(--text-3);
}

.plan-tag.starter {
  color: var(--green);
  border-color: rgba(77,219,110,0.2);
}

.plan-tag.pro {
  color: var(--accent);
  border-color: var(--accent-3);
}

.plan-tag.solo {
  color: var(--accent);
  border-color: var(--accent-3);
}

.plan-tag.team {
  color: var(--blue);
  border-color: rgba(77,166,255,0.2);
}

.user-email {
  font-size: 12px;
  color: var(--text-3);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
}

.tab-content.active {
  display: block;
}

.app-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px;
}

.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.app-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.app-quota {
  font-size: 12px;
  color: var(--text-3);
}

.upgrade-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--accent-2);
  border: 1px solid var(--accent-3);
  padding: 7px 12px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.upgrade-pill button {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.upgrade-pill button:hover {
  text-decoration: underline;
}

.scan-card {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.scan-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.app-editor-btns {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.scan-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 7px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.scan-card .btn-review {
  border-radius: 0 0 calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px);
}

/* History */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.15s;
  cursor: default;
}

.history-item:hover {
  border-color: var(--border-2);
}

.history-score {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid;
  flex-shrink: 0;
}

.history-info {
  flex: 1;
  min-width: 0;
}

.history-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-meta {
  font-size: 11px;
  color: var(--text-3);
}

.history-type {
  font-size: 10px;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}

.result-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hybrid-tag {
  font-size: 10px;
  color: #a78bfa;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  padding: 2px 7px;
  border-radius: 3px;
}

.report-btn-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: all 0.15s;
}

.modal-close-btn:hover {
  color: var(--text);
  border-color: var(--border-2);
}

.modal-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
}

/* Signup Wall */
.wall-card {
  position: relative;
  z-index: 1;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.wall-icon-wrap {
  margin-bottom: 20px;
}

.wall-card h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.wall-card p {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.6;
}

.wall-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.wall-perk {
  font-size: 12px;
  color: var(--text-2);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 10px;
  text-align: left;
}

.wall-login {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 14px;
}

/* Upgrade card */
.upgrade-card {
  position: relative;
  z-index: 1;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 28px;
  width: 100%;
  max-width: 900px;
}

.upgrade-card h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.upgrade-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.upgrade-plan {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}

.upgrade-plan.featured {
  border-color: var(--accent);
}

.up-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.up-name {
  font-size: 15px;
  font-weight: 700;
}

.up-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.up-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.up-features li {
  font-size: 12px;
  color: var(--text-2);
  padding-left: 14px;
  position: relative;
}

.up-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
}

.upgrade-audit {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border-radius: var(--r);
  padding: 10px 12px;
  flex-wrap: wrap;
}

.upgrade-audit strong {
  color: var(--text-2);
}

/* ══════════════════════════════════════════════════
   GITHUB SCANNER STYLES
══════════════════════════════════════════════════ */

.github-scan-card {
  padding: 20px;
}

.github-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 8px 8px 8px 14px;
}

.github-icon {
  color: var(--text-3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.github-url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 4px 0;
}

.github-url-input::placeholder {
  color: var(--text-4);
}

.github-url-input:focus {
  box-shadow: none;
}

.github-examples {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-3);
  flex-wrap: wrap;
}

.github-example-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: 11px;
  font-family: var(--mono);
  padding: 3px 8px;
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.15s;
}

.github-example-btn:hover {
  color: var(--accent);
  border-color: var(--accent-3);
}

.github-files-result {
  margin-top: 20px;
}

.github-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.github-repo-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.github-branch-tag {
  font-size: 11px;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 100px;
  font-family: var(--mono);
}

.github-files-found {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.github-limit-note {
  color: var(--text-3);
  font-size: 12px;
}

.github-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.github-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.1s;
}

.github-file-item:hover {
  border-color: var(--accent);
  background: rgba(232,255,71,0.04);
}

.github-file-item.locked {
  opacity: 0.5;
  cursor: default;
}

.github-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.github-file-type-badge {
  font-size: 10px;
  font-weight: 700;
  color: #0a0a0b;
  background: var(--accent);
  border: 1px solid var(--accent-3);
  padding: 3px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}

.github-file-path {
  font-size: 12px;
  color: var(--text-2);
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════
   COPY FIX BUTTON
══════════════════════════════════════════════════ */

.issue-fix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.copy-fix-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: 11px;
  font-family: var(--mono);
  padding: 3px 8px;
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.15s;
}

.copy-fix-btn:hover {
  color: var(--text-2);
  border-color: var(--border-2);
}

/* ══════════════════════════════════════════════════
   CREDIBILITY STRIP
══════════════════════════════════════════════════ */

.credibility-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  background: var(--bg-1);
}

.credibility-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cred-item {
  text-align: center;
  padding: 0 32px;
}

.cred-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.cred-label {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

.cred-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   ISSUE REFERENCE BADGE
══════════════════════════════════════════════════ */

.issue-ref-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(77,166,255,0.2);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE DESIGN
══════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 40px;
  }
  .terminal-wrap {
    order: -1;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-arrow {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .filetypes-section {
    padding: 14px 20px;
  }
  .section-inner {
    padding: 48px 20px;
  }
}

@media (max-width: 768px) {
  .credibility-inner {
    gap: 16px;
  }
  .cred-item {
    padding: 0 16px;
  }
  .cred-divider {
    display: none;
  }
  .github-input-wrap {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .app-nav {
    padding: 0 16px;
  }
  .app-nav-right {
    display: none;
  }
  .app-container {
    padding: 20px 16px;
  }
  .auth-card {
    padding: 24px 20px;
  }
  .upgrade-plans {
    grid-template-columns: 1fr;
  }
  .wall-perks {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-outline-hero,
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
  .demo-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
  .audit-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}