/* TKBET Bangladesh - High-Performance Design System */
:root {
  --bg-dark: #0a0e17;
  --bg-card: #121826;
  --bg-card-hover: #182236;
  --bg-subtle: #1a2333;
  --gold: #f59e0b;
  --gold-hover: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --green: #10b981;
  --green-hover: #059669;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-light: #ffffff;
  --border: #222f44;
  --border-light: #2d3e58;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --container-w: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile sticky footer */
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.site-header {
  background-color: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background-color: var(--bg-subtle);
  text-decoration: none;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--gold) 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
  background: linear-gradient(135deg, #34d399 0%, var(--green) 100%);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
}

.trust-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.trust-item strong {
  color: var(--text-main);
}

.badge-21 {
  background-color: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs-item a {
  color: var(--text-muted);
}

.breadcrumbs-item a:hover {
  color: var(--gold);
}

.breadcrumbs-separator {
  color: var(--border-light);
}

/* Hero Section */
.hero {
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 38px;
  line-height: 1.25;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-title span {
  color: var(--gold);
}

.hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.payment-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-card);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.payment-pill img {
  height: 20px;
  width: auto;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

/* Expert Insight Callout */
.expert-insight {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(18, 24, 38, 0.9) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px;
  margin: 30px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.expert-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-text {
  font-size: 15px;
}

.expert-text strong {
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.expert-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Answer Capsule (GEO Engine Optimization) */
.answer-capsule {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 25px 0;
}

.capsule-badge {
  display: inline-block;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.capsule-text {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.5;
  font-weight: 500;
}

/* TL;DR Box */
.tldr-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 25px 0;
}

.tldr-title {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Content Layout */
.content-section {
  padding: 40px 0;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #e5e7eb;
}

.article-body h2 {
  font-size: 26px;
  color: var(--text-light);
  margin: 36px 0 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.article-body h3 {
  font-size: 21px;
  color: var(--gold);
  margin: 28px 0 12px;
  font-weight: 600;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
}

.article-body li {
  margin-bottom: 10px;
}

/* Comparison Tables */
.table-wrap {
  overflow-x: auto;
  margin: 25px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-card);
  text-align: left;
  font-size: 15px;
}

.data-table th {
  background-color: var(--bg-subtle);
  color: var(--gold);
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--border-light);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.data-table tr:hover {
  background-color: var(--bg-card-hover);
}

/* Step Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #000;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Callouts */
.callout {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-size: 15px;
}

.callout-warning {
  background-color: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  color: #fca5a5;
}

.callout-tip {
  background-color: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--green);
  color: #a7f3d0;
}

.callout-info {
  background-color: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
  color: #bfdbfe;
}

/* FAQ Accordion */
.faq-section {
  margin: 40px 0;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hub Grid Cards (Category Directory) */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.hub-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.hub-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background-color: var(--bg-card-hover);
}

.hub-card h3 {
  font-size: 19px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.hub-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.hub-card .card-meta {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: #060910;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.responsible-banner {
  background-color: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
}

.responsible-banner strong {
  color: #ef4444;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
}

/* Floating Mobile Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(10, 14, 23, 0.98);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 8px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-bottom-bar .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 14px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas, .hero-badges {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .header-ctas {
    display: none;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .hero-title {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

