/* ==========================================================
   Coralina Edge Network
   File: css/style.css
   Version: 1.0
   ========================================================== */

:root{

    --primary:#F00606;
    --primary-light:#ff4545;
    --primary-soft:#fff1f1;

    --background:#f7f8fa;
    --card:#ffffff;

    --text:#1e2228;
    --text-light:#666f7a;

    --border:#e7eaef;

    --shadow-sm:0 4px 12px rgba(0,0,0,.05);
    --shadow-md:0 10px 30px rgba(0,0,0,.08);
    --shadow-lg:0 20px 60px rgba(0,0,0,.12);

    --radius:18px;

    --transition:.28s ease;

    --header-height:88px;

    --content-width:1600px;

    --grid-color:rgba(0,0,0,.035);

    --ok:#16b364;
    --warning:#ff9800;
    --danger:#F00606;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
        Calibri,
        "Segoe UI",
        Arial,
        sans-serif;

    background:var(--background);

    color:var(--text);

    min-height:100vh;

    overflow-x:hidden;

    position:relative;

}

img{

    display:block;

    max-width:100%;

}

a{

    color:inherit;

    text-decoration:none;

}

button{

    font:inherit;

}

.background-grid{

    position:fixed;

    inset:0;

    background-image:

        linear-gradient(
            var(--grid-color) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            var(--grid-color) 1px,
            transparent 1px
        );

    background-size:40px 40px;

    z-index:-3;

}

.background-glow{

    position:fixed;

    width:900px;
    height:900px;

    border-radius:50%;

    background:

        radial-gradient(
            circle,

            rgba(240,6,6,.08),

            transparent 70%
        );

    right:-250px;
    top:-250px;

    filter:blur(40px);

    z-index:-2;

}

.topbar{

    width:100%;

    height:var(--header-height);

    background:#ffffff;

    border-bottom:1px solid var(--border);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 40px;

    position:sticky;

    top:0;

    z-index:1000;

    backdrop-filter:blur(12px);

    box-shadow:var(--shadow-sm);

}

.brand{

    display:flex;

    align-items:center;

    gap:24px;

}

.logo{

    width:250px;

    height:auto;

    object-fit:contain;

}

.brand-text{

    display:flex;

    flex-direction:column;

    gap:4px;

}

.brand-text h1{

    font-size:28px;

    font-weight:700;

    letter-spacing:.2px;

}

.brand-text span{

    color:var(--text-light);

    font-size:15px;

}

.top-status{

    display:flex;

    align-items:center;

    gap:28px;

}

.status-item{

    display:flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:100px;

    background:#fff;

    border:1px solid var(--border);

}

.status-dot{

    width:12px;
    height:12px;

    border-radius:50%;

    background:var(--ok);

    box-shadow:

        0 0 14px rgba(22,179,100,.5);

    animation:pulse 2s infinite;

}

.utc{

    display:flex;

    align-items:center;

    gap:8px;

}

.utc-label{

    color:var(--text-light);

    font-size:14px;

}

#utcClock{

    font-weight:700;

    font-size:18px;

}

main{

    width:min(100%, var(--content-width));

    margin:auto;

    padding:40px;

}

.hero{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:32px;

    margin-bottom:36px;

}

.hero-left{

    background:var(--card);

    border-radius:var(--radius);

    border:1px solid var(--border);

    box-shadow:var(--shadow-sm);

    padding:40px;

}

.hero-left h2{

    font-size:40px;

    margin-bottom:20px;

}

.hero-left p{

    color:var(--text-light);

    font-size:18px;

    line-height:1.8;

}

.hero-right{

    display:flex;

}

.hero-card{

    width:100%;

    border-radius:var(--radius);

    background:linear-gradient(
        135deg,
        #ffffff,
        #fafafa
    );

    border:1px solid var(--border);

    box-shadow:var(--shadow-md);

    padding:34px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.hero-title{

    font-size:15px;

    color:var(--text-light);

    text-transform:uppercase;

    letter-spacing:1px;

}

.hero-value{

    font-size:62px;

    font-weight:700;

    color:var(--primary);

    margin:14px 0;

}

.hero-subtitle{

    color:var(--text-light);

}

.gauges-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

    margin-bottom:36px;

}

.gauge-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:var(--shadow-sm);

    padding:24px;

    transition:var(--transition);

}

.gauge-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-lg);

}

.card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.card-header span:first-child{

    color:var(--text-light);

    font-size:15px;

}

.value{

    font-weight:700;

    font-size:20px;

    color:var(--primary);

}

.gauge{

    display:flex;

    justify-content:center;

    align-items:center;

    height:230px;

}

.panel{

    background:#fff;

    border-radius:var(--radius);

    border:1px solid var(--border);

    box-shadow:var(--shadow-sm);

}

.panel-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:24px 28px;

    border-bottom:1px solid var(--border);

}

.panel-header h3{

    font-size:22px;

}

.panel-header span{

    color:var(--text-light);

}

footer{

    border-top:1px solid var(--border);

    background:#fff;

    margin-top:40px;

    padding:24px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:var(--text-light);

}

.footer-left{

    display:flex;

    gap:16px;

    align-items:center;

}

.footer-center{

    font-size:14px;

}

.footer-right{

    color:var(--ok);

    font-weight:600;

}

@keyframes pulse{

    0%{

        transform:scale(1);

        opacity:1;

    }

    50%{

        transform:scale(1.35);

        opacity:.55;

    }

    100%{

        transform:scale(1);

        opacity:1;

    }

}