@charset "UTF-8";
/* ==========================================================================
   TRYSINYAL THEME OVERRIDE (For Sandbox Template)
   ========================================================================== */
/* 1. BRAND TOKENS */
:root {
  /* Trysinyal Color Palette */
  --ts-green: #1db954;
  --ts-green-rgb: 29, 185, 84; /* Dibutuhkan Bootstrap untuk alpha/opacity */
  --ts-green-hover: #18a348;
  --ts-dark: #0d0d0d;
  --ts-body: #3a3a4a;
  --ts-muted: #7a7a8a;
  /* Trysinyal Typography */
  --ts-font-body:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  --ts-font-heading:
    "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI Black",
    system-ui, sans-serif;
  /* 2. HIJACK SANDBOX / BOOTSTRAP VARIABLES */
  /* Menimpa global font */
  --bs-body-font-family: var(--ts-font-body);
  --bs-heading-font-family: var(--ts-font-heading);
  --bs-body-color: var(--ts-body);
  /* Menimpa Leaf Color Sandbox menjadi Trysinyal Green */
  --bs-primary: var(--ts-green);
  --bs-primary-rgb: var(--ts-green-rgb);
  --bs-link-color: var(--ts-green);
  --bs-link-hover-color: var(--ts-green-hover);
}

/* 3. TYPOGRAPHY ENFORCEMENT */
/* Memastikan Bricolage Grotesque di-render dengan tebal yang tepat */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.logo,
.navbar-brand {
  font-family: var(--bs-heading-font-family) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--ts-dark);
}

/* 4. OVERRIDE BUTTONS SANDBOX (LEAF / PRIMARY) */
/* Mengubah button bawaan Sandbox agar berasa seperti Trysinyal */
.btn-primary,
.btn-leaf {
  background-color: var(--ts-green) !important;
  border-color: var(--ts-green) !important;
  font-family: var(--ts-font-body);
  font-weight: 700;
  border-radius: 100px; /* Pill style khas Trysinyal */
  transition: all 0.2s ease-in-out;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-leaf:hover,
.btn-leaf:focus,
.btn-leaf:active {
  background-color: var(--ts-green-hover) !important;
  border-color: var(--ts-green-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 185, 84, 0.3) !important;
  color: #fff !important;
}

.btn-outline-primary,
.btn-outline-leaf {
  color: var(--ts-green) !important;
  border-color: var(--ts-green) !important;
  border-radius: 100px;
  font-family: var(--ts-font-body);
  font-weight: 700;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active,
.btn-outline-leaf:hover,
.btn-outline-leaf:focus,
.btn-outline-leaf:active {
  background-color: var(--ts-green) !important;
  color: #fff !important;
}

/* 5. CUSTOM TRYSINYAL COMPONENTS (Opsional jika markup lama dipertahankan) */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ts-green);
  color: #fff;
  padding: 18px 36px;
  border-radius: 100px;
  font-family: var(--ts-font-heading);
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}
.btn-hero:hover {
  background: var(--ts-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(29, 185, 84, 0.3);
  color: #fff;
}

/* Memperbaiki warna background utility Sandbox (.bg-leaf, .bg-primary) */
.bg-leaf,
.bg-primary {
  background-color: var(--ts-green) !important;
}

.text-leaf,
.text-primary {
  color: var(--ts-green) !important;
}

.bg-pale-leaf,
.bg-pale-primary {
  background-color: rgba(var(--ts-green-rgb), 0.1) !important;
}

/* ==========================================================================
   6. OVERRIDE SPACE.CSS TYPOGRAPHY & COMPONENTS (Trysinyal Native)
   ========================================================================== */
/* ─── GLOBAL BODY & RESET ─── */
body {
  font-family: var(--ts-font-body) !important;
  font-size: 16px !important; /* Reset dari 0.85rem milik space.css */
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

/* Hilangkan font IBM Plex Serif bawaan template pada tag <em> */
em {
  font-family: inherit !important;
  font-style: italic !important;
}

/* ─── HEADINGS & DISPLAYS ─── */
/* Paksa Bricolage Grotesque dengan ketebalan 800 (Extrabold) */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: var(--ts-font-heading) !important;
  font-weight: 800 !important;
}

/* ─── NAVIGATION LINKS ─── */
.nav-link {
  font-family: var(--ts-font-body) !important;
  font-size: 14px !important; /* Reset dari bawaan template */
  font-weight: 600 !important;
  color: var(--ts-muted) !important;
  letter-spacing: normal !important;
  transition: color 0.2s !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--ts-dark) !important;
}

.dropdown-menu {
  font-size: 14px !important;
}

.dropdown-item {
  font-weight: 500 !important;
  font-size: 14px !important;
}

/* ─── ACCORDION / FAQ ─── */
.accordion-wrapper .card-header button,
.collapse-link {
  font-family: var(--ts-font-heading) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--ts-dark) !important;
}

/* ─── BUTTONS SIZING & PADDING ─── */
/* Kembalikan padding besar khas Trysinyal (tidak pipih seperti bawaan space.css) */
.btn {
  font-family: var(--ts-font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important; /* Padding normal Trysinyal */
}

.btn-sm,
.btn-group-sm > .btn {
  font-size: 14px !important;
  padding: 10px 22px !important; /* Sesuai .btn-green Trysinyal V4 */
}

.btn-lg,
.btn-group-lg > .btn {
  font-family: var(--ts-font-heading) !important; /* Tombol CTA besar pakai Bricolage */
  font-size: 17px !important;
}

/* ─── LEAD & PARAGRAPH ─── */
.lead {
  font-size: 18px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

.lead.fs-lg {
  font-size: 19px !important; /* Sub-hero text di Trysinyal v4 */
  line-height: 1.75 !important;
}

/* ─── COUNTERS / STATS ─── */
.counter-wrapper .counter,
.stat-num {
  font-family: var(--ts-font-heading) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

@media (min-width: 1200px) {
  .counter-wrapper .counter {
    font-size: clamp(36px, 4vw, 52px) !important; /* Dynamic sizing ala Trysinyal */
  }
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 1.5s ease infinite;
}

@keyframes livePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px transparent;
  }
}
.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

/* ─── DASHBOARD PREVIEW ─── */
.dashboard-section {
  padding: 0 0 96px;
}

.dashboard-wrap {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  position: relative;
}

.dash-titlebar {
  background: #1a1a2e;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tb-url {
  margin-left: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 5px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.dash-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
}

.dash-sidebar {
  background: #111122;
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
}

.dash-nav-item.active {
  background: rgba(29, 185, 84, 0.12);
  color: var(--green);
}

.dash-nav-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.dash-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px;
}

.dash-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
}

.dash-card-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.dash-card-val {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.dash-card-val.green {
  color: var(--green);
}

.dash-card-val.red {
  color: #ff5c5c;
}

.dash-card-val.yellow {
  color: #ffb800;
}

.dash-card-change {
  font-size: 12px;
  margin-top: 6px;
}

.dash-card-change.up {
  color: var(--green);
}

.dash-card-change.down {
  color: #ff5c5c;
}

.dash-mentions {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.dash-mention-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-mention-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.dash-mention-badge {
  background: rgba(29, 185, 84, 0.15);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.mention-item {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mention-item:last-child {
  border: none;
}

.mention-platform {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.mention-content {
  flex: 1;
}

.mention-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 4px;
}

.mention-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  gap: 12px;
}

.mention-sentiment {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sentiment-pos {
  background: rgba(29, 185, 84, 0.15);
  color: var(--green);
}

.sentiment-neg {
  background: rgba(255, 92, 92, 0.15);
  color: #ff5c5c;
}

.sentiment-neu {
  background: rgba(255, 184, 0, 0.15);
  color: #ffb800;
}

.dash-chart-area {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
}

.chart-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}

.cbar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(29, 185, 84, 0.3);
}

.cbar.peak {
  background: var(--green);
}

/* ========================================
   UX Sticky Header Dynamic
   ======================================== */
.ux-sticky-header {
  position: relative;
  width: 100%;
  z-index: 1000;
  transition: transform 0.35s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.ux-sticky-header.ux-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
}
.ux-sticky-header.ux-header-hidden {
  transform: translateY(-100%);
}
.ux-sticky-header.ux-header-scrolled {
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/*# sourceMappingURL=trysinyal-theme.css.map */
