
:root {
    --bg-dark: #07090d;
    --card-bg: rgba(13, 20, 32, 0.55);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f4f8;
    --text-secondary: #8a9cb5;
    --accent-green: #00e676;
    
    --accent-color: #d500f9;
    --accent-glow: rgba(213, 0, 249, 0.15);
    
}

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

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

/* Glow spheres */
.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.main-glow {
    top: 20%; left: 10%; width: 350px; height: 350px;
    background: var(--accent-glow);
}

.sub-glow {
    bottom: 10%; right: 10%; width: 450px; height: 450px;
    background: rgba(255,255,255,0.02);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    background: rgba(7, 9, 13, 0.7);
    backdrop-filter: blur(8px);
}

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

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.accent-orange { color: #ff6b00; }
.accent-green { color: #00e676; }
.accent-blue { color: #00b0ff; }
.accent-purple { color: #d500f9; }
.accent-yellow { color: #ffd600; }
.accent-pink { color: #ff007f; }
.accent-leaf { color: #76ff03; }
.accent-teal { color: #1de9b6; }

.btn {
    font-family: 'Outfit', sans-serif;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0 40px 0;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

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

.pulse-badge {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
    margin-top: 24px;
}

.showcase-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
}

.showcase-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.showcase-item p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* Terminal style logs */
.terminal-box {
    background: #040507;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.terminal-header {
    background: #0d1117;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.term-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
}

.term-title {
    color: var(--text-secondary);
    font-size: 11px;
    font-family: monospace;
    margin-left: 10px;
}

.terminal-body {
    padding: 16px;
    font-family: monospace;
    font-size: 12px;
    max-height: 150px;
    overflow-y: auto;
    text-align: left;
}

.log-line {
    margin-bottom: 6px;
}

.log-time { color: #5a6e85; }
.log-info { color: #00b0ff; }
.log-success { color: var(--accent-green); }

/* Tables */
.table-container {
    overflow-x: auto;
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.audit-table th {
    border-bottom: 1px solid var(--border-color);
    padding: 12px;
    color: var(--text-secondary);
}

.audit-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.status-pill {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pill.success { background: rgba(0, 230, 118, 0.08); color: var(--accent-green); border: 1px solid rgba(0, 230, 118, 0.2); }
.status-pill.attempt { background: rgba(0, 176, 255, 0.08); color: #00b0ff; border: 1px solid rgba(0, 176, 255, 0.2); }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active { display: flex; }

.modal-card {
    max-width: 400px;
    width: 100%;
    padding: 32px;
    margin: 20px;
}

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

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
}

.provider-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.provider-btn {
    font-family: 'Outfit', sans-serif;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.provider-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-color);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: #040507;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 12px;
}

.ip-pill {
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    border-radius: 4px;
}
