/* =====================================================
   AfghanOne Cloud
   Cloud Center
   Version: Alpha 2.0
===================================================== */

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

:root{
  --bg:#0f172a;
  --surface:#162236;
  --card:#1e293b;
  --border:#334155;
  --primary:#2563eb;
  --primary-hover:#1d4ed8;
  --text:#ffffff;
  --muted:#94a3b8;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6;
}

.container{
  width:min(92%,1400px);
  margin:30px auto;
  padding:0 20px;
}

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0 40px;
  flex-wrap:wrap;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:18px;
}

.logo{
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:30px;
  box-shadow:0 0 30px rgba(37,99,235,.35);
}

.brand h1{font-size:42px}
.brand p{color:var(--muted);font-size:18px}

nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

nav a{
  color:#dbeafe;
  text-decoration:none;
  font-weight:bold;
  transition:.25s;
}

nav a:hover{color:#fff}

.hero{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:40px;
  background:linear-gradient(180deg,#1e293b,#162236);
  border:1px solid var(--border);
  border-radius:22px;
  padding:60px;
  box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.hero-left{display:flex;flex-direction:column;justify-content:center}

.badge{
  display:inline-block;
  width:max-content;
  background:var(--primary);
  color:#fff;
  padding:8px 16px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:2px;
  margin-bottom:20px;
}

.hero h2{
  font-size:52px;
  line-height:1.15;
  margin-bottom:20px;
}

.hero p{
  color:#cbd5e1;
  font-size:20px;
  margin-bottom:35px;
}

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

.hero-buttons a{
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  padding:15px 28px;
  border-radius:10px;
  font-weight:bold;
  transition:.25s;
}

.hero-buttons a:hover{
  background:var(--primary-hover);
  transform:translateY(-2px);
}

.server-box{
  background:#0f172a;
  border:1px solid var(--border);
  border-radius:18px;
  padding:28px;
}

.server-box h3{
  margin-bottom:20px;
  text-align:center;
}

.status-line{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.status-line:last-child{border-bottom:none}

.modules,.overview{
  margin-top:60px;
}

.modules h2,.overview h2{
  font-size:34px;
  margin-bottom:25px;
}

.cards,.overview-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

.card,.overview-grid>div{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:30px;
  transition:.25s;
}

.card:hover,.overview-grid>div:hover{
  transform:translateY(-4px);
}

.card h3,.overview-grid h3{
  margin-bottom:12px;
  font-size:26px;
}

.card p,.overview-grid p{
  color:#cbd5e1;
}

footer{
  margin-top:70px;
  border-top:1px solid var(--border);
  padding:30px 0;
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  flex-wrap:wrap;
  gap:10px;
}

@media (max-width:900px){
  header{justify-content:center}
  .hero{grid-template-columns:1fr;padding:35px}
  .hero h2{font-size:38px}
  footer{justify-content:center;text-align:center}
}
