:root {
    --bg-dark: #0f111a;
    --bg-card: rgba(22, 25, 37, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --status-ok: #10b981;
    --status-ok-bg: rgba(16, 185, 129, 0.15);
    --status-ok-border: rgba(16, 185, 129, 0.3);
    
    --status-error: #ef4444;
    --status-error-bg: rgba(239, 68, 68, 0.15);
    --status-error-border: rgba(239, 68, 68, 0.3);
    
    --status-loading: #64748b;
    --status-loading-bg: rgba(100, 116, 139, 0.15);
    
    --glow-orb-1: rgba(99, 102, 241, 0.15);
    --glow-orb-2: rgba(168, 85, 247, 0.15);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
}

.orb-1 {
    top: -100px;
    left: -200px;
    background: var(--glow-orb-1);
    animation: float 10s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: -100px;
    right: -200px;
    background: var(--glow-orb-2);
    animation: float 12s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Main Layout */
.container {
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.logo svg {
    color: #818cf8;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Hero Status Card */
.hero-status {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.hero-status.status-ok {
    border-color: var(--status-ok-border);
    box-shadow: 0 0 40px var(--status-ok-bg);
}

.hero-status.status-error {
    border-color: var(--status-error-border);
    box-shadow: 0 0 40px var(--status-error-bg);
}

.pulse-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.status-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    z-index: 2;
}

/* Operational Pulse */
.status-indicator.operational {
    background-color: var(--status-ok);
    box-shadow: 0 0 15px var(--status-ok);
}
.hero-status.status-ok .pulse-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--status-ok);
    opacity: 0.4;
    animation: pulse 2s infinite;
}

/* Outage Pulse */
.status-indicator.outage {
    background-color: var(--status-error);
    box-shadow: 0 0 15px var(--status-error);
}
.hero-status.status-error .pulse-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--status-error);
    opacity: 0.4;
    animation: pulse 1.5s infinite;
}

/* Loading Pulse */
.status-indicator.loading {
    background-color: var(--status-loading);
}

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

.hero-status h1 {
    font-size: 2.2rem;
    font-weight: 600;
}

.hero-status p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Badges */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.operational {
    background: var(--status-ok-bg);
    color: var(--status-ok);
    border: 1px solid var(--status-ok-border);
}

.badge.outage {
    background: var(--status-error-bg);
    color: var(--status-error);
    border: 1px solid var(--status-error-border);
}

.badge.loading {
    background: var(--status-loading-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Footer */
footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
