/* ============================================================
   BuildACS / BuildQuality — Product-specific service terms
   ============================================================ */

/* ── Universe container ── */
.tm-universe {
  --tm-product:#6d4aff;
  --tm-product-2:#1677ff;
  --tm-product-rgb:109,74,255;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: #060a14;
  font-family: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
  color: #c8d1dc;
  line-height: 1.7;
}
.tm-universe.tm-buildquality { --tm-product:#0f9f8f; --tm-product-2:#17b26a; --tm-product-rgb:15,159,143; }
.tm-universe *, .tm-universe *::before, .tm-universe *::after { box-sizing: border-box; }

/* ── Dot grid background ── */
.tm-bg-grid {
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  mask: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ── Ambient glows ── */
.tm-bg-glow {
  position: fixed; border-radius: 50%; pointer-events: none;
  filter: blur(120px);
  z-index: 0;
}
.tm-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, transparent 70%);
  top: -200px; left: -150px;
}
.tm-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(10,179,156,0.08) 0%, transparent 70%);
  bottom: -200px; right: -120px;
}
.tm-glow-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(41,156,219,0.06) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Particles ── */
.tm-particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.tm-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  animation: tmPartFloat linear infinite;
}
.tm-particles span:nth-child(1)  { left: 6%;  animation-duration: 22s; animation-delay: 0s; }
.tm-particles span:nth-child(2)  { left: 18%; animation-duration: 26s; animation-delay: 2s; width: 2px; height: 2px; }
.tm-particles span:nth-child(3)  { left: 30%; animation-duration: 20s; animation-delay: 4s; }
.tm-particles span:nth-child(4)  { left: 45%; animation-duration: 24s; animation-delay: 1s; width: 4px; height: 4px; }
.tm-particles span:nth-child(5)  { left: 58%; animation-duration: 28s; animation-delay: 3s; width: 2px; height: 2px; }
.tm-particles span:nth-child(6)  { left: 68%; animation-duration: 21s; animation-delay: 5s; }
.tm-particles span:nth-child(7)  { left: 78%; animation-duration: 25s; animation-delay: 0s; width: 4px; height: 4px; opacity: 0.12; }
.tm-particles span:nth-child(8)  { left: 85%; animation-duration: 19s; animation-delay: 2s; }
.tm-particles span:nth-child(9)  { left: 92%; animation-duration: 27s; animation-delay: 4s; width: 2px; height: 2px; }
.tm-particles span:nth-child(10) { left: 50%; animation-duration: 23s; animation-delay: 6s; }

@keyframes tmPartFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.tm-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(6,10,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tm-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: #fff;
}
.tm-topbar-brand .buildacs-wordmark strong,
.tm-topbar-brand .buildacs-wordmark strong span { color:#fff; }
.tm-topbar-brand .buildacs-wordmark strong b { color:#a892ff; }
.tm-buildquality .tm-topbar-brand .buildacs-wordmark strong b { color:#4cdbc5; }
.tm-topbar-brand .buildacs-wordmark small { color:#7f8ba0; }
.tm-about-link { display:inline-flex; align-items:center; gap:6px; color:#9ba7ba; text-decoration:none; font-size:.76rem; font-weight:600; transition:.2s ease; }
.tm-about-link:hover { color:#fff; }

.tm-brand-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(10,179,156,0.12);
  border: 1px solid rgba(10,179,156,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-brand-icon i { font-size: 17px; color: #0ab39c; }

.tm-brand-text {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

.tm-brand-text b {
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tm-brand-text sup {
  font-size: 8px; opacity: 0.5; vertical-align: super;
}

.tm-topbar-right {
  display: flex; align-items: center; gap: 12px;
}

.tm-btn-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: linear-gradient(135deg, var(--tm-product), var(--tm-product-2));
  color: #fff !important;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s;
  border: none;
}

.tm-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.tm-hero {
  position: relative;
  z-index: 2;
  padding: 7.5rem 2rem 3rem;
  text-align: center;
}

.tm-hero-content {
  max-width: 680px;
  margin: 0 auto;
  animation: tmFadeUp 0.8s ease-out;
}

@keyframes tmFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.tm-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0ab39c;
  box-shadow: 0 0 8px rgba(10,179,156,0.6);
  animation: tmPulse 2s ease-in-out infinite;
}

@keyframes tmPulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.tm-hero-badge i {
  font-size: 15px;
  color: #818cf8;
}

.tm-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.tm-hero-title span {
  background: linear-gradient(135deg, #818cf8, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tm-buildquality .tm-hero-title span { background-image:linear-gradient(135deg,#5eead4,#34d399,#2dd4bf); }

.tm-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.tm-hero-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tm-audience-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 650px;
  margin: 1.25rem auto 0;
  padding: 0.9rem 1rem;
  text-align: left;
  background: rgba(var(--tm-product-rgb),0.07);
  border: 1px solid rgba(var(--tm-product-rgb),0.16);
  border-radius: 12px;
}

.tm-audience-strip > i {
  color: var(--tm-product-2);
  font-size: 20px;
  line-height: 1.35;
}

.tm-audience-strip span,
.tm-audience-strip strong {
  display: block;
}

.tm-audience-strip span {
  color: rgba(255,255,255,0.35);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-audience-strip strong {
  margin-top: 2px;
  color: rgba(255,255,255,0.72);
  font-size: 0.8rem;
  line-height: 1.55;
}

.tm-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.tm-meta-pill i {
  font-size: 14px;
  color: #0ab39c;
}

/* ============================================================
   MAIN LAYOUT — Sidebar + Content
   ============================================================ */
.tm-main {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  padding: 0 2rem 4rem;
  position: relative;
  z-index: 2;
}

/* ── Sidebar / Table of Contents ── */
.tm-sidebar {
  position: relative;
}

.tm-sidebar.sticky .tm-toc {
  position: fixed;
  top: 76px;
  width: 260px;
}

.tm-toc {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.tm-toc:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ── ToC traffic-light titlebar ── */
.tm-toc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tm-toc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.tm-toc-bar-title {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.25);
  font-family: 'Courier New', monospace;
}

.tm-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.tm-toc-nav::-webkit-scrollbar { width: 3px; }
.tm-toc-nav::-webkit-scrollbar-track { background: transparent; }
.tm-toc-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

.tm-toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none !important;
  border-radius: 7px;
  transition: all 0.2s;
  font-weight: 500;
}

.tm-toc-link:hover {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
}

.tm-toc-link.active {
  background: rgba(99,102,241,0.1);
  color: #818cf8;
}

.tm-toc-num {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: rgba(255,255,255,0.15);
  min-width: 20px;
}

.tm-toc-link.active .tm-toc-num {
  color: rgba(99,102,241,0.5);
}

/* ── ToC progress bar ── */
.tm-toc-progress {
  height: 2px;
  background: rgba(255,255,255,0.03);
}

.tm-toc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #0ab39c);
  transition: width 0.15s ease-out;
  border-radius: 2px;
}

/* ── Content Body ── */
.tm-content {
  min-width: 0;
}

.tm-product-context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  background: rgba(var(--tm-product-rgb),0.07);
  border: 1px solid rgba(var(--tm-product-rgb),0.18);
  border-radius: 12px;
}

.tm-context-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg,var(--tm-product),var(--tm-product-2));
  box-shadow: 0 8px 24px rgba(var(--tm-product-rgb),0.22);
}

.tm-product-context strong {
  display: block;
  color: rgba(255,255,255,0.84);
  font-size: 0.88rem;
}

.tm-product-context p {
  margin: 2px 0 0;
  color: rgba(255,255,255,0.38);
  font-size: 0.75rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Section Card — Dark glassmorphic
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-section {
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 2.25rem;
  margin-bottom: 1.25rem;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(20px);
}

.tm-section.tm-visible {
  opacity: 1;
  transform: translateY(0);
}

.tm-section:hover {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.03);
}

.tm-section:target {
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
}

.tm-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tm-section-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #6366f1;
  opacity: 0.2;
  font-family: 'Courier New', monospace;
  min-width: 36px;
}

.tm-section-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e8ecf2;
  margin: 0;
  letter-spacing: -0.2px;
}

/* ── Section Body Typography ── */
.tm-section-body p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
}

.tm-section-body .tm-section-intro {
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
}

.tm-term-list {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  padding-left: 0 !important;
}

.tm-term-list li {
  position: relative;
  margin: 0 !important;
  padding: 0.64rem 0.75rem 0.64rem 1.8rem;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
}

.tm-term-list li::before {
  content: '';
  position: absolute;
  left: 0.78rem;
  top: 1.08rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tm-product-2);
  box-shadow: 0 0 9px rgba(var(--tm-product-rgb),0.45);
}

.tm-section-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #c8d1dc;
  margin: 1.5rem 0 0.75rem;
}

.tm-section-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.tm-section-body ul li {
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
}

.tm-section-body ul li::marker {
  color: rgba(99,102,241,0.4);
}

.tm-section-body li strong {
  color: rgba(255,255,255,0.8);
}

.tm-section-body a {
  color: #818cf8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.tm-section-body a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Callout Boxes
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-callout {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-radius: 10px;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  line-height: 1.6;
  align-items: flex-start;
  border: 1px solid;
}

.tm-callout-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.tm-callout p, .tm-callout li {
  color: rgba(255,255,255,0.55) !important;
}

.tm-callout p {
  margin: 0.25rem 0 0;
}

.tm-callout-title {
  display: block;
}

.tm-callout strong {
  color: rgba(255,255,255,0.85);
}

/* Important (indigo) */
.tm-callout-important {
  background: rgba(99,102,241,0.05);
  border-color: rgba(99,102,241,0.12);
}

.tm-callout-important .tm-callout-icon {
  background: rgba(99,102,241,0.12);
  color: #818cf8;
}

/* Warning (amber) */
.tm-callout-warning {
  background: rgba(245,158,11,0.04);
  border-color: rgba(245,158,11,0.12);
}

.tm-callout-warning .tm-callout-icon {
  background: rgba(245,158,11,0.12);
  color: #f59e0b;
}

/* Info (cyan) */
.tm-callout-info {
  background: rgba(14,165,233,0.04);
  border-color: rgba(14,165,233,0.10);
}

.tm-callout-info .tm-callout-icon {
  background: rgba(14,165,233,0.12);
  color: #0ea5e9;
}

.tm-callout ul {
  padding-left: 1.25rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Service Grid Cards
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.tm-grid-card {
  padding: 1.15rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.tm-grid-card:hover {
  border-color: rgba(var(--tm-product-rgb),0.28);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
  background: rgba(var(--tm-product-rgb),0.06);
}

.tm-grid-card-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(var(--tm-product-rgb),0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.tm-grid-card-icon i {
  font-size: 18px;
  color: var(--tm-product-2);
}

.tm-grid-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.3rem;
}

.tm-grid-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4) !important;
  margin: 0 !important;
  line-height: 1.5;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Restriction List
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-restrictions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 1rem 0;
}

.tm-restrict-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(239,68,68,0.03);
  border: 1px solid rgba(239,68,68,0.08);
  border-radius: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.tm-restrict-item:hover {
  background: rgba(239,68,68,0.06);
  border-color: rgba(239,68,68,0.12);
}

.tm-restrict-x {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(239,68,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tm-restrict-x i {
  font-size: 12px;
  color: #ef4444;
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Disclaimer Box
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
}

.tm-disclaimer > i {
  color: var(--tm-product-2);
  font-size: 22px;
  line-height: 1.35;
}

.tm-disclaimer strong {
  color: rgba(255,255,255,0.82);
}

.tm-disclaimer p {
  margin: 0.35rem 0 0;
  color: rgba(255,255,255,0.48);
  font-size: 0.83rem;
  line-height: 1.65;
}

.tm-disclaimer p:last-child {
  margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Contact Cards
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.tm-contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: all 0.3s;
}

.tm-contact-card:hover {
  border-color: rgba(99,102,241,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.tm-contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(99,102,241,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tm-contact-icon i {
  font-size: 20px;
  color: #818cf8;
}

.tm-contact-card strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  margin-bottom: 2px;
}

.tm-contact-card a,
.tm-contact-card span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.tm-contact-card a {
  color: #818cf8;
  text-decoration: none;
}

.tm-contact-card a:hover {
  text-decoration: underline;
  color: #a5b4fc;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Bottom CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-bottom-cta {
  margin-top: 2rem;
}

.tm-bottom-inner {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  overflow: hidden;
}

.tm-bottom-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 300px 200px at 20% 50%, rgba(99,102,241,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 300px 200px at 80% 50%, rgba(10,179,156,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tm-bottom-inner h2,
.tm-bottom-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 2;
}

.tm-bottom-inner p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 2;
}

.tm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff !important;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  border: none;
}

.tm-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99,102,241,0.35);
}

.tm-cta-btn i {
  transition: transform 0.3s;
}

.tm-cta-btn:hover i {
  transform: translateX(4px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Footer
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tm-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
  z-index: 2;
}

.tm-footer p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

.tm-footer > div {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.16);
}

.tm-footer a {
  color: rgba(255,255,255,0.34);
  text-decoration: none;
}

.tm-footer a:hover { color: rgba(255,255,255,0.72); }

/* Product token overrides keep the same layout while making the two products
   immediately distinguishable. */
.tm-universe .tm-glow-1 {
  background: radial-gradient(circle, rgba(var(--tm-product-rgb),0.12) 0%, transparent 70%);
}
.tm-universe .tm-hero-badge,
.tm-universe .tm-toc-link.active {
  background: rgba(var(--tm-product-rgb),0.09);
  border-color: rgba(var(--tm-product-rgb),0.17);
}
.tm-universe .tm-hero-badge i,
.tm-universe .tm-section-num,
.tm-universe .tm-toc-link.active,
.tm-universe .tm-section-body a { color: var(--tm-product-2); }
.tm-universe .tm-toc-link.active .tm-toc-num { color: rgba(var(--tm-product-rgb),0.7); }
.tm-universe .tm-toc-progress-bar { background: linear-gradient(90deg,var(--tm-product),var(--tm-product-2)); }
.tm-universe .tm-section:target {
  border-color: rgba(var(--tm-product-rgb),0.32);
  box-shadow: 0 0 0 4px rgba(var(--tm-product-rgb),0.08);
}
.tm-universe .tm-callout-important {
  background: rgba(var(--tm-product-rgb),0.05);
  border-color: rgba(var(--tm-product-rgb),0.14);
}
.tm-universe .tm-callout-important .tm-callout-icon {
  background: rgba(var(--tm-product-rgb),0.13);
  color: var(--tm-product-2);
}
.tm-universe .tm-bottom-glow {
  background:
    radial-gradient(ellipse 300px 200px at 20% 50%, rgba(var(--tm-product-rgb),0.12) 0%, transparent 70%),
    radial-gradient(ellipse 300px 200px at 80% 50%, rgba(10,179,156,0.08) 0%, transparent 70%);
}
.tm-universe .tm-cta-btn { background: linear-gradient(135deg,var(--tm-product),var(--tm-product-2)); }
.tm-universe .tm-cta-btn:hover { box-shadow: 0 10px 30px rgba(var(--tm-product-rgb),0.34); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tm-main {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tm-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .tm-hero {
    padding: 6.5rem 1.5rem 2.5rem;
  }
  .tm-hero-title {
    font-size: 2rem;
  }
  .tm-section {
    padding: 1.5rem;
  }
  .tm-grid-cards {
    grid-template-columns: 1fr;
  }
  .tm-contact-cards {
    grid-template-columns: 1fr;
  }
  .tm-main {
    padding: 0 1rem 3rem;
  }
  .tm-bottom-inner {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .tm-topbar { padding: 0 1rem; }
  .tm-hero { padding: 6rem 1rem 2rem; }
  .tm-hero-title { font-size: 1.65rem; }
  .tm-hero-meta { gap: 8px; }
  .tm-meta-pill { font-size: 0.72rem; padding: 4px 10px; }
  .tm-section-header h2 { font-size: 1.1rem; }
  .tm-section { padding: 1.25rem; }
  .tm-about-link { display:none; }
}

/* ── Scrollbar ── */
.tm-universe::-webkit-scrollbar { width: 6px; }
.tm-universe::-webkit-scrollbar-track { background: #060a14; }
.tm-universe::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

/* ── Print Styles ── */
@media print {
  .tm-topbar, .tm-sidebar, .tm-bottom-cta, .tm-footer,
  .tm-bg-grid, .tm-bg-glow, .tm-particles { display: none; }
  .tm-universe { background: #fff; color: #333; }
  .tm-hero { padding: 2rem; }
  .tm-hero-title, .tm-hero-title span { color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; }
  .tm-section { background: #fff; border: 1px solid #ddd; opacity: 1; transform: none; break-inside: avoid; }
  .tm-section-header h2 { color: #0f172a; }
  .tm-section-body p, .tm-section-body li { color: #333 !important; }
}
