@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --it-bg-0: #07131d;
  --it-bg-1: #0f2333;
  --it-bg-2: #12364f;
  --it-panel: rgba(10, 24, 36, 0.75);
  --it-panel-border: rgba(134, 216, 255, 0.22);
  --it-text: #e7f6ff;
  --it-muted: #a6c6d8;
  --it-accent: #39d98a;
  --it-accent-2: #57b7ff;
  --it-danger: #ff6f7d;
}

.it-shell {
  background:
    radial-gradient(1200px 560px at 10% -10%, rgba(87, 183, 255, 0.35), transparent 60%),
    radial-gradient(900px 480px at 90% -30%, rgba(57, 217, 138, 0.28), transparent 60%),
    linear-gradient(140deg, var(--it-bg-0) 0%, var(--it-bg-1) 45%, var(--it-bg-2) 100%);
  min-height: 100vh;
  color: var(--it-text);
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
}

.it-shell main,
.it-shell footer {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.it-hero {
  padding-top: 56px;
  padding-bottom: 24px;
}

.it-kicker {
  display: inline-flex;
  border: 1px solid var(--it-panel-border);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--it-muted);
  background: rgba(7, 19, 29, 0.48);
}

.it-hero h1 {
  margin: 18px 0 10px;
  line-height: 1.05;
  font-size: clamp(2rem, 6vw, 4.1rem);
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
}

.it-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--it-muted);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.it-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.it-btn {
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  padding: 11px 16px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

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

.it-btn-primary {
  background: linear-gradient(120deg, var(--it-accent), #2cf9bd);
  color: #052017;
  box-shadow: 0 10px 26px rgba(57, 217, 138, 0.33);
}

.it-btn-secondary {
  background: rgba(10, 25, 39, 0.68);
  color: var(--it-text);
  border: 1px solid rgba(87, 183, 255, 0.34);
}

.it-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.it-metric {
  background: var(--it-panel);
  border: 1px solid var(--it-panel-border);
  border-radius: 14px;
  padding: 14px;
}

.it-metric strong {
  display: block;
  font-size: 1.55rem;
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  margin-bottom: 5px;
}

.it-metric span {
  color: var(--it-muted);
  font-size: 0.9rem;
}

.it-grid {
  margin-top: 30px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.it-card {
  background: var(--it-panel);
  border: 1px solid var(--it-panel-border);
  border-radius: 14px;
  padding: 16px;
}

.it-card h3 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
}

.it-card p {
  margin: 0;
  color: var(--it-muted);
}

.it-footer {
  padding-top: 22px;
  padding-bottom: 36px;
  color: var(--it-muted);
  border-top: 1px solid rgba(87, 183, 255, 0.24);
}

.it-dashboard-shell {
  padding: 20px 36px 34px;
}

.it-dashboard-hero {
  border: 1px solid var(--it-panel-border);
  border-radius: 16px;
  background: linear-gradient(130deg, rgba(15, 35, 51, 0.72), rgba(7, 19, 29, 0.9));
  padding: 22px;
}

.it-dashboard-hero h1 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
}

.it-status-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.it-status-box {
  border-radius: 12px;
  border: 1px solid var(--it-panel-border);
  background: rgba(8, 22, 33, 0.7);
  padding: 12px;
}

.it-status-box .label {
  color: var(--it-muted);
  display: block;
  font-size: 0.86rem;
}

.it-status-box .value {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
}

.it-modules {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.it-module {
  border-radius: 14px;
  border: 1px solid var(--it-panel-border);
  background: rgba(8, 21, 32, 0.78);
  padding: 16px;
}

.it-module h3 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
}

.it-module p {
  margin: 0 0 14px;
  color: var(--it-muted);
  min-height: 42px;
}

.it-module a {
  display: inline-block;
  text-decoration: none;
  color: #051a28;
  background: linear-gradient(120deg, var(--it-accent-2), #8fd0ff);
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .it-metrics,
  .it-grid,
  .it-modules,
  .it-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .it-shell main,
  .it-shell footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .it-dashboard-shell {
    padding: 14px;
  }

  .it-metrics,
  .it-grid,
  .it-modules,
  .it-status-grid {
    grid-template-columns: 1fr;
  }
}
