/* ==========================================================================
   CTW BUSINESS (CLIENTS) PORTAL — BOS, SUBLISTUDIO SUBSCRIPTIONS & HOSTERS
   Clean Sans-Serif Typography Only (Montserrat + Plus Jakarta Sans)
   ========================================================================== */
:root {
  --bus-dark: #070d19;
  --bus-navy: #0f172a;
  --bus-accent: #176be0;
  --bus-gold: #eab308;
  --bus-green: #15803d;
  --bus-bg: #f1f5f9;
  --bus-border: #dbe3ee;
  --bus-text: #0f172a;
  --bus-muted: #526277;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bus-bg);
  color: var(--bus-text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; }

.bus-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.bus-header {
  background: rgba(7, 13, 25, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 60;
}

.bus-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  flex-wrap: wrap;
}

.bus-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.bus-brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #ffffff;
  padding: 3px;
  object-fit: contain;
}

.bus-brand strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.bus-brand small {
  display: block;
  font-size: 11px;
  color: #60a5fa;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bus-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.bus-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8.5px 15px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.16s ease;
}

.bus-btn.primary { background: var(--bus-accent); color: #ffffff; }
.bus-btn.primary:hover { background: #1d4ed8; transform: translateY(-1px); }

.bus-btn.gold { background: var(--bus-gold); color: #070d19; font-weight: 800; }
.bus-btn.gold:hover { background: #facc15; transform: translateY(-1px); }

.bus-btn.green { background: var(--bus-green); color: #ffffff; }

.bus-btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
}
.bus-btn.ghost:hover { background: rgba(255, 255, 255, 0.16); }

.bus-btn.outline {
  background: #ffffff;
  color: var(--bus-navy);
  border-color: #cbd5e1;
}

/* HERO */
.bus-hero {
  background: radial-gradient(circle at 80% 22%, rgba(23, 107, 224, 0.36), transparent 48%),
              linear-gradient(135deg, #060b16 0%, #0f1c36 58%, #0c2c61 100%);
  color: #ffffff;
  padding: 56px 0 52px;
  border-bottom: 4px solid var(--bus-accent);
}

.bus-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.bus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.bus-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.4vw, 41px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.bus-hero h1 span { color: #60a5fa; }

.bus-hero p {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 660px;
  margin-bottom: 22px;
}

.bus-pillar-nav-cards {
  display: grid;
  gap: 11px;
}

.bus-pillar-mini {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.15s ease;
}
.bus-pillar-mini:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: #60a5fa;
  transform: translateX(3px);
}

.bus-pillar-mini strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
}
.bus-pillar-mini small {
  color: #cbd5e1;
  font-size: 12px;
}

/* SECTIONS */
.bus-section {
  padding: 50px 0;
}

.bus-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.bus-sec-head small {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bus-accent);
  margin-bottom: 4px;
}

.bus-sec-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: var(--bus-navy);
  letter-spacing: -0.02em;
}

/* BUILDER BANNER */
.bus-builder-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.bus-builder-banner h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 5px;
}

.bus-builder-banner p {
  color: #cbd5e1;
  font-size: 13.2px;
  max-width: 720px;
}

/* 3-COLUMN CARDS */
.bus-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bus-card {
  background: #ffffff;
  border: 1.5px solid var(--bus-border);
  border-radius: 15px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.bus-card.dashed {
  background: #f8fafc;
  border-style: dashed;
  border-color: #94a3b8;
}

.bus-badge {
  display: inline-flex;
  align-items: center;
  padding: 3.5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.bus-badge.blue { background: #dbeafe; color: #1d4ed8; }
.bus-badge.green { background: #dcfce7; color: #15803d; }
.bus-badge.gold { background: #fef3c7; color: #b45309; }
.bus-badge.purple { background: #ede9fe; color: #6d28d9; }

.bus-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--bus-navy);
}

.bus-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--bus-navy);
}
.bus-price span {
  font-size: 12px;
  font-weight: 600;
  color: var(--bus-muted);
}

.bus-list {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 12.8px;
  color: #334155;
  flex: 1;
}

/* FRAMED BROWSER HERO WINDOWS */
.bus-win {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(15, 23, 42, 0.16);
  background: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.bus-win-bar {
  height: 30px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.bus-win-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.bus-win-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}
.bus-win-dots i:nth-child(1) { background: #ef4444; }
.bus-win-dots i:nth-child(2) { background: #f59e0b; }
.bus-win-dots i:nth-child(3) { background: #22c55e; }

.bus-win-addr {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 2px 9px;
  font-size: 10.8px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bus-win-addr img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: contain;
  background: #ffffff;
}

.bus-win-screen {
  position: relative;
  aspect-ratio: 16 / 9.8;
  background: #080d1a;
  overflow: hidden;
}

.bus-win-screen img.main-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.bus-card:hover .bus-win-screen img.main-shot,
.bus-win:hover .bus-win-screen img.main-shot {
  transform: scale(1.03);
}

.bus-win-pip {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 38%;
  border-radius: 7px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  background: #0f172a;
}

.bus-win-pip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.bus-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.bus-logo-pill img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  border: 1px solid #dbe3ee;
}

/* OWNED SYSTEMS STRIP */
.bus-owned-strip {
  background: #0b1324;
  color: #ffffff;
  padding: 34px 0;
  border-top: 3px solid var(--bus-gold);
}

.bus-footer {
  background: #050912;
  color: #94a3b8;
  padding: 24px 0;
  font-size: 12.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .bus-hero-grid, .bus-grid-3 { grid-template-columns: 1fr; }
}
