/* VisualChanger - Main Stylesheet */

/* ─── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #F3F4F6;
    color: #1F2937;
    line-height: 1.6;
    min-height: 100vh;
}
a { color: #4F46E5; text-decoration: none; }
a:hover { color: #4338CA; }
img { max-width: 100%; height: auto; }

/* ─── Layout ─────────────────────────────────────────────────────────── */
.app-container-top { min-height: calc(100vh - 64px); padding-top: 64px; }
.main-content-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    min-height: calc(100vh - 64px);
}

/* ─── App Navbar (Authenticated) ─────────────────────────────────────── */
.app-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #1E1B4B;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.app-navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 8px;
}
.app-navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 16px;
    flex-shrink: 0;
}
.app-navbar-logo .logo-icon { font-size: 24px; color: #818CF8; }
.app-navbar-logo .logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.app-navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}
.app-navbar-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #C7D2FE;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.app-navbar-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.app-navbar-links a.active { background: rgba(79,70,229,0.3); color: #fff; }
.app-navbar-links a .nav-icon { font-size: 14px; }
.app-navbar-links a .nav-badge {
    background: #EF4444;
    color: #fff;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 2px;
}
.app-navbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.app-navbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.app-navbar-user:hover { background: rgba(255,255,255,0.08); }
.nav-avatar {
    width: 32px;
    height: 32px;
    background: #4F46E5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}
.nav-username { font-size: 14px; font-weight: 500; color: #E0E7FF; }
.nav-caret { font-size: 10px; color: #A5B4FC; }
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: 1px solid #E5E7EB;
    min-width: 240px;
    overflow: hidden;
    z-index: 200;
}
.app-navbar-user.open .nav-dropdown { display: block; }
.nav-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #F3F4F6;
    background: #F9FAFB;
}
.nav-dropdown-name { font-size: 14px; font-weight: 600; color: #111827; }
.nav-dropdown-email { font-size: 12px; color: #6B7280; margin-top: 2px; }
.nav-dropdown-plan { font-size: 11px; color: #4F46E5; font-weight: 500; margin-top: 4px; }
.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #374151;
    transition: background 0.15s;
    text-decoration: none;
}
.nav-dropdown a:hover { background: #F3F4F6; color: #111827; }
.nav-dropdown a .nav-icon { font-size: 14px; width: 18px; text-align: center; }
.nav-dropdown-divider { height: 1px; background: #F3F4F6; margin: 4px 0; }
.nav-dropdown-logout { color: #DC2626 !important; }
.nav-dropdown-logout:hover { background: #FEF2F2 !important; }

/* Mobile toggle (hidden on desktop) */
.app-navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #C7D2FE;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.app-navbar-mobile {
    display: none;
    flex-direction: column;
    background: #1E1B4B;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
}
.app-navbar-mobile a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: #C7D2FE;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}
.app-navbar-mobile a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.app-navbar-mobile a.active { color: #fff; background: rgba(79,70,229,0.2); }
.app-navbar.mobile-open .app-navbar-mobile { display: flex; }

/* ─── Landing Navbar ─────────────────────────────────────────────────── */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(30, 27, 75, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.landing-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 12px;
}
.landing-navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 24px;
}
.landing-navbar-logo .logo-icon { font-size: 24px; color: #818CF8; }
.landing-navbar-logo .logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.landing-navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.landing-navbar-links a {
    padding: 8px 16px;
    color: #C7D2FE;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}
.landing-navbar-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.landing-navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-ghost {
    background: transparent;
    color: #C7D2FE;
    border: 1px solid transparent;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }
.landing-navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #C7D2FE;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.landing-navbar-mobile {
    display: none;
    flex-direction: column;
    background: rgba(30, 27, 75, 0.98);
    padding: 8px 0;
}
.landing-navbar-mobile a {
    padding: 12px 24px;
    color: #C7D2FE;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}
.landing-navbar-mobile a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.landing-navbar.mobile-open .landing-navbar-mobile { display: flex; }
.top-bar {
    background: #fff;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 50;
}
.top-bar h2 { font-size: 20px; font-weight: 700; color: #111827; }
.top-bar-actions { display: flex; align-items: center; gap: 12px; }
.content-area { padding: 32px; }

/* ─── Cards ──────────────────────────────────────────────────────────── */
.card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
}
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h3 { font-size: 16px; font-weight: 600; }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid #F3F4F6; background: #F9FAFB; }

/* ─── Stat Cards ─────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #E5E7EB;
}
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.stat-card .stat-icon.blue { background: #EEF2FF; color: #4F46E5; }
.stat-card .stat-icon.green { background: #ECFDF5; color: #059669; }
.stat-card .stat-icon.amber { background: #FFFBEB; color: #D97706; }
.stat-card .stat-icon.red { background: #FEF2F2; color: #DC2626; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: #111827; line-height: 1.2; }
.stat-card .stat-label { font-size: 13px; color: #6B7280; margin-top: 4px; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: #4F46E5; color: #fff; }
.btn-primary:hover { background: #4338CA; color: #fff; }
.btn-secondary { background: #fff; color: #374151; border-color: #D1D5DB; }
.btn-secondary:hover { background: #F9FAFB; }
.btn-danger { background: #DC2626; color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }
.btn-success { background: #059669; color: #fff; }
.btn-success:hover { background: #047857; color: #fff; }
.btn-warning { background: #D97706; color: #fff; }
.btn-warning:hover { background: #B45309; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-icon { padding: 8px; width: 36px; height: 36px; justify-content: center; }
.btn-group { display: flex; gap: 8px; }

/* ─── Forms ──────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
    color: #1F2937;
}
.form-control:focus { outline: none; border-color: #4F46E5; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-control::placeholder { color: #9CA3AF; }
select.form-control { appearance: auto; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-help { font-size: 12px; color: #6B7280; margin-top: 4px; }
.form-error { font-size: 12px; color: #DC2626; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Alerts / Flash Messages ────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ─── Tables ─────────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6B7280;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}
table td { padding: 14px 16px; border-bottom: 1px solid #F3F4F6; font-size: 14px; }
table tr:hover td { background: #F9FAFB; }
table tr:last-child td { border-bottom: none; }

/* ─── Badges / Status ────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.badge-active { background: #ECFDF5; color: #059669; }
.badge-paused { background: #F3F4F6; color: #6B7280; }
.badge-error { background: #FEF2F2; color: #DC2626; }
.badge-broken { background: #FEF2F2; color: #DC2626; }
.badge-info { background: #EFF6FF; color: #3B82F6; }
.badge-warning { background: #FFFBEB; color: #D97706; }
.badge-critical { background: #FEF2F2; color: #DC2626; }

/* ─── Website Card Grid ──────────────────────────────────────────────── */
.website-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.website-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s;
    overflow: hidden;
}
.website-card:hover { border-color: #C7D2FE; box-shadow: 0 4px 12px rgba(79,70,229,0.08); }
.wc-thumbnail {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #F3F4F6;
    border-bottom: 1px solid #E5E7EB;
    position: relative;
    text-decoration: none;
}
.wc-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}
.wc-thumbnail:hover img { transform: scale(1.03); }
.wc-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    gap: 6px;
}
.wc-thumbnail-placeholder span { font-size: 36px; }
.wc-thumbnail-placeholder small { font-size: 12px; }
.website-card .wc-header { padding: 16px 20px 12px; }
.website-card .wc-header h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.website-card .wc-header .wc-url { font-size: 13px; color: #6B7280; word-break: break-all; }
.website-card .wc-body { padding: 12px 20px; }
.website-card .wc-stats { display: flex; gap: 24px; }
.website-card .wc-stat .wc-stat-value { font-size: 18px; font-weight: 700; color: #111827; }
.website-card .wc-stat .wc-stat-label { font-size: 12px; color: #6B7280; }
.website-card .wc-footer { padding: 12px 20px; background: #F9FAFB; border-top: 1px solid #F3F4F6; display: flex; justify-content: space-between; align-items: center; }

/* ─── Screenshot Preview ─────────────────────────────────────────────── */
.screenshot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.screenshot-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
}
.screenshot-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-bottom: 1px solid #E5E7EB;
}
.screenshot-card .sc-info { padding: 14px 16px; }
.screenshot-card .sc-info .sc-date { font-size: 13px; color: #6B7280; }
.screenshot-card .sc-info .sc-status { font-size: 12px; margin-top: 4px; }

/* ─── Diff Viewer ────────────────────────────────────────────────────── */
.diff-viewer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.diff-viewer .diff-panel { text-align: center; }
.diff-viewer .diff-panel img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #E5E7EB;
}
.diff-viewer .diff-panel h4 { margin-bottom: 8px; font-size: 14px; color: #6B7280; }
.diff-percent-bar { height: 8px; background: #E5E7EB; border-radius: 4px; overflow: hidden; margin: 8px 0; }
.diff-percent-bar .fill { height: 100%; border-radius: 4px; transition: width 0.3s ease; }
.diff-percent-bar .fill.low { background: #059669; }
.diff-percent-bar .fill.medium { background: #D97706; }
.diff-percent-bar .fill.high { background: #DC2626; }

/* ─── Empty States ───────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: #374151; margin-bottom: 8px; }
.empty-state p { color: #6B7280; font-size: 14px; margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ─── Modal ──────────────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6B7280;
    padding: 4px;
}
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #E5E7EB; display: flex; justify-content: flex-end; gap: 8px; }

/* ─── Loading ────────────────────────────────────────────────────────── */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #E5E7EB;
    border-top: 3px solid #4F46E5;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 300;
    align-items: center;
    justify-content: center;
}
.loading-overlay.active { display: flex; }

/* ─── Alert Timeline ─────────────────────────────────────────────────── */
.alert-timeline { list-style: none; }
.alert-timeline li {
    padding: 16px 20px;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.alert-timeline li:last-child { border-bottom: none; }
.alert-timeline .at-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.alert-timeline .at-icon.visual { background: #EEF2FF; color: #4F46E5; }
.alert-timeline .at-icon.broken { background: #FEF2F2; color: #DC2626; }
.alert-timeline .at-icon.recovered { background: #ECFDF5; color: #059669; }
.alert-timeline .at-icon.content { background: #FFFBEB; color: #D97706; }
.alert-timeline .at-content { flex: 1; }
.alert-timeline .at-title { font-weight: 600; font-size: 14px; color: #111827; }
.alert-timeline .at-message { font-size: 13px; color: #6B7280; margin-top: 2px; }
.alert-timeline .at-time { font-size: 12px; color: #9CA3AF; margin-top: 4px; }
.alert-timeline li.unread { background: #F0F0FF; }

/* ─── Auth Pages ─────────────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
    padding: 20px;
}
.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 32px; }
.auth-card .auth-logo h1 { font-size: 28px; color: #4F46E5; }
.auth-card .auth-logo p { color: #6B7280; font-size: 14px; margin-top: 4px; }
.auth-card h2 { font-size: 22px; margin-bottom: 24px; text-align: center; color: #111827; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: #6B7280; }

/* ─── Landing Page ───────────────────────────────────────────────────── */
.landing-hero {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
    color: #fff;
    padding: 120px 40px 80px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.landing-hero h1 { font-size: 48px; font-weight: 800; max-width: 700px; line-height: 1.1; margin-bottom: 20px; }
.landing-hero p { font-size: 20px; color: #C7D2FE; max-width: 600px; margin-bottom: 40px; }
.landing-hero .btn { font-size: 18px; padding: 16px 40px; }
.landing-features {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-features h2 { text-align: center; font-size: 32px; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.feature-card {
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}
.feature-card .fc-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: #6B7280; font-size: 14px; line-height: 1.7; }
.landing-footer { padding: 40px; text-align: center; color: #6B7280; border-top: 1px solid #E5E7EB; }

/* ─── Page List ──────────────────────────────────────────────────────── */
.page-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.2s;
}
.page-list-item:hover { background: #F9FAFB; }
.page-list-item:last-child { border-bottom: none; }
.page-list-item .pli-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    object-position: top;
    border: 1px solid #E5E7EB;
    flex-shrink: 0;
    background: #F3F4F6;
}
.page-list-item .pli-info { flex: 1; min-width: 0; }
.page-list-item .pli-info h4 { font-size: 14px; font-weight: 600; }
.page-list-item .pli-info .pli-url { font-size: 13px; color: #6B7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-list-item .pli-meta { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.page-list-item .pli-diff { font-size: 13px; font-weight: 600; }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    /* App navbar: hide desktop links and user menu, show hamburger */
    .app-navbar-links { display: none; }
    .app-navbar-right { display: none; }
    .app-navbar-toggle { display: block; }

    /* Landing navbar: hide desktop links and actions, show hamburger */
    .landing-navbar-links { display: none; }
    .landing-navbar-actions { display: none; }
    .landing-navbar-toggle { display: block; }

    .diff-viewer { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .website-grid { grid-template-columns: 1fr; }
    .content-area { padding: 20px 16px; }
    .auth-card { padding: 32px 24px; }
    .landing-hero h1 { font-size: 32px; }
    .landing-hero { padding-top: 100px; }
    .features-grid { grid-template-columns: 1fr; }
    .top-bar { padding: 12px 16px; }
    .top-bar h2 { font-size: 18px; }
}
