:root {
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-dark: #11131a;
    --bg-surface: #181a24;
    --card-bg: rgba(24, 26, 36, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-md: 12px;
    --radius-lg: 16px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Gradients to match landing page */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 10%, rgba(139, 92, 246, 0.1), transparent 50%), var(--bg-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

header {
    text-align: center;
    margin-bottom: 64px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.status-badge-overall {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 9999px;
    margin-top: 32px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-label {
    font-size: 0.875rem;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-weight: 500;
}

.uptime-bar {
    display: flex;
    gap: 3px;
    height: 36px;
    margin-bottom: 12px;
}

.uptime-segment {
    flex: 1;
    background: var(--success);
    border-radius: 2px;
    opacity: 0.8;
}

.uptime-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.report-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 12px 24px;
    border-radius: 8px;
    background: var(--text-main);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.report-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

@media (max-width: 640px) {
    .container { padding: 40px 16px; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
}
