/* LeadTracker by DPOM - Branded */
:root {
    --primary: #C22232;
    --primary-light: #D72638;
    --primary-dark: #A31D2B;
    --primary-bg: #FDE8EA;
    --accent-yellow: #FFBA00;
    --accent-green: #5DB055;
    --accent-blue: #3086CB;
    --success: #5DB055;
    --success-bg: #E8F5E6;
    --warning: #FFBA00;
    --warning-bg: #FFF6D9;
    --danger: #C22232;
    --danger-bg: #FDE8EA;
    --gray-50: #F9FAFB;
    --gray-100: #F4F4F4;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #7A7A7A;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1C1D21;
    --gray-900: #1a1a2e;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Raleway', 'Montserrat', -apple-system, sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .card-title, .stat-label, .sidebar-logo {
    font-family: 'Montserrat', 'Raleway', -apple-system, sans-serif;
}

/* Layout */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 240px;
    background: var(--gray-900);
    color: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}
.sidebar-logo {
    padding: 0 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.sidebar-logo img { height: 32px; width: auto; }
.sidebar-logo .logo-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-top: 6px;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s;
    cursor: pointer;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.08);
    color: white;
}
.sidebar-nav a.active { border-right: 3px solid var(--primary); }
.sidebar-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    padding: 15px 20px 5px;
    font-weight: 600;
}

.main-content {
    margin-left: 240px;
    flex: 1;
    min-height: 100vh;
}

.top-bar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}
.top-bar h1 { font-size: 18px; font-weight: 700; }
.top-bar-right { display: flex; align-items: center; gap: 15px; }

.page-content { padding: 25px 30px; }

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 20px;
    margin-bottom: 20px;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.card-title { font-size: 14px; font-weight: 600; color: var(--gray-700); }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}
.stat-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 18px 20px;
}
.stat-label { font-size: 13px; color: var(--gray-500); font-weight: 500; margin-bottom: 4px; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--gray-900); }
.stat-value.green { color: var(--success); }
.stat-value.blue { color: var(--primary); }
.stat-change { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 12px;
    border-bottom: 2px solid var(--gray-200);
}
td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}
tr:hover td { background: var(--gray-50); }

/* Badges */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}
.badge-new { background: #DBEAFE; color: #1E40AF; }
.badge-contacted { background: var(--warning-bg); color: #92400E; }
.badge-qualified { background: var(--success-bg); color: #065F46; }
.badge-won { background: #D1FAE5; color: #065F46; }
.badge-lost { background: var(--danger-bg); color: #991B1B; }
.badge-ppc { background: #DBEAFE; color: #1E40AF; }
.badge-organic { background: #D1FAE5; color: #065F46; }
.badge-social { background: #FCE7F3; color: #9D174D; }
.badge-direct { background: var(--gray-100); color: var(--gray-600); }
.badge-email { background: #FEF3C7; color: #92400E; }
.badge-referral { background: #E0E7FF; color: #3730A3; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-secondary:hover { background: var(--gray-50); }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-lg { padding: 12px 24px; font-size: 16px; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--gray-700); margin-bottom: 4px; }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.form-textarea { resize: vertical; min-height: 80px; }

/* Notifications bell */
.notification-bell {
    position: relative;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.15s;
}
.notification-bell:hover { background: var(--gray-100); }
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.notification-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    width: 360px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    max-height: 400px;
    overflow-y: auto;
    z-index: 200;
}
.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background 0.15s;
}
.notification-item:hover { background: var(--gray-50); }
.notification-item.unread { background: var(--primary-bg); }
.notification-item .title { font-size: 14px; font-weight: 600; }
.notification-item .message { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.notification-item .time { font-size: 12px; color: var(--gray-400); margin-top: 4px; }

/* Live visitors pulse */
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Period selector */
.period-selector {
    display: inline-flex;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    overflow: hidden;
}
.period-selector button {
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    background: white;
    color: var(--gray-600);
    cursor: pointer;
    border-right: 1px solid var(--gray-300);
}
.period-selector button:last-child { border-right: none; }
.period-selector button.active {
    background: var(--primary);
    color: white;
}

/* Visitor timeline */
.timeline-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.timeline-avatar.anonymous { background: var(--gray-100); color: var(--gray-400); }
.timeline-content { flex: 1; min-width: 0; }
.timeline-name { font-weight: 600; font-size: 14px; }
.timeline-page {
    font-size: 13px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.timeline-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* Chart placeholder */
.chart-container {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
}
/* Simple bar chart */
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 200px; padding: 10px 0; }
.bar-chart .bar {
    flex: 1;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    min-width: 8px;
    position: relative;
    transition: background 0.15s;
    cursor: pointer;
}
.bar-chart .bar:hover { background: var(--primary-dark); }
.bar-chart .bar .bar-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 4px;
}
.bar-chart .bar:hover .bar-tooltip { display: block; }

/* Channel bars */
.channel-bars { display: flex; flex-direction: column; gap: 10px; }
.channel-bar-row { display: flex; align-items: center; gap: 12px; }
.channel-bar-label { width: 80px; font-size: 13px; font-weight: 500; color: var(--gray-600); }
.channel-bar-track { flex: 1; height: 24px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.channel-bar-fill { height: 100%; border-radius: 4px; display: flex; align-items: center; padding: 0 8px; font-size: 12px; color: white; font-weight: 600; min-width: fit-content; }
.channel-bar-fill.ppc { background: #3B82F6; }
.channel-bar-fill.organic { background: #10B981; }
.channel-bar-fill.social { background: #EC4899; }
.channel-bar-fill.direct { background: #6B7280; }
.channel-bar-fill.email { background: #F59E0B; }
.channel-bar-fill.referral { background: #6366F1; }

/* Setup snippet */
.code-block {
    background: var(--gray-900);
    color: #E5E7EB;
    padding: 16px;
    border-radius: var(--radius);
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 13px;
    overflow-x: auto;
    position: relative;
}
.code-block .copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 12px;
    background: rgba(255,255,255,0.1);
    color: var(--gray-300);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.code-block .copy-btn:hover { background: rgba(255,255,255,0.2); }

/* Lead detail */
.lead-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.lead-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
}
.lead-info h2 { font-size: 20px; font-weight: 700; }
.lead-info .lead-email { font-size: 14px; color: var(--gray-500); }
.lead-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 20px;
}
.lead-tabs button {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
}
.lead-tabs button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Two column layout */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* Empty states */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}
.empty-state svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state h3 { color: var(--gray-600); font-size: 16px; margin-bottom: 4px; }
.empty-state p { font-size: 14px; }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal h2 { font-size: 18px; margin-bottom: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ========== PUBLIC MARKETING PAGES ========== */

.public-page {
    min-height: 100vh;
}

/* Navbar */
.public-nav {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}
.public-nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
}
.public-nav-logo span { color: var(--primary); }
.public-nav-links { display: flex; gap: 30px; align-items: center; }
.public-nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 500;
}
.public-nav-links a:hover { color: var(--gray-900); }
.public-nav-links a.btn-primary { color: white; }
.public-nav-links a.btn-primary:hover { color: white; }

/* Hero */
.hero {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content { max-width: 540px; }
.hero-badge {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
}
.hero h1 em {
    font-style: normal;
    color: var(--primary);
    position: relative;
}
.hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 2px;
}
.hero p {
    font-size: 19px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; }

/* Hero dashboard preview */
.hero-visual {
    background: var(--gray-900);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.hero-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(194,34,50,0.15) 0%, transparent 70%);
}
.hero-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}
.hero-dash-header h3 { color: white; font-size: 14px; font-weight: 600; }
.hero-dash-header .live-badge {
    background: rgba(93,176,85,0.2);
    color: var(--success);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hero-dash-header .live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}
.hero-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 14px;
}
.hero-stat .label { font-size: 11px; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-stat .value { font-size: 24px; font-weight: 800; color: white; margin-top: 4px; font-family: 'Montserrat', sans-serif; }
.hero-stat .value.green { color: var(--success); }
.hero-stat .value.primary { color: var(--primary); }
.hero-visitor-feed { display: flex; flex-direction: column; gap: 8px; position: relative; }
.hero-visitor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.hero-visitor-item .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.hero-visitor-item .info { flex: 1; min-width: 0; }
.hero-visitor-item .vname { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.hero-visitor-item .vdetail { font-size: 11px; color: var(--gray-400); }
.hero-visitor-item .vtime { font-size: 11px; color: var(--gray-500); white-space: nowrap; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-cta .btn-primary {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
}

/* Features */
.features {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.features h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}
.features .subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 18px;
    margin-bottom: 50px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: white;
    transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.feature-icon.blue { background: #D6EAF8; color: #3086CB; }
.feature-icon.green { background: #E8F5E6; color: #5DB055; }
.feature-icon.purple { background: #E0E7FF; color: #6366F1; }
.feature-icon.pink { background: #FDE8EA; color: #C22232; }
.feature-icon.yellow { background: #FFF6D9; color: #D4960A; }
.feature-icon.red { background: #FDE8EA; color: #C22232; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; }

/* Pricing */
.pricing {
    padding: 80px 40px;
    background: var(--gray-900);
    color: white;
}
.pricing h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}
.pricing .subtitle {
    text-align: center;
    color: var(--gray-400);
    font-size: 18px;
    margin-bottom: 50px;
}
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
}
.pricing-card.featured {
    background: rgba(194,34,50,0.12);
    border-color: var(--primary);
    position: relative;
}
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 3px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.pricing-card .price {
    font-size: 42px;
    font-weight: 800;
    margin: 16px 0;
}
.pricing-card .price span { font-size: 16px; font-weight: 500; color: var(--gray-400); }
.pricing-card ul {
    list-style: none;
    margin: 20px 0;
    font-size: 14px;
    color: var(--gray-300);
}
.pricing-card ul li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-card ul li::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
}
.pricing-card .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
}

/* Auth pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
}
.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.auth-card h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}
.auth-card .subtitle {
    color: var(--gray-500);
    margin-bottom: 24px;
    font-size: 14px;
}
.auth-card .form-input {
    padding: 10px 14px;
}
.auth-card .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
}
.auth-card .auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
}
.auth-card .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 500; }
.auth-error {
    background: var(--danger-bg);
    color: #991B1B;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Footer */
.public-footer {
    padding: 40px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
    border-top: 1px solid var(--gray-200);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-content { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero h1 { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Setup page */
.setup-steps {
    counter-reset: step;
}
.setup-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}
.setup-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.setup-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.setup-step p { font-size: 14px; color: var(--gray-500); }

/* Utility */
.text-right { text-align: right; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.hidden { display: none; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
