/* Sentinel by DPOM - Click Fraud Protection */
: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);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

body {
    font-family: 'Raleway', -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', -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;
    gap: 10px;
}
.sidebar-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.sidebar-logo .logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.sidebar-logo .logo-sub {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-top: 2px;
}
.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 ========== */
.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.red { color: var(--danger); }
.stat-value.blue { color: var(--accent-blue); }
.stat-change { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ========== 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-safe { background: var(--success-bg); color: #065F46; }
.badge-warning { background: var(--warning-bg); color: #92400E; }
.badge-danger { background: var(--danger-bg); color: #991B1B; }
.badge-critical { background: #7F1D1D; color: #FDE8EA; }
.badge-vpn { background: #DBEAFE; color: #1E40AF; }
.badge-bot { background: #FCE7F3; color: #9D174D; }
.badge-repeat { background: #FEF3C7; color: #92400E; }
.badge-competitor { background: #E0E7FF; color: #3730A3; }
.badge-blocked { background: var(--gray-100); color: var(--gray-600); }

/* ========== 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;
    font-family: inherit;
}
.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-ghost { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-lg { padding: 12px 24px; font-size: 16px; }
.btn-xl { padding: 16px 36px; font-size: 18px; font-weight: 700; border-radius: 12px; }

/* ========== 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(194,34,50,0.1);
}

/* ========== ALERTS 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: 50px;
    right: 30px;
    width: 380px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    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; }

/* ========== 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);
    font-family: inherit;
}
.period-selector button:last-child { border-right: none; }
.period-selector button.active {
    background: var(--primary);
    color: white;
}

/* ========== CHARTS ========== */
.bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 200px; padding: 10px 0; }
.bar-chart .bar-group { flex: 1; display: flex; gap: 1px; align-items: flex-end; min-width: 0; }
.bar-chart .bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    min-width: 3px;
    position: relative;
    transition: opacity 0.15s;
    cursor: pointer;
}
.bar-chart .bar.clean { background: var(--accent-blue); }
.bar-chart .bar.fraud { background: var(--danger); }
.bar-chart .bar:hover { opacity: 0.8; }
.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;
    z-index: 10;
}
.bar-chart .bar:hover .bar-tooltip { display: block; }
.chart-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--gray-500);
}
.chart-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}

/* ========== THREAT METER ========== */
.threat-meter {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}
.threat-meter .fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}
.threat-meter .fill.low { background: var(--success); }
.threat-meter .fill.medium { background: var(--warning); }
.threat-meter .fill.high { background: #F97316; }
.threat-meter .fill.critical { background: var(--danger); }

/* Fraud type bars */
.fraud-type-bars { display: flex; flex-direction: column; gap: 10px; }
.fraud-type-row { display: flex; align-items: center; gap: 12px; }
.fraud-type-label { width: 120px; font-size: 13px; font-weight: 500; color: var(--gray-600); }
.fraud-type-track { flex: 1; height: 24px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.fraud-type-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;
}
.fraud-type-fill.vpn { background: #3B82F6; }
.fraud-type-fill.bot { background: #EC4899; }
.fraud-type-fill.repeat { background: #F59E0B; }
.fraud-type-fill.competitor { background: #6366F1; }
.fraud-type-fill.bounce { background: #6B7280; }
.fraud-type-fill.other { background: #8B5CF6; }

/* ========== CODE BLOCK ========== */
.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;
    font-family: inherit;
}
.code-block .copy-btn:hover { background: rgba(255,255,255,0.2); }

/* ========== SETUP STEPS ========== */
.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); }

/* ========== 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-xl);
}
.modal h2 { font-size: 18px; margin-bottom: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ========== AUTH PAGES ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
}
.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
}
.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; cursor: pointer; }
.auth-error {
    background: var(--danger-bg);
    color: #991B1B;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}

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

.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 {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
}
.public-nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.public-nav-logo .logo-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.public-nav-logo .logo-name 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;
    cursor: pointer;
}
.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 60px;
    background: linear-gradient(180deg, #FFF 0%, var(--gray-50) 100%);
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content { max-width: 540px; }
.hero-badge {
    display: inline-block;
    background: var(--danger-bg);
    color: var(--danger);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.hero h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.08;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.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-cta .btn-xl { box-shadow: 0 4px 14px rgba(194,34,50,0.3); }
.hero-cta .btn-ghost { font-size: 15px; font-weight: 600; color: var(--gray-600); }

.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-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}
.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.red { color: var(--danger); }

.hero-blocked-feed {
    position: relative;
}
.hero-blocked-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(194,34,50,0.1);
    border-radius: 8px;
    margin-bottom: 6px;
    border: 1px solid rgba(194,34,50,0.15);
}
.hero-blocked-item .shield {
    width: 28px;
    height: 28px;
    background: rgba(194,34,50,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.hero-blocked-item .info { flex: 1; min-width: 0; }
.hero-blocked-item .ip { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); font-family: 'Fira Code', monospace; }
.hero-blocked-item .reason { font-size: 11px; color: var(--gray-400); }
.hero-blocked-item .time { font-size: 11px; color: var(--gray-500); white-space: nowrap; }

/* Social proof bar */
.social-proof {
    padding: 30px 40px;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}
.social-proof p {
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.social-proof-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}
.social-proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social-proof-stat .number {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
}
.social-proof-stat .label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Problem section */
.problem-section {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.problem-section h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.problem-section .subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.problem-card {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: white;
    display: flex;
    gap: 16px;
    transition: box-shadow 0.2s;
}
.problem-card:hover { box-shadow: var(--shadow-lg); }
.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background: var(--danger-bg);
}
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.problem-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; }

/* How it works */
.how-section {
    padding: 80px 40px;
    background: var(--gray-50);
}
.how-section h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.how-section .subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 18px;
    margin-bottom: 60px;
}
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.how-step {
    text-align: center;
    position: relative;
}
.how-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    margin: 0 auto 18px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 14px rgba(194,34,50,0.25);
}
.how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 15px; color: var(--gray-500); line-height: 1.6; max-width: 280px; margin: 0 auto; }

/* Features */
.features {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.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: 24px;
}
.feature-card {
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: white;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.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: #FCE7F3; color: #EC4899; }
.feature-icon.yellow { background: #FFF6D9; color: #D4960A; }
.feature-icon.red { background: #FDE8EA; color: #C22232; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; }

/* Results / benefits */
.results-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--gray-900) 0%, #2d2d4e 100%);
    color: white;
}
.results-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.result-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}
.result-card .number {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 8px;
}
.result-card p {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.5;
}

/* Pricing */
.pricing {
    padding: 80px 40px;
    background: var(--gray-900);
    color: white;
}
.pricing h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.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: 36px;
}
.pricing-card.featured {
    background: rgba(194,34,50,0.12);
    border-color: var(--primary);
    position: relative;
    transform: scale(1.03);
}
.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 .plan-desc { font-size: 14px; color: var(--gray-400); margin-bottom: 16px; }
.pricing-card .price {
    font-size: 44px;
    font-weight: 900;
    margin: 16px 0;
    font-family: 'Montserrat', sans-serif;
}
.pricing-card .price span { font-size: 16px; font-weight: 500; color: var(--gray-400); }
.pricing-card ul {
    list-style: none;
    margin: 24px 0;
    font-size: 14px;
    color: var(--gray-300);
}
.pricing-card ul li {
    padding: 7px 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;
}

/* FAQ */
.faq-section {
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.15s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question .arrow { transition: transform 0.2s; font-size: 14px; color: var(--gray-400); }
.faq-question.open .arrow { transform: rotate(180deg); }
.faq-answer {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    background: white;
    display: none;
}
.faq-answer.open { display: block; }

/* CTA banner */
.cta-banner {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #8B1520 100%);
    text-align: center;
    color: white;
}
.cta-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.cta-banner .btn {
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 17px;
    padding: 16px 36px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.cta-banner .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

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

/* ========== GRIDS ========== */
.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 h3 { color: var(--gray-600); font-size: 16px; margin-bottom: 4px; }
.empty-state p { font-size: 14px; }

/* ========== ANIMATIONS ========== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    animation: slideUp 0.4s ease-out;
}

/* ========== 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; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-cta { justify-content: center; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Legal content pages (Terms, Privacy) */
.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 20px 0 8px;
}
.legal-content p {
    margin: 0 0 12px;
}
.legal-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
}
.legal-content li {
    margin-bottom: 6px;
}
.legal-content h2:first-child {
    margin-top: 0;
}

@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
    .hero { padding: 50px 20px 40px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-grid { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; gap: 30px; }
    .results-grid { grid-template-columns: 1fr 1fr; }
    .social-proof-stats { flex-wrap: wrap; gap: 30px; }
    .public-nav { padding: 12px 20px; }
    .public-nav-links { gap: 15px; }
    .public-nav-links a:not(.btn) { display: none; }
    .page-content { padding: 15px; }
    .top-bar { padding: 12px 15px; }
    .cta-banner h2 { font-size: 28px; }
    .faq-section { padding: 60px 20px; }
}
