/**
 * Tubidy Modern Theme Stylesheet
 * High-performance, responsive, clean aesthetic for homepage, trending list, articles, and SEO FAQ
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --tb-primary: #0284c7;
  --tb-primary-hover: #0369a1;
  --tb-primary-light: #e0f2fe;
  --tb-accent: #06b6d4;
  --tb-accent-glow: rgba(6, 182, 212, 0.35);
  --tb-dark: #0f172a;
  --tb-dark-card: #1e293b;
  --tb-dark-border: #334155;
  --tb-gray-50: #f8fafc;
  --tb-gray-100: #f1f5f9;
  --tb-gray-200: #e2e8f0;
  --tb-gray-400: #94a3b8;
  --tb-gray-600: #475569;
  --tb-gray-700: #334155;
  --tb-gray-800: #1e293b;
  --tb-gray-900: #0f172a;
  --tb-success: #10b981;
  --tb-radius-sm: 8px;
  --tb-radius-md: 12px;
  --tb-radius-lg: 16px;
  --tb-radius-full: 9999px;
  --tb-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --tb-shadow-md: 0 4px 14px -2px rgba(0,0,0,0.08), 0 2px 6px -1px rgba(0,0,0,0.05);
  --tb-shadow-lg: 0 10px 25px -3px rgba(15,23,42,0.12), 0 4px 10px -2px rgba(15,23,42,0.06);
}

html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b;
  background-color: #f8fafc !important;
  line-height: 1.6;
}

/* Override fixed 500px container from style.css for responsive layout */
.container {
  width: auto !important;
  max-width: 1170px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box !important;
}

/* Fix input appearance reset from style.css that hides inputs on mobile */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Modernized Header & Navbar */
.navbar-wrapper {
  position: relative !important;
  top: auto !important;
  margin-top: 0 !important;
  background: #0b1329 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 100 !important;
}

.navbar-wrapper > .container {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.navbar-wrapper .navbar-default {
  background: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  min-height: 60px;
}

.navbar-default .navbar-nav > li > a {
  color: #e2e8f0 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.navbar-brand {
  padding: 6px 15px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
}

.navbar-brand img {
  height: 46px !important;
  width: auto !important;
}

.nav-search-input {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--tb-radius-full) !important;
  padding: 6px 36px 6px 16px !important;
  height: 36px !important;
  margin-top: 12px !important;
  color: #ffffff !important;
}

.nav-search-input:focus {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: #38bdf8 !important;
}

.nav-search-btn {
  top: 14px !important;
  right: 10px !important;
}

/* Navbar search - ensure dropdown is fully visible */
.navbar-wrapper,
.navbar-wrapper .container,
.navbar-wrapper .container-fluid,
.navbar-wrapper .navbar,
.navbar-wrapper .navbar-collapse,
.navbar-wrapper .navbar-nav,
.navbar-wrapper .navbar-nav > li,
.navbar-wrapper .navbar-form,
.navbar-wrapper .navbar-form .form-group {
  overflow: visible !important;
}

.navbar-wrapper {
  z-index: 9999 !important;
}

.navbar-wrapper .form-group {
  position: relative !important;
}

@media (max-width: 767px) {
  .navbar-wrapper {
    position: relative !important;
  }
  .navbar-default .navbar-toggle {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff !important;
  }
  .navbar-collapse {
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 10px;
  }
}

/* Modern Hero Section */
.tb-hero-section {
  background: linear-gradient(135deg, #0b1329 0%, #0f244a 50%, #0369a1 100%);
  color: #ffffff;
  padding: 50px 0 60px;
  margin-top: 0;
  margin-bottom: 30px;
  position: relative;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.tb-hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(2, 132, 199, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  overflow: hidden;
}

.tb-hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(2, 132, 199, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.tb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--tb-radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #7dd3fc;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tb-hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.tb-hero-title span {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tb-hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 28px;
  font-weight: 400;
}

/* Big Modern Search Bar */
.tb-search-wrapper {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--tb-radius-full);
  padding: 6px 8px 6px 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  max-width: 720px;
  margin: 0 auto 20px;
}

.tb-search-wrapper:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(56, 189, 248, 0.45);
}

.tb-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.tb-search-icon {
  color: #0284c7;
  font-size: 20px;
  flex-shrink: 0;
}

.tb-search-input {
  flex: 1 1 0%;
  min-width: 0;
  border: none !important;
  outline: none !important;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a !important;
  background: transparent !important;
  padding: 10px 0 !important;
  box-shadow: none !important;
  width: 100%;
}

.tb-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.tb-search-btn {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--tb-radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.tb-search-btn:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: scale(1.02);
  color: #ffffff;
}

/* Autocomplete Suggestion Dropdown */
.tb-search-wrapper {
  position: relative;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin-top: 6px !important;
  padding: 8px 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--tb-radius-md) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  z-index: 9999 !important;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  animation: tbDropdownFadeIn 0.2s ease;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu.open,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu.show {
  display: block !important;
}

@keyframes tbDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li {
  list-style: none;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li > a,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item {
  display: block !important;
  padding: 10px 18px 10px 42px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li > a::before,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item::before {
  content: "\f002";
  font-family: "FontAwesome";
  font-size: 12px;
  color: #94a3b8;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  text-align: center;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li > a:hover,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li > a:focus,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li.active > a,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item:hover,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item:focus,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item.active {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  background-image: none !important;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li > a:hover::before,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li.active > a::before,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item:hover::before,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item.active::before {
  color: #0284c7;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu > li > a b,
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu .dropdown-item b {
  font-weight: 700;
  color: #0284c7;
}

/* Scrollbar for suggestion dropdown */
.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.tb-search-wrapper .bootstrap-autocomplete.dropdown-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

/* ===== Autocomplete for Non-Home Pages (search results, download, article) ===== */
.header-bg.non-home {
  position: relative;
  z-index: 1000;
  overflow: visible !important;
}

.header-bg.non-home .search-container {
  position: relative;
  z-index: 1000;
}

.header-bg.non-home .search-form {
  position: relative;
  z-index: 1000;
}

.header-bg.non-home form,
.navbar-form {
  position: relative;
}

/* Ensure pagecontent stays below dropdown overlay */
.container-fluid.pagecontent {
  position: relative;
  z-index: 1;
}

/* Global autocomplete dropdown fix for ALL pages */
.bootstrap-autocomplete.dropdown-menu {
  position: absolute !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  padding: 8px 0 !important;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 4px !important;
  animation: tbDropdownFadeIn 0.2s ease;
}

.bootstrap-autocomplete.dropdown-menu > li {
  list-style: none;
}

.bootstrap-autocomplete.dropdown-menu > li > a,
.bootstrap-autocomplete.dropdown-menu .dropdown-item {
  display: block !important;
  padding: 10px 18px 10px 42px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  transition: background 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.bootstrap-autocomplete.dropdown-menu > li > a::before,
.bootstrap-autocomplete.dropdown-menu .dropdown-item::before {
  content: "\f002";
  font-family: "FontAwesome";
  font-size: 12px;
  color: #94a3b8;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  text-align: center;
}

.bootstrap-autocomplete.dropdown-menu > li > a:hover,
.bootstrap-autocomplete.dropdown-menu > li > a:focus,
.bootstrap-autocomplete.dropdown-menu > li.active > a,
.bootstrap-autocomplete.dropdown-menu .dropdown-item:hover,
.bootstrap-autocomplete.dropdown-menu .dropdown-item:focus,
.bootstrap-autocomplete.dropdown-menu .dropdown-item.active {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  background-image: none !important;
}

.bootstrap-autocomplete.dropdown-menu > li > a:hover::before,
.bootstrap-autocomplete.dropdown-menu > li.active > a::before,
.bootstrap-autocomplete.dropdown-menu .dropdown-item:hover::before,
.bootstrap-autocomplete.dropdown-menu .dropdown-item.active::before {
  color: #0284c7;
}

.bootstrap-autocomplete.dropdown-menu > li > a b,
.bootstrap-autocomplete.dropdown-menu .dropdown-item b {
  font-weight: 700;
  color: #0284c7;
}

/* Feature tags in Hero */
.tb-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.tb-tag-label {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-right: 4px;
}

.tb-tag-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--tb-radius-full);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.tb-tag-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.tb-hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #e2e8f0;
}

.tb-hero-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.tb-hero-features i {
  color: #38bdf8;
}

/* Genre / Category Explorer */
.tb-section-card {
  background: #ffffff;
  border-radius: var(--tb-radius-md);
  padding: 24px;
  box-shadow: var(--tb-shadow-sm);
  border: 1px solid var(--tb-gray-200);
  margin-bottom: 24px;
}

.tb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tb-gray-100);
}

.tb-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tb-gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tb-section-title i {
  color: var(--tb-primary);
  font-size: 18px;
}

.tb-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tb-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tb-gray-50);
  color: var(--tb-gray-700);
  border: 1px solid var(--tb-gray-200);
  padding: 8px 16px;
  border-radius: var(--tb-radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.tb-cat-chip:hover {
  background: var(--tb-primary-light);
  color: var(--tb-primary);
  border-color: #bae6fd;
  transform: translateY(-1px);
}

.tb-cat-chip.featured {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

/* Modern Trending Music Cards */
.tb-music-card {
  background: #ffffff;
  border-radius: var(--tb-radius-md);
  border: 1px solid var(--tb-gray-200);
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
  box-shadow: var(--tb-shadow-sm);
  position: relative;
}

.tb-music-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tb-shadow-md);
  border-color: #93c5fd;
}

.tb-thumb-wrap {
  position: relative;
  width: 140px;
  height: 95px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: var(--tb-radius-sm);
  overflow: hidden;
  background: #0f172a linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-size: 200% 100%;
}

.tb-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tb-music-card:hover .tb-thumb-wrap img {
  transform: scale(1.08);
}

.tb-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: rgba(2, 132, 199, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  opacity: 0.9;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tb-music-card:hover .tb-play-badge {
  transform: translate(-50%, -50%) scale(1.15);
  background: #0284c7;
  opacity: 1;
}

.tb-duration-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.tb-music-info {
  flex-grow: 1;
  min-width: 0;
}

.tb-music-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--tb-gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tb-music-title a {
  color: inherit;
  text-decoration: none;
}

.tb-music-title a:hover {
  color: var(--tb-primary);
}

.tb-music-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--tb-gray-600);
}

.tb-music-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.tb-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tb-primary);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--tb-radius-sm);
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.tb-btn-download:hover {
  background: var(--tb-primary-hover);
  transform: translateY(-1px);
}

.tb-btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: var(--tb-radius-sm);
  font-size: 16px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.tb-btn-share:hover {
  background: #1eb857;
  transform: translateY(-1px);
}

/* How to Download Steps */
.tb-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 10px;
}

.tb-step-box {
  background: #ffffff;
  border: 1px solid var(--tb-gray-200);
  border-radius: var(--tb-radius-md);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.tb-step-box:hover {
  border-color: #38bdf8;
  box-shadow: var(--tb-shadow-sm);
}

.tb-step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--tb-primary), #38bdf8);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.tb-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tb-gray-900);
  margin-bottom: 8px;
}

.tb-step-desc {
  font-size: 13px;
  color: var(--tb-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Core Highlights Matrix (6 items) */
.tb-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0 10px;
}

.tb-feature-item {
  background: #ffffff;
  border: 1px solid var(--tb-gray-200);
  border-radius: var(--tb-radius-md);
  padding: 20px;
  transition: all 0.2s ease;
}

.tb-feature-item:hover {
  border-color: #93c5fd;
  box-shadow: var(--tb-shadow-md);
}

.tb-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--tb-radius-sm);
  background: var(--tb-primary-light);
  color: var(--tb-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.tb-feature-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--tb-gray-900);
  margin-bottom: 6px;
}

.tb-feature-text {
  font-size: 13px;
  color: var(--tb-gray-600);
  line-height: 1.55;
  margin: 0;
}

/* In-depth SEO Articles Section */
.tb-articles-hub {
  background: #ffffff;
  border-radius: var(--tb-radius-md);
  border: 1px solid var(--tb-gray-200);
  padding: 35px;
  box-shadow: var(--tb-shadow-sm);
  margin-top: 30px;
}

.tb-articles-hub h2.hub-main-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.tb-articles-hub p.hub-main-subtitle {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 26px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
}

/* Quick Navigator Table of Contents */
.tb-toc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--tb-primary);
  border-radius: var(--tb-radius-sm);
  padding: 18px 22px;
  margin-bottom: 35px;
}

.tb-toc-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tb-toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-toc-list li a {
  color: #0369a1;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.tb-toc-list li a:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* Individual Article Cards */
.tb-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tb-radius-md);
  padding: 26px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tb-article-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--tb-shadow-sm);
}

.tb-article-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--tb-radius-full);
  margin-bottom: 10px;
}

.tb-article-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.35;
}

.tb-article-card p {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}

.tb-article-card ul, .tb-article-card ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.tb-article-card li {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 6px;
}

.tb-article-callout {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  padding: 14px 18px;
  border-radius: var(--tb-radius-sm);
  margin: 14px 0 0;
  font-size: 13.5px;
  color: #166534;
}

/* Modern FAQ Accordion Section */
.tb-faq-section {
  background: #ffffff;
  border-radius: var(--tb-radius-md);
  border: 1px solid var(--tb-gray-200);
  padding: 35px;
  box-shadow: var(--tb-shadow-sm);
  margin-top: 30px;
  margin-bottom: 30px;
}

.tb-faq-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px;
}

.tb-faq-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--tb-radius-full);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.tb-faq-main-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.tb-faq-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* Accordion Component */
.tb-accordion-item {
  border: 1px solid var(--tb-gray-200);
  border-radius: var(--tb-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tb-accordion-item.active {
  border-color: #38bdf8;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.tb-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  transition: background 0.2s ease, color 0.2s ease;
}

.tb-accordion-btn:hover {
  background: #f8fafc;
  color: #0284c7;
}

.tb-accordion-item.active .tb-accordion-btn {
  background: #f0f9ff;
  color: #0284c7;
}

.tb-accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #64748b;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.tb-accordion-item.active .tb-accordion-icon {
  transform: rotate(180deg);
  background: #0284c7;
  color: #ffffff;
}

.tb-accordion-body {
  display: none;
  padding: 18px 20px 22px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
}

.tb-accordion-item.active .tb-accordion-body {
  display: block;
}

.tb-accordion-body p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .tb-steps-grid {
    grid-template-columns: 1fr;
  }
  .tb-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tb-toc-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .container-fluid {
    max-width: 100vw !important;
  }
  .tb-hero-section {
    padding: 30px 15px 40px;
    margin-top: -10px;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .tb-hero-title {
    font-size: 26px;
  }
  .tb-hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .tb-search-wrapper {
    padding: 4px 6px 4px 14px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .tb-search-form {
    gap: 8px;
  }
  .tb-search-icon {
    font-size: 16px;
  }
  .tb-search-input {
    font-size: 14px;
    padding: 8px 0 !important;
    min-width: 0 !important;
    flex: 1 1 0% !important;
  }
  .tb-search-input::placeholder {
    font-size: 12px;
  }
  .tb-search-btn {
    padding: 9px 16px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .tb-search-btn span {
    display: none;
  }
  .tb-music-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .tb-thumb-wrap {
    width: 100%;
    height: 160px;
  }
  .tb-music-actions {
    margin-left: 0;
    width: 100%;
    margin-top: 8px;
  }
  .tb-btn-download {
    flex-grow: 1;
    justify-content: center;
  }
  .tb-features-grid {
    grid-template-columns: 1fr;
  }
  .tb-articles-hub, .tb-faq-section {
    padding: 20px 16px;
  }
  .tb-articles-hub h2.hub-main-title, .tb-faq-main-title {
    font-size: 22px;
  }
  .tb-article-title {
    font-size: 17px;
  }
}

/* Modern Footer */
.footer-nav-area {
  background: #0f172a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  padding: 40px 20px 30px !important;
  text-align: center !important;
  margin-top: 0 !important;
}

.footer-nav-area .footer-nav {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 24px;
  padding: 0 !important;
  margin: 0 auto !important;
  list-style: none !important;
  max-width: 700px;
}

.footer-nav-area .footer-nav li {
  display: inline-block;
}

.footer-nav-area .footer-nav li a {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: color 0.2s ease;
  text-decoration: none;
  padding: 6px 4px;
  display: inline-block;
}

.footer-nav-area .footer-nav li a:hover {
  color: #38bdf8 !important;
}

/* Separator dots between footer links */
.footer-nav-area .footer-nav li + li::before {
  content: "·";
  color: #475569;
  font-size: 18px;
  margin-right: 24px;
  vertical-align: middle;
}

.copyright {
  background: #0b1329 !important;
  color: #64748b !important;
  padding: 20px 20px !important;
  font-size: 13px !important;
  text-align: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright small {
  display: block;
  color: #64748b;
}

@media (max-width: 767px) {
  .footer-nav-area {
    padding: 30px 16px 24px !important;
  }
  .footer-nav-area .footer-nav {
    flex-direction: column;
    gap: 4px;
  }
  .footer-nav-area .footer-nav li + li::before {
    display: none;
  }
  .footer-nav-area .footer-nav li a {
    font-size: 13px !important;
    padding: 8px 4px;
  }
}
