﻿:root {
    --bg-dark-navy: #0A192F;
    --card-navy: #112240;
    --accent-teal: #00CFDE;
    --accent-red: #FF4D4F;
    --text-light: #CCD6F6;
    --text-mid: #8892B0;
    --border-color: #233554;
    --wa-green: #25D366;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark-navy);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}
.container { max-width: 650px; margin: 0 auto; padding: 20px; text-align: center; }

header { padding: 30px 0 0; font-family: 'Roboto Mono', monospace; font-size: 1.5rem; color: var(--accent-teal); text-align: center; }

/* --- Titan Style Status Bar (Adapted for Aura) --- */
.live-status-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-mid);
    background: rgba(17, 34, 64, 0.8);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid var(--border-color); 
    border-left: 4px solid var(--accent-red); /* Red left border */
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.status-icon { 
    color: var(--accent-red); 
    animation: pulseRed 1.5s infinite; 
    font-size: 1rem; 
}
@keyframes pulseRed { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.highlight-val { color: var(--text-light); font-weight: 700; margin: 0 3px; }
.warning-text { color: var(--accent-red); font-weight: 700; margin-left: 8px; }


h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; color: #fff; }
h1 .highlight { color: var(--accent-teal); }
.sub-text { color: var(--text-mid); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }

/* Form */
.hero-form { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; }
.hero-input {
    background: var(--card-navy); border: 1px solid var(--border-color);
    color: var(--text-light); padding: 15px; font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem; width: 100%; border-radius: 6px; outline: none; text-transform: uppercase;
}
.hero-input:focus { border-color: var(--accent-teal); box-shadow: 0 0 0 3px rgba(0, 207, 222, 0.2); }
.hero-input::placeholder { color: #4A5568; }
.hero-btn { 
    white-space: nowrap; background: var(--accent-teal); color: var(--bg-dark-navy);
    border: none; padding: 15px 30px; font-size: 1.1rem; border-radius: 6px;
    font-weight: 700; text-transform: uppercase; cursor: pointer; transition: all 0.3s;
}
.hero-btn:hover { background-color: #fff; transform: translateY(-2px); }

/* Live Feed */
.live-feed-container {
    height: 120px; overflow: hidden; position: relative;
    margin: 20px auto; border: 1px solid var(--border-color);
    background: var(--card-navy); border-radius: 6px; padding: 10px;
}
.live-feed-item {
    display: flex; justify-content: space-between;
    font-family: 'Roboto Mono', monospace; font-size: 0.8rem;
    padding: 5px; color: var(--text-mid); animation: fade-in 0.5s ease;
}
.live-feed-item .status-ok { color: #00C49A; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Value Grid */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; text-align: left; }
.value-item { border-top: 2px solid var(--border-color); padding-top: 15px; }
.value-item:nth-child(1) { border-color: var(--accent-teal); }
.value-item:nth-child(2) { border-color: #C586C0; }
.value-item:nth-child(3) { border-color: #4EC9B0; }
.value-title { font-size: 1rem; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; color: var(--text-light); }
.value-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.5; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.9); backdrop-filter: blur(8px); z-index: 1000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { display: flex; opacity: 1; }

.modal-box { background: var(--card-navy); color: var(--text-light); border: 1px solid var(--border-color); width: 90%; max-width: 400px; padding: 32px; border-radius: 8px; text-align: center; transform: translateY(20px); transition: transform 0.3s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-title { color: var(--accent-teal); font-size: 1.5rem; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
.modal-desc { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }

/* Progress Bars */
.prog-item { margin-bottom: 15px; }
.prog-label { display: flex; justify-content: space-between; color: var(--text-mid); font-size: 0.8rem; margin-bottom: 5px; text-transform: uppercase; font-family: 'Roboto Mono'; }
.prog-track { background: var(--bg-dark-navy); height: 8px; border-radius: 4px; overflow: hidden; border: 1px solid var(--border-color); }
.prog-fill { height: 100%; width: 0%; background: var(--accent-teal); transition: width 0.1s; }

.btn-whatsapp-confirm { background: var(--wa-green); color: white; width: 100%; display: block; padding: 16px; border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: 0.2s; }
.btn-whatsapp-confirm:hover { background: #1DA851; transform: translateY(-2px); }

.btn-cancel { background: transparent; color: var(--text-mid); border: none; font-size: 0.9rem; cursor: pointer; margin-top: 15px; text-decoration: underline; font-family: 'Roboto Mono'; }

@media(max-width: 600px) { h1 { font-size: 2.5rem; } .value-grid { grid-template-columns: 1fr; } .hero-form { flex-direction: column; } .hero-btn { width: 100%; } }