:root {
  --ctl-bg: #0a0c10;
  --ctl-surface: #111318;
  --ctl-surface-2: #181c26;
  --ctl-border: #1e2330;
  --ctl-accent: #00AABB;
  --ctl-accent-2: #005577;
  --ctl-text: #e2e8f0;
  --ctl-muted: #64748b;
  --ctl-heading: #f1f5f9;
}

/* ── Base ─────────────────────────────────────── */
html, body { background: var(--ctl-bg); color: var(--ctl-text); font-family: 'Sora', Arial, sans-serif; }
a { color: var(--ctl-accent); text-decoration: none; }
a:hover { opacity: .85; }
h1, h2, h3, h4, h5, h6 { color: var(--ctl-heading); }
p { color: #94a3b8; }

/* ── Header ───────────────────────────────────── */
#ctl-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,12,16,.96);
  border-bottom: 1px solid var(--ctl-border);
  backdrop-filter: blur(12px);
}
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: 2px; color: var(--ctl-accent); }
.main-nav .nav-link { color: #94a3b8; font-size: 14px; font-weight: 500; padding: 8px 16px; }
.main-nav .nav-link:hover { color: var(--ctl-accent); }

/* ── Buttons ──────────────────────────────────── */
.btn-ctl {
  display: inline-block; padding: 9px 22px; border-radius: 6px;
  background: linear-gradient(135deg, #003366, var(--ctl-accent));
  color: #fff !important; font-weight: 600; font-size: 13px; border: none; cursor: pointer;
  transition: opacity .15s;
}
.btn-ctl:hover { opacity: .88; }
.btn-ctl-outline {
  background: transparent;
  border: 1.5px solid var(--ctl-accent);
  color: var(--ctl-accent) !important;
}
.btn-ctl-outline:hover { background: var(--ctl-accent); color: #000 !important; }
.btn-ctl.btn-sm { padding: 6px 16px; font-size: 12px; }
.btn-ctl.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-ctl-dark { background: var(--ctl-accent); color: #000 !important; }

/* ── Layout ───────────────────────────────────── */
main { padding-top: 64px; min-height: 80vh; }

/* ── Hero ─────────────────────────────────────── */
.ctl-hero {
  padding: 120px 0 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,170,187,.12) 0%, transparent 70%),
              linear-gradient(135deg, #0a0c10 0%, #0f1520 100%);
  text-align: center;
}
.ctl-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.12; margin-bottom: 20px; }
.ctl-hero .subtitle { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--ctl-accent); margin-bottom: 16px; }
.ctl-hero .lead { font-size: 18px; color: #94a3b8; max-width: 600px; margin: 0 auto 36px; }
.gradient-text { background: linear-gradient(135deg, #003366, var(--ctl-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Section ──────────────────────────────────── */
.ctl-section { padding: 80px 0; }
.ctl-section-title { margin-bottom: 48px; }
.ctl-section-title .label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ctl-accent); margin-bottom: 10px; }
.ctl-section-title h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; }

/* ── Cards ────────────────────────────────────── */
.ctl-card {
  background: var(--ctl-surface); border: 1px solid var(--ctl-border);
  border-radius: 12px; padding: 28px; height: 100%;
  transition: border-color .2s, transform .2s;
}
.ctl-card:hover { border-color: var(--ctl-accent); transform: translateY(-3px); }
.ctl-card .icon { font-size: 28px; color: var(--ctl-accent); margin-bottom: 16px; }
.ctl-card h5 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.ctl-card p { font-size: 14px; color: var(--ctl-muted); margin: 0; }
a.ctl-card { display: block; color: inherit; }

/* ── CTA Band ─────────────────────────────────── */
.ctl-cta-band {
  background: linear-gradient(135deg, #0f1520, #003366);
  border-radius: 16px; padding: 48px 40px; margin: 0 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.ctl-cta-band h4 { font-size: 24px; margin-bottom: 8px; }
.ctl-cta-band p { color: #94a3b8; margin: 0; }

/* ── Table ────────────────────────────────────── */
.ctl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ctl-table th { background: var(--ctl-bg); color: var(--ctl-muted); padding: 10px 16px; text-align: left; }
.ctl-table td { padding: 10px 16px; border-top: 1px solid var(--ctl-border); }
.ctl-table-wrap { background: var(--ctl-surface); border: 1px solid var(--ctl-border); border-radius: 8px; overflow: hidden; }

/* ── Footer ───────────────────────────────────── */
#ctl-footer { background: var(--ctl-surface); border-top: 1px solid var(--ctl-border); }
.footer-heading { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ctl-text); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--ctl-muted); font-size: 13px; }
.footer-links a:hover { color: var(--ctl-accent); }
.footer-bottom { border-top: 1px solid var(--ctl-border); }

/* ── Forms ────────────────────────────────────── */
.ctl-input {
  width: 100%; background: var(--ctl-bg); border: 1px solid var(--ctl-border);
  color: var(--ctl-text); border-radius: 6px; padding: 11px 14px;
  font-size: 14px; margin-bottom: 16px; font-family: inherit;
}
.ctl-input:focus { outline: 1px solid var(--ctl-accent); border-color: var(--ctl-accent); box-shadow: none; }
.ctl-input::placeholder { color: var(--ctl-muted); }

/* ── Badge / Status ───────────────────────────── */
.ctl-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.ctl-badge-green { background: #0d2a0d; color: #6ee7b7; }
.ctl-badge-red   { background: #2a0d0d; color: #fca5a5; }
.ctl-badge-blue  { background: #0a1a2a; color: #60a5fa; }
.ctl-badge-purple{ background: #1a0a4a; color: #a78bfa; }

/* ── Dashboard tiles ──────────────────────────── */
.dash-tile { background: var(--ctl-surface); border: 1px solid var(--ctl-border); border-radius: 12px; padding: 28px; display: block; color: inherit; transition: border-color .2s, transform .2s; }
.dash-tile:hover { border-color: var(--ctl-accent); transform: translateY(-2px); }
.dash-tile .icon { font-size: 28px; color: var(--ctl-accent); margin-bottom: 14px; }
.dash-tile h5 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.dash-tile p { font-size: 13px; color: var(--ctl-muted); margin: 0; }

/* ── Utility ──────────────────────────────────── */
.text-accent { color: var(--ctl-accent) !important; }
.text-muted  { color: var(--ctl-muted) !important; }
.mono        { font-family: 'SF Mono','Fira Code',monospace; }
.surface-box { background: var(--ctl-surface); border: 1px solid var(--ctl-border); border-radius: 8px; padding: 24px; }
