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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: #e8f0ff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 17, 31, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(120, 170, 255, 0.12);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #28c7ff;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #d7e6ff;
    font-size: 0.98rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #28c7ff;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 42px;
    align-items: center;
    padding: 70px 0 40px;
}

.eyebrow {
    color: #25c8ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.3rem;
    line-height: 1.08;
    margin-bottom: 20px;
    color: #f5fbff;
}

.hero-text {
    max-width: 720px;
    font-size: 1.08rem;
    color: #afc3dd;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: 1px solid transparent;
}

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

.btn-primary {
    background: linear-gradient(135deg, #18c8ff, #2ba3ff);
    color: #03111d;
    box-shadow: 0 10px 25px rgba(24, 200, 255, 0.18);
}

.btn-primary:hover {
    box-shadow: 0 14px 34px rgba(24, 200, 255, 0.28);
}

.btn-secondary {
    background: transparent;
    color: #dce9ff;
    border: 1px solid rgba(112, 160, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(44, 92, 163, 0.18);
    border-color: rgba(112, 160, 255, 0.4);
}

/* CARDS */
.card {
    background: linear-gradient(180deg, rgba(21, 36, 60, 0.92), rgba(14, 28, 48, 0.95));
    border: 1px solid rgba(111, 159, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.overview-card {
    padding: 24px;
}

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

.card-header h3 {
    font-size: 1.2rem;
    color: #37d2ff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #82ffbc;
    background: rgba(0, 255, 128, 0.12);
    border: 1px solid rgba(0, 255, 128, 0.2);
}

.terminal-box {
    background: #08111d;
    border: 1px solid rgba(114, 164, 255, 0.12);
    border-radius: 16px;
    padding: 20px;
}

.terminal-box p {
    margin-bottom: 8px;
    color: #d7e7ff;
    word-break: break-word;
}

.terminal-box p:last-child {
    margin-bottom: 0;
}

.terminal-label {
    color: #31df72;
    font-weight: 700;
}

/* STATUS SECTION */
.status-section {
    padding: 35px 0 80px;
}

.status-section h2,
.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: #f5fbff;
}

.section-subtitle,
.page-intro {
    color: #9eb4cf;
    margin-bottom: 28px;
    max-width: 820px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.metric-card {
    padding: 22px;
}

.metric-card h3 {
    font-size: 1.05rem;
    color: #2cd0ff;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #39ff88;
    box-shadow: 0 0 12px rgba(57, 255, 136, 0.6);
}

pre {
    margin-top: 8px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.95rem;
    color: #dce8f8;
    background: #08111d;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(114, 164, 255, 0.1);
    overflow-x: auto;
}

/* PAGE HEADER */
.page-header {
    padding: 65px 0 24px;
}

.page-header h1 {
    margin-bottom: 14px;
}

/* ABOUT */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.info-card {
    padding: 26px;
    min-height: 250px;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #f3fbff;
}

.info-card p,
.info-card li {
    color: #c0d1e6;
}

.info-card ul {
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 10px;
}

.wide-card-section {
    padding-bottom: 70px;
}

.wide-card {
    padding: 34px;
    text-align: center;
}

.wide-card h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #f5fbff;
}

.wide-card p {
    color: #c7d7eb;
    max-width: 850px;
    margin: 0 auto;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 70px;
}

.project-card {
    padding: 26px;
    min-height: 255px;
}

.project-card h3 {
    font-size: 1.22rem;
    margin-bottom: 14px;
    color: #f4fbff;
}

.project-card p {
    color: #bdd0e5;
    margin-bottom: 18px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(28, 176, 255, 0.14);
    color: #54d8ff;
    border: 1px solid rgba(28, 176, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 700;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(120, 170, 255, 0.12);
    padding: 24px 0 34px;
    text-align: center;
    color: #9bb2cd;
    font-size: 0.95rem;
}

/* HOVER EFFECTS */
.info-card:hover,
.project-card:hover,
.metric-card:hover,
.overview-card:hover,
.wide-card:hover {
    transform: translateY(-4px);
    transition: 0.25s ease;
    border-color: rgba(74, 170, 255, 0.26);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* LEVEL 2 METRICS */
.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: #f5fbff;
    margin-bottom: 14px;
}

.progress-bar {
    width: 100%;
    height: 14px;
    background: #08111d;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(114, 164, 255, 0.12);
    margin-bottom: 14px;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #18c8ff, #39ff88);
    transition: width 0.4s ease;
}

.metric-subtext {
    color: #c6d6ea;
    font-size: 0.95rem;
    margin-top: 6px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .status-grid,
    .info-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.7rem;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding: 16px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero {
        padding-top: 50px;
    }

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

    .hero-text,
    .page-intro,
    .section-subtitle {
        font-size: 1rem;
    }

    .status-section h2,
    .page-header h1,
    .wide-card h2 {
        font-size: 1.8rem;
    }

    .card,
    .metric-card,
    .project-card,
    .info-card,
    .wide-card {
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .logo {
        font-size: 1.35rem;
    }

    .nav-links a {
        font-size: 0.92rem;
    }
}
.services-section {
    padding: 0 0 20px;
}

.services-card {
    padding: 22px;
}

.last-updated {
    color: #a7bedb;
    font-size: 0.9rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #08111d;
    border: 1px solid rgba(114, 164, 255, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    color: #dce9ff;
}

.service-badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-running {
    color: #82ffbc;
    background: rgba(0, 255, 128, 0.12);
    border: 1px solid rgba(0, 255, 128, 0.2);
}

.service-stopped {
    color: #ff9b9b;
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.service-unknown {
    color: #ffd37a;
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.history-bars {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 70px;
    margin-top: 14px;
    padding-top: 8px;
}

.history-bar {
    flex: 1;
    min-height: 6px;
    border-radius: 6px 6px 2px 2px;
    transition: height 0.4s ease;
}

.history-good {
    background: linear-gradient(180deg, #39ff88, #18c8ff);
}

.history-warn {
    background: linear-gradient(180deg, #ffd166, #ff9f1c);
}

.history-danger {
    background: linear-gradient(180deg, #ff6b6b, #ff3b3b);
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}
