/* Techclick Simulator Hub — professional lab portal */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --tc-bg: #070b14;
  --tc-bg2: #0c1220;
  --tc-surface: #111827;
  --tc-card: #141c2e;
  --tc-card-hover: #1a2438;
  --tc-border: #243148;
  --tc-border-strong: #334155;
  --tc-text: #f1f5f9;
  --tc-text-dim: #94a3b8;
  --tc-muted: #64748b;
  --tc-accent: #ff7a1a;
  --tc-accent-2: #2563eb;
  --tc-accent-soft: rgba(255, 122, 26, 0.12);
  --tc-blue-soft: rgba(37, 99, 235, 0.14);
  --tc-good: #34d399;
  --tc-warn: #fbbf24;
  --tc-bad: #f87171;
  --tc-radius: 16px;
  --tc-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --tc-max: 1180px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1000px 480px at 8% -8%, rgba(255, 122, 26, 0.12), transparent 55%),
    radial-gradient(900px 420px at 92% 0%, rgba(37, 99, 235, 0.14), transparent 50%),
    linear-gradient(180deg, var(--tc-bg) 0%, var(--tc-bg2) 100%);
  color: var(--tc-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Topbar ─────────────────────────────────────────── */
.tc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36, 49, 72, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
}
.tc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--tc-text);
  text-decoration: none;
}
.tc-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--tc-accent) 0%, #e85d04 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(255, 122, 26, 0.25);
  overflow: hidden;
}
.tc-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.tc-brand-text small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tc-muted);
}
.tc-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tc-nav a, .tc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--tc-border);
  background: rgba(20, 28, 46, 0.7);
  color: var(--tc-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.tc-nav a:hover, .tc-btn:hover {
  border-color: rgba(255, 122, 26, 0.45);
  background: var(--tc-card-hover);
}
.tc-btn-primary {
  background: linear-gradient(180deg, #ff8b33, var(--tc-accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 26, 0.25);
}
.tc-btn-primary:hover {
  filter: brightness(1.05);
  border-color: transparent;
}
.tc-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--tc-text-dim);
}
.tc-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tc-accent), #2563eb);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}

/* ── Layout ─────────────────────────────────────────── */
.tc-container {
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 28px 24px 20px;
}

/* ── Hero ───────────────────────────────────────────── */
.tc-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tc-border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.08), transparent 40%),
    linear-gradient(225deg, rgba(37, 99, 235, 0.12), transparent 45%),
    var(--tc-surface);
  padding: 36px 36px 32px;
  margin-bottom: 22px;
  box-shadow: var(--tc-shadow);
}
.tc-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.18), transparent 70%);
  pointer-events: none;
}
.tc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tc-accent-soft);
  border: 1px solid rgba(255, 122, 26, 0.28);
  color: #ffb37a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tc-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.tc-hero p {
  margin: 0 0 22px;
  color: var(--tc-text-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
}
.tc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.tc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tc-stat {
  background: rgba(7, 11, 20, 0.45);
  border: 1px solid var(--tc-border);
  border-radius: 14px;
  padding: 14px 16px;
}
.tc-stat b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}
.tc-stat span {
  color: var(--tc-muted);
  font-size: 12px;
  font-weight: 600;
}

/* ── Notice ─────────────────────────────────────────── */
.notice {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--tc-text);
  line-height: 1.5;
}
.notice b { color: #93c5fd; }

/* ── Sections ───────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 14px;
}
.section-title {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tc-muted);
  font-weight: 700;
}
.section-sub {
  margin: 4px 0 0;
  color: var(--tc-text-dim);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Cards ──────────────────────────────────────────── */
.fw-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.fw-card {
  background: linear-gradient(180deg, rgba(26, 34, 52, 0.95), rgba(17, 24, 39, 0.98));
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius);
  padding: 20px;
  text-decoration: none;
  color: var(--tc-text);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.fw-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.55), transparent);
  opacity: 0;
  transition: opacity .18s ease;
}
.fw-card.active:hover {
  transform: translateY(-4px);
  background: var(--tc-card-hover);
  border-color: rgba(255, 122, 26, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.fw-card.active:hover::before { opacity: 1; }
.fw-card.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.fw-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.fw-card .vendor-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  flex: 0 0 auto;
}
.fw-card .vendor-logo.pan        { background: linear-gradient(135deg, #fa582d, #c2410c); }
.fw-card .vendor-logo.fortinet   { background: linear-gradient(135deg, #ee2e24, #991b1b); }
.fw-card .vendor-logo.cisco      { background: linear-gradient(135deg, #1ba0d7, #0e7490); }
.fw-card .vendor-logo.checkpoint { background: linear-gradient(135deg, #d92626, #7f1d1d); }
.fw-card .vendor-logo.juniper    { background: linear-gradient(135deg, #84b81a, #4d7c0f); }
.fw-card .vendor-logo.sonicwall  { background: linear-gradient(135deg, #f7a416, #b45309); }
.fw-card .vendor-logo.zscaler    { background: linear-gradient(135deg, #0062ff, #003a99); }
.fw-card .vendor-logo.f5         { background: linear-gradient(135deg, #e4002b, #7a0017); }
.fw-card .vendor-logo.forescout  { background: linear-gradient(135deg, #00a0e1, #005a7d); }
.fw-card .vendor-logo.tools      { background: linear-gradient(135deg, #ff7a1a, #7a3a08); }
.fw-card .vendor-logo.topology   { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.fw-card .vendor-logo.labs       { background: linear-gradient(135deg, #34d399, #0d9488); }
.fw-card h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.fw-card p {
  color: var(--tc-text-dim);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.fw-card .fw-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}
.fw-card .fw-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffb37a;
}
.fw-tag {
  background: rgba(255, 122, 26, 0.1);
  color: #ffb37a;
  border: 1px solid rgba(255, 122, 26, 0.28);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.fw-tag.coming {
  background: rgba(100, 116, 139, 0.12);
  color: var(--tc-muted);
  border-color: var(--tc-border);
}
.fw-tag.live {
  background: rgba(52, 211, 153, 0.12);
  color: var(--tc-good);
  border-color: rgba(52, 211, 153, 0.3);
}

/* ── Footer ─────────────────────────────────────────── */
.tc-footer {
  max-width: var(--tc-max);
  margin: 48px auto 0;
  padding: 24px;
  color: var(--tc-muted);
  font-size: 13px;
  border-top: 1px solid var(--tc-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
}
.tc-footer a {
  color: var(--tc-text-dim);
  text-decoration: none;
  font-weight: 600;
}
.tc-footer a:hover { color: var(--tc-accent); }

@media (max-width: 800px) {
  .tc-topbar { padding: 12px 16px; }
  .tc-container { padding: 20px 16px; }
  .tc-hero { padding: 24px 18px; }
  .tc-stats { grid-template-columns: 1fr 1fr; }
  .tc-nav .hide-sm { display: none; }
}
@media (max-width: 480px) {
  .tc-stats { grid-template-columns: 1fr 1fr; }
  .tc-brand-text span { font-size: 14px; }
}
