:root {
  --brand: #2A7AC4;
  --brand-2: #1E60A0;
  --brand-light: #60C0E0;
  --brand-dark: #133F70;
  --brand-grad: linear-gradient(135deg, #60C0E0 0%, #2A7AC4 50%, #1E60A0 100%);
  --bg: #0B1E36;
  --bg-2: #0F2748;
  --surface: #ffffff;
  --surface-2: #F4F8FC;
  --border: #DDE6F0;
  --ink: #0E1B2E;
  --ink-2: #354B6A;
  --muted: #6F8198;
  --ok: #16a34a;
  --warn: #f59e0b;
  --err: #ef4444;
  --shadow: 0 8px 24px rgba(15, 39, 72, 0.08);
  --radius: 14px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: none;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all 0.15s ease; text-decoration: none;
}
.btn-primary {
  background: var(--brand-grad); color: white;
  box-shadow: 0 4px 12px rgba(42, 122, 196, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(42, 122, 196, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: white;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(42, 122, 196, 0.4);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .gileade { color: white; font-weight: 800; font-size: 1.1rem; letter-spacing: 1px; }
.brand-name .telecom { color: var(--brand-light); font-weight: 600; font-size: 0.72rem; letter-spacing: 2px; margin-top: 3px; }
.brand-sub {
  background: rgba(96, 192, 224, 0.15);
  color: var(--brand-light);
  font-size: 0.72rem; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; letter-spacing: 1px; text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 0.92rem;
  transition: all 0.15s;
}
.site-nav a:hover { color: white; background: rgba(255,255,255,0.06); }
.site-nav .nav-cta {
  background: rgba(96, 192, 224, 0.15);
  color: var(--brand-light);
  border: 1px solid rgba(96, 192, 224, 0.3);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0B1E36 0%, #133F70 60%, #1E60A0 100%);
  color: white; padding: 70px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(96, 192, 224, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(42, 122, 196, 0.3), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; background: rgba(96, 192, 224, 0.18);
  color: var(--brand-light); padding: 6px 14px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.3px;
  border: 1px solid rgba(96, 192, 224, 0.25);
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800;
  margin: 18px 0 18px; line-height: 1.1; letter-spacing: -0.5px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand-light), #ffffff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: 1.13rem; color: rgba(255,255,255,0.85);
  max-width: 720px; margin: 0 0 26px;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 20px;
  font-family: var(--mono); font-size: 0.86rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards */
main.container { padding-top: 40px; padding-bottom: 40px; }
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 22px;
  border: 1px solid var(--border); overflow: hidden;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #FAFCFE 0%, var(--surface) 100%);
}
.card-head h2 {
  margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.card-head h2 i { color: var(--brand); font-size: 1.4rem; }
.btn-run {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--ink-2); padding: 8px 14px; border-radius: 8px;
  font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.15s;
}
.btn-run:hover { background: var(--brand); color: white; border-color: var(--brand); }
.btn-run.running { background: var(--brand-light); color: white; }

.card-body { padding: 22px; }
.metric-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px; margin-bottom: 18px;
}
.metric-grid.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.metric {
  background: var(--surface-2); border-radius: 10px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--border);
}
.metric-label {
  font-size: 0.78rem; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 5px;
}
.metric-value {
  font-family: var(--mono); font-size: 1.7rem; font-weight: 700;
  color: var(--ink); line-height: 1;
}
.metric.big .metric-value { font-size: 2.4rem; color: var(--brand); }
.metric-unit { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

.progress {
  height: 6px; background: var(--border); border-radius: 3px;
  overflow: hidden; margin: 14px 0 12px;
}
.progress-bar {
  height: 100%; width: 0%;
  background: var(--brand-grad); border-radius: 3px;
  transition: width 0.3s ease;
}

.log {
  font-family: var(--mono); font-size: 0.82rem;
  background: var(--bg); color: #cfe2f3;
  padding: 12px 14px; border-radius: 8px;
  max-height: 160px; overflow-y: auto;
  margin: 0; white-space: pre-wrap; word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--bg); color: rgba(255,255,255,0.7);
  padding: 40px 0 24px; margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px; margin-bottom: 30px;
}
.footer-brand { color: white; font-weight: 800; font-size: 1.05rem; letter-spacing: 1px; margin-bottom: 8px; }
.footer-tag { font-size: 0.9rem; margin: 0; }
.footer-label {
  color: var(--brand-light); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--brand-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.85rem;
}
.footer-credit { color: var(--brand-light); }

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 2rem; }
}
