*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #64748b;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border: #e2e8f0;
    --error: #ef4444;
    --error-light: #fef2f2;
    --success: #22c55e;
    --success-light: #f0fdf4;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    --transition: 0.2s ease;
    --dash-bg: #0a0a12;
    --dash-surface: #11111d;
    --dash-border: #1e1e30;
    --dash-text: #e2e2f0;
    --dash-muted: #6b6b82;
    --dash-primary: #facc15;
    --dash-green: #22c55e;
    --dash-red: #ef4444;
    --dash-blue: #38bdf8;
    --dash-card-radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================================================================
   Header
   ================================================================ */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--primary-hover);
}

.site-header nav ul {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
}

.site-header nav a,
.site-header nav .btn-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}

.site-header nav a:hover,
.site-header nav .btn-link:hover {
    background: var(--bg);
    color: var(--primary);
}

/* ================================================================
   Footer
   ================================================================ */

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    margin-top: auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ================================================================
   Hero — Landing Page
   ================================================================ */

.hero {
    text-align: center;
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #eef2ff 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero .highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    width: auto;
    min-width: 160px;
}

/* ================================================================
   Features Section
   ================================================================ */

.features {
    padding: 5rem 1.5rem;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: left;
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================================================
   How It Works
   ================================================================ */

.how-it-works {
    padding: 5rem 1.5rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================================================
   CTA Section
   ================================================================ */

.cta {
    text-align: center;
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: var(--primary);
    width: auto;
    min-width: 200px;
}

.cta .btn-primary:hover {
    background: var(--primary-hover);
}

/* ================================================================
   Auth Pages
   ================================================================ */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 1.5rem;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ================================================================
   Forms
   ================================================================ */

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--surface);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-row .btn {
    flex-shrink: 0;
    margin-bottom: 0;
}

/* ================================================================
   Buttons
   ================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition), transform 0.1s, box-shadow var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--text-muted);
}

.btn-link {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    display: inline-flex;
    align-items: center;
}

.btn-link:hover {
    background: var(--bg);
    color: var(--primary);
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

.btn-danger {
    background: var(--error);
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

/* ================================================================
   Alerts
   ================================================================ */

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.alert-error {
    background: var(--error-light);
    border: 1px solid #fecaca;
    color: var(--error);
}

.alert-success {
    background: var(--success-light);
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.alert ul {
    list-style: none;
    margin: 0;
}

/* ================================================================
   Dashboard
   ================================================================ */

.dashboard {
    padding: 0;
    margin: 0;
    width: 100%;
    --dash-bg: #0a0a12;
    --dash-surface: #11111d;
    --dash-border: #1e1e30;
    --dash-text: #e2e2f0;
    --dash-muted: #6b6b82;
    --dash-primary: #facc15;
    --dash-green: #22c55e;
    --dash-red: #ef4444;
    --dash-blue: #38bdf8;
    --dash-card-radius: 12px;
    background: var(--dash-bg);
    color: var(--dash-text);
}

body:has(.dashboard) {
    margin: 0;
    padding: 0;
    background: var(--dash-bg, #0a0a12);
    width: 100%;
    min-height: 100vh;
}
body:has(.dashboard) main {
    margin: 0;
    padding: 0;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    padding: 1.25rem 1.5rem 0;
    margin-bottom: 0.75rem;
}

.dashboard-header h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--dash-text), var(--dash-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.1rem;
}

.welcome-text {
    color: var(--dash-muted);
    font-size: 0.85rem;
}

/* ================================================================
   Dashboard — News Ticker
   ================================================================ */

.dash-ticker {
    background: #0d0d1a;
    border-bottom: 1px solid var(--dash-border);
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.dash-ticker-track {
    display: flex;
    gap: 2.5rem;
    animation: ticker-scroll 440s linear infinite;
    width: max-content;
}

.dash-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 1rem;
    color: #e5e7eb;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.ticker-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.ticker-tag.tag-red { background: rgba(239,68,68,0.2); color: #f87171; }
.ticker-tag.tag-yellow { background: rgba(250,204,21,0.15); color: #facc15; }
.ticker-tag.tag-green { background: rgba(34,197,94,0.15); color: #4ade80; }
.ticker-tag.tag-blue { background: rgba(56,189,248,0.15); color: #38bdf8; }

/* ================================================================
   Dashboard — Stats Bar
   ================================================================ */

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 700px) {
    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dash-stat {
    background: var(--dash-surface);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-card-radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.2s;
}

.dash-stat:hover {
    border-color: rgba(250,204,21,0.3);
}

.dash-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dash-stat-icon.icon-primary { background: rgba(250,204,21,0.12); color: var(--dash-primary); }
.dash-stat-icon.icon-success { background: rgba(34,197,94,0.12); color: var(--dash-green); }
.dash-stat-icon.icon-warning { background: rgba(250,204,21,0.12); color: var(--dash-primary); }
.dash-stat-icon.icon-danger  { background: rgba(239,68,68,0.12); color: var(--dash-red); }

.dash-stat-body h3 {
    font-size: 0.7rem;
    color: var(--dash-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.dash-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dash-text);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

/* ================================================================
   Dashboard — Main 2-Column Layout
   ================================================================ */

.dash-body {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 0.75rem;
    padding: 0 1.5rem 0.75rem;
}

@media (max-width: 960px) {
    .dash-body {
        grid-template-columns: 1fr;
    }
}

.dash-col-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-col-side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ================================================================
   Dashboard — Panel (Dark Cards)
   ================================================================ */

.dash-card {
    background: var(--dash-surface);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-card-radius);
    overflow: visible;
}
.dash-card > .dash-card-body > div[style*="overflow-x"] {
    border-radius: 0 0 var(--dash-card-radius) var(--dash-card-radius);
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid var(--dash-border);
}

.dash-card-header h2 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dash-muted);
}

.dash-card-body {
    padding: 0.85rem 1.15rem;
}

/* ================================================================
   Dashboard — Quick Actions Grid
   ================================================================ */

.dash-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.dash-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    background: transparent;
    border: 1px solid var(--dash-border);
    border-radius: 10px;
    color: var(--dash-text);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.dash-action-btn:hover {
    border-color: var(--dash-primary);
    background: rgba(250,204,21,0.06);
    transform: translateY(-1px);
}

.dash-action-btn .action-icon {
    font-size: 1.15rem;
}

/* ================================================================
   Dashboard — Scraped Mini-Bar
   ================================================================ */

.dash-mini-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

.dash-mini-stat {
    text-align: center;
    padding: 0.55rem 0.4rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.dash-mini-stat:hover {
    border-color: var(--dash-border);
}

.dash-mini-stat .ms-label {
    display: block;
    font-size: 0.65rem;
    color: var(--dash-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.dash-mini-stat .ms-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dash-text);
    font-variant-numeric: tabular-nums;
}

/* ================================================================
   Dashboard — Action Toolbar (above table)
   ================================================================ */

.dash-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dash-toolbar .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
}

.btn-glass {
    background: rgba(255,255,255,0.05);
    color: var(--dash-text);
    border: 1px solid var(--dash-border);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--dash-muted);
}

/* ================================================================
   Dashboard — Data Table (Dark)
   ================================================================ */

.dash-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.dash-table th {
    text-align: left;
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dash-muted);
    padding: 0.5rem 0.35rem;
    border-bottom: 1px solid var(--dash-border);
    white-space: nowrap;
    vertical-align: middle;
}

.dash-table td {
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid rgba(30,30,48,0.5);
    vertical-align: middle;
    white-space: nowrap;
}

.dash-modal .dash-table td {
    padding: 0.7rem 0.5rem;
}

.dash-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.dash-table tbody tr:last-child td {
    border-bottom: none;
}

.dash-table .col-domain {
    width: 220px;
    min-width: 160px;
    max-width: 250px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-table .col-domain a {
    color: var(--dash-blue);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-table .col-domain a:hover {
    color: #60cfff;
    text-decoration: underline;
}

.dash-table .col-num {
    text-align: right;
    width: 85px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.dash-table .col-enddate {
    width: 110px;
    text-align: left;
}

.dash-table .col-reason {
    width: 140px;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    color: var(--dash-muted);
    font-size: 0.72rem;
}

.dash-table .col-truncate {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-modal .dash-table .col-truncate {
    max-width: 180px;
}

.dash-table .empty-state {
    text-align: center;
    color: var(--dash-muted);
    padding: 2rem 0 !important;
    font-style: italic;
}

.dash-table td .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

/* ================================================================
   Dashboard — Verification Badges in Dark
   ================================================================ */

.dash-table .badge-Pending { background: rgba(250,204,21,0.12); color: var(--dash-primary); border: 1px solid rgba(250,204,21,0.2); }
.dash-table .badge-Active  { background: rgba(34,197,94,0.12); color: var(--dash-green); border: 1px solid rgba(34,197,94,0.2); }
.dash-table .badge-Registered { background: rgba(107,107,130,0.15); color: var(--dash-muted); border: 1px solid rgba(107,107,130,0.2); }
.dash-table .badge-Error   { background: rgba(239,68,68,0.12); color: var(--dash-red); border: 1px solid rgba(239,68,68,0.2); }

/* ================================================================
   Dashboard — Countdown Badges
   ================================================================ */

.dash-table .badge-active span,
.dash-table .badge-expiring span,
.dash-table .badge-flagged span { display: inline-block; font-size: 0.65rem; padding: 0.15rem 0.4rem; border-radius: 4px; font-weight: 600; }

.dash-table .badge-expired span { background: rgba(239,68,68,0.12); color: #f87171; }

/* ================================================================
   Dashboard — Pagination (Dark)
   ================================================================ */

.dash-pagination {
    padding: 0.65rem 1.15rem;
    border-top: 1px solid var(--dash-border);
    display: flex;
    justify-content: center;
}

.dash-pagination .pagination-inner {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dash-pagination .btn-pagination {
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    border: 1px solid var(--dash-border);
    background: transparent;
    color: var(--dash-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.dash-pagination .btn-pagination:hover:not(:disabled) {
    background: rgba(255,255,255,0.05);
    color: var(--dash-text);
}

.dash-pagination .btn-pagination:disabled {
    opacity: 0.3;
    cursor: default;
}

.dash-pagination .btn-pagination.active {
    background: var(--dash-primary);
    color: #0a0a12;
    border-color: var(--dash-primary);
}

.dash-pagination .pagination-ellipsis {
    padding: 0 0.15rem;
    color: var(--dash-muted);
    font-size: 0.78rem;
}

.dash-pagination .pagination-info {
    font-size: 0.72rem;
    color: var(--dash-muted);
    padding: 0 0.35rem;
    white-space: nowrap;
}

/* ================================================================
   Dashboard — Trending Cards with Sparklines
   ================================================================ */

.dash-trend-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-trend-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.dash-trend-card:hover {
    border-color: var(--dash-border);
    background: rgba(255,255,255,0.04);
}

.dash-trend-rank {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(255,255,255,0.05);
    color: var(--dash-muted);
}

.dash-trend-card:nth-child(1) .dash-trend-rank,
.dash-trend-card:nth-child(2) .dash-trend-rank,
.dash-trend-card:nth-child(3) .dash-trend-rank {
    background: rgba(250,204,21,0.15);
    color: var(--dash-primary);
}

.dash-trend-info {
    flex: 1;
    min-width: 0;
}

.dash-trend-keyword {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dash-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.dash-trend-meta {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.1rem;
}

.dash-trend-traffic {
    font-size: 0.65rem;
    color: var(--dash-muted);
}

.dash-trend-tag {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.05rem 0.35rem;
    border-radius: 3px;
}

.dash-trend-tag.tag-hot {
    background: rgba(239,68,68,0.15);
    color: #f87171;
}

.dash-trend-tag.tag-demand {
    background: rgba(250,204,21,0.12);
    color: var(--dash-primary);
}

.dash-trend-cat {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.04rem 0.4rem;
    border-radius: 3px;
    margin-left: 0.35rem;
    vertical-align: middle;
}
.dash-trend-cat.tag-ai       { background: rgba(56,189,248,0.15); color: #38bdf8; }
.dash-trend-cat.tag-crypto   { background: rgba(250,204,21,0.15); color: #facc15; }
.dash-trend-cat.tag-security { background: rgba(239,68,68,0.15); color: #f87171; }
.dash-trend-cat.tag-tech    { background: rgba(129,140,248,0.15); color: #818cf8; }
.dash-trend-cat.tag-finance { background: rgba(52,211,153,0.15); color: #34d399; }
.dash-trend-cat.tag-business { background: rgba(251,146,60,0.15); color: #fb923c; }
.dash-trend-cat.tag-social  { background: rgba(244,114,182,0.15); color: #f472b6; }
.dash-trend-cat.tag-health  { background: rgba(74,222,128,0.15); color: #4ade80; }
.dash-trend-cat.tag-trending { background: rgba(148,163,184,0.15); color: #94a3b8; }

.dash-trend-score {
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-left: 0.25rem;
}

.dash-trend-change {
    font-size: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
}

.trend-player-badge {
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.15);
    color: var(--dash-blue);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}
.trend-related-badge {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--dash-border);
    color: var(--dash-muted);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
}

.dash-trend-spark {
    flex-shrink: 0;
    width: 48px;
    height: 24px;
}

.dash-trend-spark svg {
    width: 100%;
    height: 100%;
}

/* ================================================================
   Dashboard — Modal
   ================================================================ */

.dash-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.dash-modal-overlay.active {
    display: flex;
}

.dash-modal {
    background: var(--dash-surface);
    border: 1px solid var(--dash-border);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: modal-in 0.2s ease-out;
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.dash-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--dash-border);
}

.dash-modal-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dash-text);
}

.dash-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--dash-border);
    background: transparent;
    color: var(--dash-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.dash-modal-close:hover {
    background: rgba(239,68,68,0.1);
    color: var(--dash-red);
    border-color: rgba(239,68,68,0.3);
}

.dash-modal-body {
    padding: 1.25rem;
    font-size: 0.9rem;
    color: var(--dash-text);
}

.dash-modal-body .modal-section {
    margin-bottom: 1.25rem;
}

.dash-modal-body .modal-section:last-child {
    margin-bottom: 0;
}

.dash-modal-body .modal-section h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dash-text);
    margin-bottom: 0.65rem;
}

.dash-modal-wide {
    max-width: 680px;
}

.premium-analysis-block {
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--dash-text);
}

.premium-analysis-block p {
    margin: 0;
}

.modal-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.modal-metric {
    text-align: center;
    padding: 0.8rem 0.6rem;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
}

.modal-metric .mm-label {
    display: block;
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.modal-metric .mm-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dash-text);
}

.modal-metric .mm-change {
    display: block;
    font-size: 0.65rem;
    margin-top: 0.05rem;
}

.modal-metric .mm-change.up { color: var(--dash-green); }
.modal-metric .mm-change.down { color: var(--dash-red); }

.modal-chart {
    height: 100px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
}

.modal-chart .bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: var(--dash-primary);
    opacity: 0.7;
    transition: opacity 0.2s;
    min-height: 4px;
}

.modal-chart .bar:hover {
    opacity: 1;
}

.modal-verdict {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.modal-verdict.buy { background: rgba(34,197,94,0.12); color: var(--dash-green); }
.modal-verdict.watch { background: rgba(250,204,21,0.12); color: var(--dash-primary); }
.modal-verdict.skip { background: rgba(239,68,68,0.12); color: var(--dash-red); }
.modal-verdict.hold { background: rgba(107,107,130,0.15); color: var(--dash-muted); }

/* ================================================================
   Dashboard — Wide Sections
   ================================================================ */

.dash-section-wide {
    padding: 0 1.5rem 1rem;
}

.dash-section-wide .dash-card {
    margin-bottom: 0;
}

/* ================================================================
   Dashboard — Reports Grid
   ================================================================ */

.dash-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.dash-report-card {
    border: 1px solid var(--dash-border);
    border-radius: 10px;
    padding: 1rem;
    transition: border-color 0.2s;
}

.dash-report-card:hover {
    border-color: rgba(250,204,21,0.2);
}

.dash-report-card h3 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dash-text);
    margin-bottom: 0.3rem;
}

.dash-report-card p {
    font-size: 0.72rem;
    color: var(--dash-muted);
    line-height: 1.4;
    margin-bottom: 0.65rem;
}

.dash-snapshot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.dash-snap-item {
    font-size: 0.7rem;
    color: var(--dash-muted);
    background: rgba(255,255,255,0.03);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.dash-snap-item strong {
    color: var(--dash-text);
    font-weight: 700;
}

/* ================================================================
   Dashboard — AI Insights Mini-Table
   ================================================================ */

.dash-ai-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.dash-ai-table th {
    text-align: left;
    font-weight: 600;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dash-muted);
    padding: 0.4rem 0.4rem 0.4rem 0;
    border-bottom: 1px solid var(--dash-border);
}

.dash-ai-table td {
    padding: 0.4rem 0.4rem 0.4rem 0;
    border-bottom: 1px solid rgba(30,30,48,0.4);
    vertical-align: middle;
}

.dash-ai-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.dash-ai-table .badge-success {
    background: rgba(34,197,94,0.12);
    color: var(--dash-green);
    border: 1px solid rgba(34,197,94,0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 600;
}

/* ================================================================
   Analysis Score Cards (Modal)
   ================================================================ */
.analysis-score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.analysis-score-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--dash-border);
    border-radius: 10px;
    padding: 1rem 0.85rem;
    text-align: center;
}

.asc-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.asc-icon {
    font-size: 1.1rem;
}

.asc-label {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dash-muted);
}

.asc-score-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.asc-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dash-text);
    line-height: 1;
}

.asc-score-max {
    font-size: 0.75rem;
    color: var(--dash-muted);
}

.asc-bar-bg {
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.asc-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--dash-primary), #818cf8);
    transition: width 0.4s ease;
}

.analysis-score-card:nth-child(2) .asc-bar-fill {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.analysis-score-card:nth-child(3) .asc-bar-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.asc-summary {
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--dash-text);
    text-align: left;
}

.asc-summary p {
    margin: 0;
}

@media (max-width: 640px) {
    .analysis-score-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Side-by-Side Grid (Flagged + Premium)
   ================================================================ */
.dash-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1.5rem 0.75rem;
}

.dash-side-grid .dash-section-wide {
    padding: 0;
    min-width: 0;
}

.dash-side-grid .dash-card-equal {
    display: flex;
    flex-direction: column;
}

.dash-side-grid .dash-card-equal .dash-card-body {
    flex: 0 1 auto;
}

.dash-side-grid .dash-pagination {
    padding: 0.5rem 0.75rem;
}

.dash-admin-tools {
    padding: 0 1.5rem;
}
.dash-admin-tools:empty {
    display: none;
}

/* Condensed flagged table */
.flagged-compact thead th {
    font-size: 0.6rem;
    padding: 0.45rem 0.5rem;
    text-align: left;
}

.flagged-compact tbody td {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
}

.flagged-compact .col-domain {
    width: 22%;
    min-width: 110px;
}

.flagged-compact .col-num {
    width: 13%;
    text-align: center;
}

.action-label-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 16px;
    padding: 0 5px;
    border-radius: 8px;
    background: var(--dash-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
}

.flagged-compact .col-flag {
    width: 26%;
    font-size: 0.65rem;
    color: var(--dash-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

@media (max-width: 768px) {
    .dash-side-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Premium Domain Picks Table
   ================================================================ */
.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.72rem;
}

.premium-table thead th {
    text-align: left;
    font-weight: 600;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dash-muted);
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--dash-border);
    white-space: nowrap;
}

.premium-table tbody td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(30,30,48,0.4);
    vertical-align: middle;
}

.premium-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.premium-table .col-domain  { width: 38%; max-width: 280px; }
.premium-table .col-score   { width: 12%; text-align: center; }
.premium-table .col-niche   { width: 30%; }
.premium-table .col-action  { width: 20%; text-align: center; }

.premium-table .col-domain {
    font-weight: 600;
    color: var(--dash-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-table .col-score {
    font-weight: 600;
    color: var(--dash-primary);
}

.premium-table .col-niche {
    color: var(--dash-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-table .col-action {
    text-align: center;
    white-space: nowrap;
}

.premium-table .col-action button {
    display: inline-block;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.3rem 0.55rem;
    margin: 0 0.1rem;
    transition: opacity 0.15s;
}
.premium-table .col-action button:hover { opacity: 0.8; }

.btn-premium-view {
    background: var(--dash-primary);
    color: #fff;
}

/* Compact action buttons inside modals */
.dash-modal .col-action button {
    display: inline-block;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.25rem 0.45rem;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.dash-modal .col-action button:hover { opacity: 0.8; }

.btn-premium-approve {
    background: #00c853;
    color: #fff;
}

.btn-premium-reject {
    background: #ff1744;
    color: #fff;
}

/* ================================================================
   Dashboard — Responsive Tweaks
   ================================================================ */

@media (max-width: 768px) {
    .dashboard-header { padding: 1rem 1rem 0; }
    .dash-stats { padding: 0 1rem; gap: 0.5rem; }
    .dash-stats .dash-stat { padding: 0.75rem; }
    .dash-stat-value { font-size: 1.15rem; }
    .dash-body { padding: 0 1rem 1rem; grid-template-columns: 1fr; }
    .dash-section-wide { padding: 0 1rem 0.75rem; }
    .dash-mini-bar { grid-template-columns: repeat(2, 1fr); }
    .dash-toolbar { flex-wrap: wrap; }
    .dash-table { font-size: 0.7rem; }
    .dash-table .col-domain { width: 140px; min-width: 100px; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .dash-table .col-num { width: 65px; }
    .dash-table .col-enddate { width: 85px; }
    .modal-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   Dashboard — Override common elements
   ================================================================ */

.dashboard .btn {
    font-family: inherit;
}

.dashboard .btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--dash-text);
    border: 1px solid var(--dash-border);
}

.dashboard .btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--dash-muted);
}

.dashboard .btn-primary {
    background: var(--dash-primary);
    color: #0a0a12;
    border: none;
}

.dashboard .btn-primary:hover {
    background: #fbbf24;
}

.dashboard .btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
}

.dashboard a {
    color: var(--dash-blue);
}

.dashboard a:hover {
    color: #60cfff;
}

.dashboard .form-help {
    color: var(--dash-muted);
}

.dashboard .add-domain-form {
    background: var(--dash-surface);
    border-color: var(--dash-border);
}

.dashboard .import-section .panel {
    background: var(--dash-surface);
    border-color: var(--dash-border);
}

.dashboard .drop-zone {
    border-color: var(--dash-border);
    background: rgba(255,255,255,0.02);
}

.dashboard .drop-zone.dragover {
    border-color: var(--dash-primary);
    background: rgba(250,204,21,0.06);
}

.dashboard .import-format-info {
    background: rgba(255,255,255,0.03);
}

.dashboard .import-format-info pre {
    background: #0a0a12;
    border-color: var(--dash-border);
}

.dashboard .import-format-info code {
    background: #0a0a12;
    border-color: var(--dash-border);
    color: var(--dash-text);
}

.dashboard .alert-success {
    background: rgba(34,197,94,0.1);
    border-color: rgba(34,197,94,0.2);
    color: var(--dash-green);
}

.dashboard .alert-error {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.2);
    color: #f87171;
}

/* ================================================================
   Dashboard — Scrollbar
   ================================================================ */

.dashboard ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.dashboard ::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard ::-webkit-scrollbar-thumb {
    background: var(--dash-border);
    border-radius: 3px;
}

.dashboard ::-webkit-scrollbar-thumb:hover {
    background: var(--dash-muted);
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card.primary .stat-icon { background: var(--primary-light); }
.stat-card.success .stat-icon { background: var(--success-light); }
.stat-card.warning .stat-icon { background: var(--warning-light); }
.stat-card.danger .stat-icon { background: var(--error-light); }

.stat-body h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.125rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}

/* ================================================================
   Dashboard Panels
   ================================================================ */

.dashboard-panels {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .dashboard-panels {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Dashboard — Compact 2-Column Main Row
   ================================================================ */

.dash-main-row {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
    .dash-main-row {
        grid-template-columns: 1fr;
    }
}

.dash-col-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-col-side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.scraped-mini-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.scraped-mini-row .mini-stat {
    text-align: center;
    padding: 0.6rem 0.5rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.scraped-mini-row .mini-stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.scraped-mini-row .mini-stat-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

/* ================================================================
   Dashboard — Wide Panels (Opportunities, Flagged, AI)
   ================================================================ */

.dash-panels-wide {
    margin-bottom: 1.25rem;
}

.dash-panels-wide .panel-wide {
    grid-column: 1 / -1;
}

/* ================================================================
   Dashboard — Trending Keywords
   ================================================================ */

.trends-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: trend;
}

.trends-item {
    counter-increment: trend;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    gap: 0.5rem;
}

.trends-item:last-child {
    border-bottom: none;
}

.trends-item::before {
    content: counter(trend);
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trends-item:nth-child(1)::before { background: #fef3c7; color: #d97706; }
.trends-item:nth-child(2)::before { background: #fef3c7; color: #d97706; }
.trends-item:nth-child(3)::before { background: #fef3c7; color: #d97706; }

.trends-keyword {
    flex: 1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trends-traffic {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    background: var(--bg);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* ================================================================
   Dashboard — Reports
   ================================================================ */

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.report-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.report-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.report-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.snapshot-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.snap-item {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg);
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
}

.snap-item strong {
    color: var(--text);
    font-weight: 700;
}

/* ================================================================
   Dashboard — Stat Card Spacing
   ================================================================ */

.panel-header h2 {
    font-size: 0.9rem;
}

.panel-body {
    padding: 1rem 1.25rem;
}

.panel-header {
    padding: 0.9rem 1.25rem;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.panel-header h2 {
    font-size: 1rem;
    font-weight: 600;
}

.panel-body {
    padding: 1.25rem 1.5rem;
}

/* ================================================================
   Data Table
   ================================================================ */

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th {
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 0 0.75rem 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 0.75rem 0.75rem 0.75rem 0;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.data-table a:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0 !important;
    font-style: italic;
}

/* ================================================================
   Badges
   ================================================================ */

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-active {
    background: var(--success-light);
    color: #16a34a;
}

.badge-expiring {
    background: var(--warning-light);
    color: #d97706;
}

.badge-expired {
    background: var(--error-light);
    color: var(--error);
}

.badge-flagged {
    background: #fef3c7;
    color: #b45309;
}

.badge-success {
    display: inline-block;
    background: rgba(34,197,94,0.12);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.25);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-warning {
    display: inline-block;
    background: rgba(250,204,21,0.12);
    color: #facc15;
    border: 1px solid rgba(250,204,21,0.25);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-danger {
    display: inline-block;
    background: rgba(239,68,68,0.12);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.25);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ================================================================
   Quick Actions
   ================================================================ */

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition);
    font-family: inherit;
    width: 100%;
    text-align: left;
}

.action-card:hover {
    background: var(--bg);
    border-color: var(--primary);
}

.action-icon {
    font-size: 1.25rem;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

/* ================================================================
   Add Domain Form
   ================================================================ */

.add-domain-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.add-domain-form h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ================================================================
   Profile
   ================================================================ */

.profile {
    padding: 2rem 0;
}

.profile h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 500px;
    box-shadow: var(--shadow);
}

.profile-card p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.profile-card strong {
    font-weight: 600;
}

/* ================================================================
   Utilities
   ================================================================ */

.inline-form {
    display: inline;
}

main {
    flex: 1;
}

/* ================================================================
   API Docs Page
   ================================================================ */

.api-docs {
    padding: 2rem 0;
    max-width: 800px;
}

.api-docs h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.api-docs h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.api-docs h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.api-docs p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.api-docs pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.api-docs code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85em;
}

.api-docs .endpoint {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.api-docs .endpoint .method {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-right: 0.5rem;
}

.api-docs .endpoint .method.get { background: #22c55e; }
.api-docs .endpoint .method.post { background: var(--primary); }
.api-docs .endpoint .method.delete { background: var(--error); }

.api-docs .endpoint .path {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    font-weight: 600;
}

.api-docs .endpoint .desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.api-docs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.api-docs table th {
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.api-docs table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

/* ================================================================
   Drag & Drop Import Zone
   ================================================================ */

.import-section {
    margin-bottom: 2rem;
}

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: border-color var(--transition), background var(--transition);
    cursor: pointer;
}

.drop-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.drop-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.drop-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.drop-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.drop-preview {
    text-align: left;
}

.drop-preview p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.import-format-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    font-size: 0.8rem;
}

.import-format-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.import-format-info code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    background: var(--surface);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    border: 1px solid var(--border);
}

.import-format-info pre {
    background: var(--surface);
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    overflow-x: auto;
    margin-top: 0.25rem;
}

/* ================================================================
   Scraped Data Section
   ================================================================ */

.scraped-section {
    margin-top: 2rem;
}

/* ================================================================
   Mini Stats
   ================================================================ */

.mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .mini-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mini-stat {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.mini-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.mini-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.flag-reason {
    font-size: 0.8rem;
    color: var(--text-light);
    max-width: 200px;
}

/* ================================================================
   Full Data Table (scraped domain details)
   ================================================================ */

.panel-wide {
    grid-column: 1 / -1;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table-full {
    font-size: 0.8rem;
    white-space: nowrap;
    min-width: 900px;
}

.data-table-full th,
.data-table-full td {
    padding: 0.5rem 0.5rem;
}

.data-table-full .col-domain {
    min-width: 180px;
}

.data-table-full .col-enddate {
    min-width: 130px;
}

.data-table-full .col-num {
    text-align: right;
    min-width: 70px;
    font-variant-numeric: tabular-nums;
}

.data-table-full .col-reason {
    min-width: 160px;
    max-width: 220px;
    white-space: normal;
    word-break: break-word;
}

.data-table-full tbody tr:hover {
    background: var(--bg);
}

.data-table-full tbody tr td:first-child {
    font-weight: 500;
}

.data-table-full .badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
}

.data-table-full tbody tr td.col-num strong {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ================================================================
   Expiry Countdown Badge Colors
   ================================================================ */

.badge-expired {
    background: #fef2f2;
    color: var(--error);
}

/* ================================================================
   Verification Status Badges
   ================================================================ */

.badge-status {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    font-weight: 500;
    white-space: nowrap;
}

.badge-pending {
    background: #fef9e7;
    color: #b7950b;
    border: 1px solid #f9e79f;
}

.badge-active,
.badge-available {
    background: #eafaf1;
    color: #1e8449;
    border: 1px solid #a9dfbf;
    animation: pulse-active 2s ease-in-out infinite;
}

@keyframes pulse-active {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.badge-registered {
    background: #f2f3f4;
    color: #717d7e;
    border: 1px solid #d5dbdb;
}

.badge-error {
    background: #fdedec;
    color: #c0392b;
    border: 1px solid #f5b7b1;
}

/* ================================================================
   Pagination Controls
   ================================================================ */

.pagination-controls {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

.pagination-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0 0.5rem;
    white-space: nowrap;
}

.btn-pagination {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
}

.btn-pagination:hover:not(:disabled) {
    background: var(--bg);
}

.btn-pagination:disabled {
    opacity: 0.4;
    cursor: default;
}

.btn-pagination.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination-ellipsis {
    padding: 0 0.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ================================================================
   Homepage — Enhanced Hero
   ================================================================ */

.hero {
    position: relative;
    text-align: center;
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(37, 99, 235, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(37, 99, 235, 0.25);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: #f1f5f9;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-actions .btn {
    width: auto;
    min-width: 180px;
}

.btn-outline {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid #475569;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: #64748b;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.125rem;
}

/* ================================================================
   Homepage — Section Shared Styles
   ================================================================ */

.section {
    padding: 5rem 1.5rem;
}

.section-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ================================================================
   Homepage — Live Stats
   ================================================================ */

.section-live {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

.live-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: box-shadow var(--transition);
}

.live-card:hover {
    box-shadow: var(--shadow);
}

.live-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.live-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.live-card-body {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.live-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.live-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.live-card-footer {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.live-change {
    color: var(--text-muted);
}

.live-change.up {
    color: #16a34a;
}

/* ================================================================
   Homepage — Insights / Stories
   ================================================================ */

.section-insights {
    background: var(--bg);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.insight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

.insight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.insight-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: #334155;
}

.insight-card.featured h3 {
    color: #f1f5f9;
}

.insight-card.featured p {
    color: #94a3b8;
}

.insight-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--primary-light);
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.insight-tag.tag-success {
    background: var(--success-light);
    color: #16a34a;
}

.insight-tag.tag-warning {
    background: var(--warning-light);
    color: #d97706;
}

.insight-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.insight-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.insight-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ================================================================
   Homepage — Features Alt
   ================================================================ */

.section-features-alt {
    background: var(--surface);
}

.features-alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-alt-card {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-alt-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-alt-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-alt-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-alt-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================================================
   Homepage — Steps Alt
   ================================================================ */

.section-steps-alt {
    background: var(--bg);
}

.steps-alt {
    max-width: 700px;
    margin: 0 auto;
}

.step-alt {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2.5rem;
}

.step-alt:last-child {
    padding-bottom: 0;
}

.step-alt-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-alt-line {
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.step-alt:last-child .step-alt-line {
    display: none;
}

.step-alt-content {
    padding-top: 0.375rem;
}

.step-alt-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.step-alt-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================================================
   Homepage — Testimonials
   ================================================================ */

.section-testimonials {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ================================================================
   Homepage — CTA Alt
   ================================================================ */

.section.cta-alt {
    padding: 4rem 1.5rem;
    background: var(--bg);
}

.cta-alt-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    border: 1px solid #334155;
}

.cta-alt-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-alt-card p {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-alt-note {
    font-size: 0.8rem !important;
    color: #64748b !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

/* ================================================================
   Homepage — Mobile Responsive
   ================================================================ */

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-value {
        font-size: 1.35rem;
    }

    .section {
        padding: 3rem 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .live-number {
        font-size: 1.75rem;
    }

    .insight-card.featured {
        grid-column: auto;
    }

    .cta-alt-card {
        padding: 2rem 1.5rem;
    }

    .cta-alt-card h2 {
        font-size: 1.35rem;
    }
}
