/* ============================================
   499bet — Global Stylesheet
   Original design for Bangladesh market
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0b1120;
  --bg-secondary: #111827;
  --bg-card: #1a2332;
  --bg-card-hover: #1f2b3d;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-secondary: #3b82f6;
  --accent-green: #10b981;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(245,158,11,0.15);
  --border-subtle: rgba(255,255,255,0.06);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-hover: 0 8px 32px rgba(245,158,11,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --max-width: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER — Sticky, single-line, stable
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(180deg, #080e1c 0%, #0b1120 100%);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 20px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.brand-wrap {
  width: 168px;
  min-width: 168px;
  max-width: 168px;
  height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

/* --- Primary Navigation --- */
.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 18px);
  overflow: visible;
  flex-wrap: nowrap;
}

.primary-nav a {
  white-space: nowrap;
  flex: 0 1 auto;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--accent);
  background: rgba(245,158,11,0.08);
}

/* --- More Menu --- */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}

.more-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,158,11,0.06);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-stack);
  transition: background .2s;
  gap: 6px;
}

.more-toggle:hover {
  background: rgba(245,158,11,0.14);
}

.more-toggle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 16px;
  z-index: 1200;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.more-menu[hidden] {
  display: none !important;
}

.nav-more.is-open .more-menu {
  display: grid;
  gap: 4px;
}

.more-menu a {
  display: block;
  width: 100%;
  max-width: none;
  padding: 11px 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  text-decoration: none;
}

.more-menu a:hover,
.more-menu a.active {
  background: rgba(245,158,11,0.1);
  color: var(--accent);
}

/* --- Header Actions (CTA Buttons) --- */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.header-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  font-family: var(--font-stack);
}

.btn-register {
  background: var(--accent);
  color: #0b1120;
}
.btn-register:hover {
  background: var(--accent-hover);
  color: #0b1120;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.btn-login {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent) !important;
}
.btn-login:hover {
  background: rgba(245,158,11,0.1);
  color: var(--accent);
}

/* --- Mobile Toggle --- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ============================================
   HERO / BANNER
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: relative;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(11,17,32,0.85) 50%, rgba(17,24,39,0.7) 100%);
  padding: 72px 0 64px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .5px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-title span { color: var(--accent); }

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s;
}

.hero-img-wrap:hover img { transform: scale(1.03); }

/* ============================================
   BUTTONS (Global)
   ============================================ */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #0b1120;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  font-family: var(--font-stack);
}
.btn-main:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  font-family: var(--font-stack);
}
.btn-outline:hover {
  background: var(--accent);
  color: #0b1120;
}

/* ============================================
   STATS BAND
   ============================================ */
.stats-band {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 4px;
}

/* ============================================
   SECTION / CONTENT
   ============================================ */
.content-section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.section-dark {
  background: #080e1c;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.section-title span { color: var(--accent); }

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 640px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px 0 20px;
}

.text-center { text-align: center; }
.text-center .section-divider { margin-left: auto; margin-right: auto; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Content Grid (text + image) --- */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 40px;
  align-items: start;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

/* --- Prose --- */
.prose { max-width: 820px; }

.prose p {
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.prose h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.25;
  margin: 42px 0 16px;
  color: var(--text-primary);
  font-weight: 700;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.35;
  margin: 28px 0 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.prose strong { color: var(--accent); font-weight: 600; }

.prose a { color: var(--accent); text-decoration: underline; }
.prose a:hover { color: var(--accent-hover); }

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all .3s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,158,11,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
}

.card h5 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Image Card --- */
.img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.img-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s;
}

.img-card:hover img { transform: scale(1.03); }

/* ============================================
   STEPS
   ============================================ */
.steps-wrap { counter-reset: step-counter; }

.step-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px 24px 72px;
  position: relative;
  margin-bottom: 16px;
  transition: border-color .2s;
}

.step-item:hover { border-color: var(--accent); }

.step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}

.step-item p {
  color: var(--text-secondary);
  font-size: .93rem;
  margin: 0;
  line-height: 1.7;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
  background: #080e1c;
  padding: 72px 0;
}

.faq-list { max-width: 820px; margin: 0 auto; }

.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%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-stack);
  transition: background .2s;
}

.faq-question:hover { background: rgba(245,158,11,0.04); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245,158,11,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--accent);
  transition: transform .3s;
}

.faq-item.open .faq-question { background: rgba(245,158,11,0.06); color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.85;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #0b1120 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  text-align: center;
}

.cta-banner .section-title { margin-bottom: 12px; }
.cta-banner p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 28px; }
.cta-banner .btn-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ============================================
   IMAGE ROW
   ============================================ */
.image-row {
  background: var(--bg-secondary);
  padding: 40px 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-wrap {
  background: var(--bg-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .82rem;
}

.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--text-muted); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--text-muted); }

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #0b1120 0%, #111827 60%, #1a2332 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-content { position: relative; z-index: 1; max-width: 720px; }

/* ============================================
   PRICING / VIP
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, #1a2332 0%, #0b1120 100%);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-amount small {
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  text-align: left;
}

.pricing-list li {
  color: var(--text-secondary);
  font-size: .93rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list .icon-check { color: var(--accent-green); }
.pricing-list .icon-cross { color: #ef4444; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color .2s;
}

.testi-card:hover { border-color: var(--accent); }

.testi-stars { color: #fbbf24; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-text { color: var(--text-secondary); font-size: .95rem; margin-bottom: 18px; font-style: italic; line-height: 1.8; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  background: rgba(245,158,11,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
}
.testi-name { color: var(--text-primary); font-weight: 600; font-size: .95rem; }
.testi-city { color: var(--text-muted); font-size: .82rem; }

/* ============================================
   RESPONSIBLE GAMING
   ============================================ */
.rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.rg-card {
  background: rgba(11,17,32,0.7);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  transition: border-color .2s;
}

.rg-card:hover { border-color: var(--accent); }
.rg-icon { font-size: 2rem; color: var(--accent); margin-bottom: 12px; }
.rg-card h6 { color: var(--text-primary); font-weight: 600; margin-bottom: 8px; }
.rg-card p { color: var(--text-secondary); font-size: .88rem; margin: 0; line-height: 1.7; }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 12px;
}

/* ============================================
   NOTICE / WARNING PANEL
   ============================================ */
.notice-panel {
  background: linear-gradient(135deg, #1a2332, #0b1120);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 24px 0;
}

.notice-panel h5 { color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.notice-panel p { color: var(--text-secondary); font-size: .93rem; margin: 0; line-height: 1.8; }

/* ============================================
   RELATED LINKS
   ============================================ */
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  transition: all .2s;
  font-weight: 500;
}

.related-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-card-hover);
}

.related-link .arrow { margin-left: auto; color: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #050a14;
  border-top: 2px solid rgba(245,158,11,0.2);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-brand-text span { color: var(--accent); }

.footer-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(245,158,11,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
  transition: background .2s;
  text-decoration: none;
}

.footer-social a:hover { background: rgba(245,158,11,0.2); }

.footer-heading {
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-muted);
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(245,158,11,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: .85rem;
}

.footer-bottom a { color: var(--accent); }

/* ============================================
   FLOATING CTA (Mobile)
   ============================================ */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
}

.floating-cta .btn-group {
  display: flex;
  gap: 10px;
}

.floating-cta .btn {
  flex: 1;
  min-height: 44px;
  font-size: 14px;
}

/* ============================================
   TABLE
   ============================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: .95rem;
}

.info-table th {
  background: rgba(245,158,11,0.06);
  color: var(--accent);
  font-weight: 600;
}

.info-table td { color: var(--text-secondary); }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
    grid-template-columns: 140px 1fr auto;
    gap: 10px;
  }

  .brand-wrap {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 48px;
  }

  .brand-logo {
    width: 140px;
    max-height: 42px;
    object-fit: contain;
  }

  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 1100;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    max-width: none;
    width: 100%;
    padding: 14px 14px;
    text-overflow: initial;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .header-actions {
    justify-content: flex-end;
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-more {
    display: none !important;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-overlay { padding: 48px 0 40px; }
  .page-hero { padding: 40px 0 36px; }

  .content-section { padding: 48px 0; }
  .content-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .image-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .floating-cta { display: block; }

  .prose p { font-size: 16px; line-height: 1.85; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .related-links { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .rg-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .rg-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ============================================
   ARTICLE / BLOG
   ============================================ */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: .85rem;
  color: var(--text-muted);
}

.article-meta time { color: var(--accent); }

.article-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  border: 2px solid var(--border-color);
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   FORM (Login/Register pages)
   ============================================ */
.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 480px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-stack);
  transition: border-color .2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

/* ============================================
   UTILITY
   ============================================ */
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }
.gap-3 { gap: 24px; }
