/* 8NAGAD88.COM - Luxury Nagad Crimson & Gold Design System */
:root {
  --bg-dark: #0b0e14;
  --bg-card: #141923;
  --bg-card-hover: #1f1418;
  --primary: #d00000; /* Nagad Crimson Red */
  --primary-light: #e63946;
  --primary-glow: rgba(208, 0, 0, 0.35);
  --gold: #f5a623; /* Luxury Gold */
  --gold-light: #ffb800;
  --gold-glow: rgba(245, 166, 35, 0.35);
  --accent-green: #00e676;
  --accent-green-bg: rgba(0, 230, 118, 0.12);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: rgba(208, 0, 0, 0.25);
  --border-gold: rgba(245, 166, 35, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky footer */
}

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

a:hover {
  color: var(--gold-light);
}

/* Header & Sticky Nav */
header {
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 5%;
}

.nav-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-img {
  height: 48px;
  width: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px var(--primary-glow);
  border: 1px solid var(--primary);
  transition: var(--transition);
}

.logo-link:hover .logo-img {
  transform: scale(1.06);
  box-shadow: 0 0 22px var(--gold-glow);
}

/* Language Visibility System */
body.lang-bn .lang-en {
  display: none !important;
}
body.lang-en .lang-bn {
  display: none !important;
}

/* Language Selector Pill Toggle */
.lang-selector {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 3px;
  gap: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--gold);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-login:hover {
  background: rgba(245, 166, 35, 0.12);
  color: #fff;
}

.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 8px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--primary-glow);
  color: #fff;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Breadcrumbs */
.breadcrumb-container {
  max-width: 1280px;
  margin: 15px auto 0;
  padding: 0 5%;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-container a {
  color: var(--text-muted);
}

.breadcrumb-container a:hover {
  color: var(--gold);
}

.breadcrumb-container span {
  margin: 0 6px;
  color: var(--border-gold);
}

/* Hero Section */
.hero {
  max-width: 1280px;
  margin: 25px auto 40px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(208, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Trust Bar */
.trust-bar {
  max-width: 1280px;
  margin: 0 auto 50px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  font-size: 1.6rem;
  color: var(--gold);
  background: rgba(245, 166, 35, 0.1);
  padding: 10px;
  border-radius: 12px;
}

.trust-text strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}

.trust-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Main Container & Layout */
.main-content {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.content-body {
  min-width: 0;
}

/* E-E-A-T Expert Callout */
.expert-callout {
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.9), rgba(35, 15, 20, 0.9));
  border-left: 4px solid var(--gold);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.expert-icon {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.expert-text h4 {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expert-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* TL;DR Capsule Box */
.tldr-box {
  background: rgba(208, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 35px;
}

.tldr-box h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tldr-box p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}

/* Structured Article Sections */
.article-section {
  margin-bottom: 45px;
}

.article-section h2 {
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}

.article-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Answer Capsule Block */
.answer-capsule {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--primary-light);
  padding: 12px 18px;
  margin-bottom: 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: #e2e8f0;
}

.section-body p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

.section-body ol, .section-body ul {
  margin: 16px 0 20px 24px;
  color: var(--text-muted);
}

.section-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Comparative Specifications Table */
.data-table-wrapper {
  overflow-x: auto;
  margin: 20px 0 25px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

table.data-table th {
  background: rgba(208, 0, 0, 0.15);
  color: var(--gold);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

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

table.data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Spokes Grid Matrix */
.spokes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0 45px;
}

.spoke-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spoke-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(208, 0, 0, 0.2);
}

.spoke-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}

.spoke-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.spoke-card .card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* FAQ Accordion Section */
.faq-section {
  margin-top: 50px;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  padding: 16px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer.open {
  display: block;
}

/* Sidebar Styling */
aside.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sidebar-widget h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gold);
}

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

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

.quick-links-list a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.quick-links-list a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

/* Sidebar App Promo */
.app-promo-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(20, 25, 35, 1), rgba(40, 15, 20, 1));
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.app-promo-card h4 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.app-promo-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Footer Styling */
footer {
  background: #07090d;
  border-top: 1px solid var(--border-color);
  padding: 50px 5% 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

/* Sticky Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 14, 20, 0.98);
  border-top: 1px solid var(--border-color);
  z-index: 1100;
  padding: 10px 5%;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
}

.mobile-bottom-wrapper {
  display: flex;
  gap: 12px;
}

.mobile-bottom-wrapper a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-dark);
  border-right: 1px solid var(--border-color);
  z-index: 2000;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
}

.drawer-overlay.open {
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-ctas {
    justify-content: center;
  }
  .main-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  nav ul, .header-actions .btn-login, .header-actions .btn-register {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobile-bottom-bar {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .trust-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
