* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

/* === DARK MODE === */
.theme-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

body.dark {
    background: #020617;
    color: #e5e7eb;
}

body.dark .top-bar,
body.dark .brand-footer {
    background: #020617;
}

body.dark .infra-card,
body.dark .gauge-box,
body.dark .details,
body.dark .map-wrapper {
    background: #020617;
    box-shadow: 0 0 0 1px #1e293b;
}

body.dark .notice {
    background: #020617;
    border-color: #2563eb;
}

body.dark svg rect {
    fill: #020617;
}

body.dark .map-wrapper text {
    fill: #e5e7eb;
}

body {
    margin: 0;
    background: #f8fafc;
    color: #0f172a;
}

a {
    text-decoration: none;
}

.top-bar {
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.brand {
    font-weight: 700;
    letter-spacing: .05em;
    font-size: 14px;
}

.status {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
}

.status.ok {
    background: #dcfce7;
    color: #166534;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
    70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.wrapper {
    max-width: 880px;
    margin: 45px auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.statement, .details, .notice {
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
}

.statement h1 {
    font-size: 24px;
    margin-bottom: 15px;
}

.details .row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
}

.notice {
    background: #f1f5f9;
    font-size: 13px;
    color: #475569;
}

.brand-footer {
    background: #020617;
    color: #e5e7eb;
    padding: 60px 20px 30px;
    text-align: center;
}

.brand-footer h3 {
    font-size: 18px;
    margin-bottom: 30px;
}

.brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 0 auto 40px;
}

.brand-card {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 25px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(56,189,248,.15);
}

.brand-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    color: #38bdf8;
}

.brand-card span {
    font-size: 13px;
    color: #94a3b8;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: .2s; }
.delay-2 { transition-delay: .4s; }
.delay-3 { transition-delay: .6s; }

copyright {
    font-size: 12px;
    color: #64748b;
}

.lang-switch {
    margin-bottom: 25px;
}

.lang-switch button {
    background: transparent;
    border: 1px solid #1e293b;
    color: #94a3b8;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s ease;
}

.lang-switch button:hover {
    background: #1e293b;
    color: #e5e7eb;
}

