/* GLOBAL */

body{
background:#0b1220;
color:white;
font-family:system-ui, Arial, sans-serif;
margin:0;
line-height:1.5;
}

.container{
max-width:1200px;
margin:auto;
padding:40px 20px;
}


/* HEADER */

header{
border-bottom:1px solid #1f2a44;
padding:20px 0;
background:#0b1220;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:28px;
font-weight:bold;
color:#4ea1ff;
}

.menu a{
margin-left:20px;
color:#a0aec0;
text-decoration:none;
font-weight:500;
}

.menu a:hover{
color:white;
}


/* HERO */

.hero{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
padding:60px 0;
}

.hero h1{
font-size:48px;
margin-bottom:20px;
}

.hero p{
color:#9ca3af;
font-size:18px;
margin-bottom:20px;
}


/* FEATURES */

.features li{
margin:8px 0;
color:#cbd5e1;
}


/* BUTTON */

.btn{
display:inline-block;
background:#2563eb;
padding:12px 24px;
border-radius:6px;
color:white;
text-decoration:none;
margin-top:20px;
font-weight:600;
transition:all .2s ease;
}

.btn:hover{
background:#1d4ed8;
transform:translateY(-1px);
}


/* ROBOT IMAGE */

.robot{
text-align:center;
}

.robot img{
width:350px;
border-radius:12px;
box-shadow:0 20px 40px rgba(0,0,0,.5);
}


/* INSTALL SECTION */

.install{
background:#0f172a;
padding:60px 0;
border-top:1px solid #1f2a44;
border-bottom:1px solid #1f2a44;
text-align:center;
}

.codebox{
background:#020617;
color:#4cff9a;
padding:20px;
border-radius:8px;
font-family:monospace;
max-width:700px;
margin:auto;
border:1px solid #1e293b;
}


/* GRID LAYOUT */

.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:40px;
}


/* CARDS */

.card{
background:#111827;
padding:30px;
border:1px solid #1f2a44;
border-radius:10px;
box-shadow:0 4px 12px rgba(0,0,0,.4);
transition:all .2s ease;
}

.card:hover{
border-color:#334155;
transform:translateY(-2px);
}


/* DASHBOARD STATS */

.stat-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-bottom:40px;
}

.stat{
background:#111827;
padding:20px;
border-radius:10px;
border:1px solid #1f2a44;
box-shadow:0 2px 8px rgba(0,0,0,.4);
position:relative;
transition:all .2s ease;
}

.stat:hover{
border-color:#334155;
transform:translateY(-2px);
}

.stat h3{
margin:0;
font-size:14px;
color:#9ca3af;
}

.stat .value{
font-size:28px;
margin-top:10px;
font-weight:600;
color:white;
}

/* accent bars */

.stat:before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:4px;
background:#4ea1ff;
border-radius:10px 0 0 10px;
}

.stat:nth-child(2):before{
background:#ff5c5c;
}

.stat:nth-child(3):before{
background:#4cff9a;
}

.stat:nth-child(4):before{
background:#ffc84d;
}


/* GOOD / BAD VALUES */

.bad{
color:#ff5c5c;
font-weight:600;
}

.good{
color:#4cff9a;
font-weight:600;
}


/* DASHBOARD GRID */

.dashboard-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
}


/* TABLE */

.table{
width:100%;
border-collapse:collapse;
background:#111827;
border:1px solid #1f2a44;
border-radius:10px;
overflow:hidden;
}

.table th{
text-align:left;
padding:12px;
border-bottom:1px solid #1f2a44;
color:#9ca3af;
font-weight:500;
}

.table td{
padding:12px;
border-bottom:1px solid #0f172a;
}

.table tr:hover{
background:#1e293b;
}


/* CHART */

.chart{
height:200px;
background:#111827;
border-radius:10px;
border:1px solid #1f2a44;
display:flex;
align-items:center;
justify-content:center;
color:#6b7280;
margin-bottom:20px;
box-shadow:0 2px 8px rgba(0,0,0,.4);
}


/* FOOTER */

footer{
border-top:1px solid #1f2a44;
margin-top:60px;
padding:20px;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
color:#94a3b8;
font-size:14px;
background:#0b1220;
}

footer a{
color:#94a3b8;
margin-left:15px;
text-decoration:none;
}

footer a:hover{
color:white;
}


/* MOBILE */

@media(max-width:900px){

.hero{
grid-template-columns:1fr;
text-align:center;
}

.grid{
grid-template-columns:1fr;
}

.stat-grid{
grid-template-columns:1fr;
}

.dashboard-grid{
grid-template-columns:1fr;
}

}