/* betjeeaffiliate.com - Complete Stylesheet */
/* System font stack - no Google Fonts */
:root {
  --bg-main: #0c1a2e;
  --bg-section: #122240;
  --bg-card: #1a3055;
  --bg-alt: #0f1f38;
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  --brand-primary: #1a6b3c;
  --brand-gold: #facc15;
  --brand-emerald: #10b981;
  --brand-sky: #38bdf8;
  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-gold: rgba(250, 204, 21, 0.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.35);
  --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-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-stack);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-sky); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-gold); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(12, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--brand-gold);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 72px;
  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;
  gap: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
}

.brand-text { min-width: 0; line-height: 1.05; }
.brand-text strong { display: block; font-size: 18px; font-weight: 800; color: var(--brand-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 105px; }
.brand-text span { display: block; font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 105px; }

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vw, 14px);
  flex-wrap: nowrap;
}

.primary-nav a {
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1;
  padding: 10px 4px;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s;
  text-decoration: none;
}

.primary-nav a:hover, .primary-nav a.active { color: var(--brand-gold); }

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stack);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
  padding: 10px 20px;
  min-height: 42px;
}

.btn-primary, .btn-register {
  background: var(--brand-gold);
  color: var(--bg-main);
}
.btn-primary:hover, .btn-register:hover {
  background: #e6b800;
  color: var(--bg-main);
  transform: translateY(-1px);
}

.btn-outline, .btn-login {
  background: transparent;
  color: var(--brand-sky);
  border: 2px solid var(--brand-sky);
}
.btn-outline:hover, .btn-login:hover {
  background: var(--brand-sky);
  color: var(--bg-main);
}

.btn-lg { padding: 14px 28px; font-size: 16px; min-height: 48px; }

.header-actions .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.nav-toggle { display: none; background: none; border: none; color: var(--text-main); cursor: pointer; padding: 8px; }

/* ==================== HERO ==================== */
.hero-section { padding: 72px 0 56px; background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 50%, var(--bg-main) 100%); }
.hero-home { padding: 80px 0 64px; }
.hero-inner { padding: 56px 0 48px; }
.hero-404 { padding: 120px 0; text-align: center; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-content h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero-content h1 span { color: var(--brand-gold); }
.hero-lead { color: var(--text-muted); font-size: 17px; line-height: 1.8; max-width: 640px; margin-bottom: 24px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.hero-article { padding-bottom: 32px; }
.article-meta { display: flex; gap: 16px; margin: 12px 0 24px; font-size: 14px; color: var(--text-muted); }
.article-meta span { padding: 4px 12px; background: var(--bg-card); border-radius: var(--radius-full); }

/* Stats */
.stat-strip { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 24px; font-weight: 800; color: var(--brand-gold); }
.stat-item span { font-size: 13px; color: var(--text-muted); }

/* ==================== SECTIONS ==================== */
section { padding: 64px 0; }
.bg-alt { background: var(--bg-alt); }
.content-section { padding: 56px 0; }
.section-image { padding: 32px 0; }
.section-image img { max-width: 720px; margin: 0 auto; box-shadow: var(--shadow-lg); }

.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.section-lead { color: var(--text-muted); font-size: 17px; max-width: 640px; }
.section-header.center .section-lead { margin: 0 auto; }

/* Content Grid */
.content-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.content-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: sticky; top: 96px; }

/* Prose */
.prose { max-width: 820px; }
.prose.full-width { max-width: none; }
.prose h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; line-height: 1.25; margin: 48px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(19px, 2vw, 26px); font-weight: 700; line-height: 1.35; margin: 32px 0 12px; color: var(--brand-sky); }
.prose p { font-size: 17px; line-height: 1.85; margin-bottom: 18px; color: var(--text-muted); }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: var(--text-muted); }
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose li strong { color: var(--text-main); }
.prose a { color: var(--brand-gold); }
.prose a:hover { text-decoration: underline; }

.article-prose { max-width: 760px; margin: 0 auto; }

/* ==================== CARDS ==================== */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card, .rg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--brand-sky); }
.rg-card { border-top: 3px solid var(--brand-gold); }

.feature-card .card-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3, .rg-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.feature-card p, .rg-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ==================== STEPS ==================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-grid.compact { grid-template-columns: repeat(2, 1fr); }

.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-subtle);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--brand-gold);
  color: var(--bg-main);
  font-weight: 800;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--text-main); }
.step-body p { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ==================== PLANS ==================== */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s;
}
.plan-card.featured { border-color: var(--brand-gold); transform: scale(1.03); }
.plan-badge { display: inline-block; background: var(--brand-gold); color: var(--bg-main); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: var(--radius-full); margin-bottom: 8px; }
.plan-name { font-size: 18px; font-weight: 700; color: var(--brand-sky); margin-bottom: 8px; }
.plan-price { font-size: 36px; font-weight: 800; color: var(--brand-gold); }
.plan-price span { font-size: 15px; color: var(--text-muted); }
.plan-desc { color: var(--text-muted); font-size: 14px; margin: 8px 0 18px; }
.plan-features { list-style: none; padding: 0; margin: 18px 0; text-align: left; }
.plan-features li { padding: 5px 0; color: var(--text-muted); font-size: 14px; }
.plan-features li::before { content: "\2713 "; color: var(--brand-gold); font-weight: 700; }

/* ==================== TABLE ==================== */
.table-wrap { overflow-x: auto; margin: 24px 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th { background: var(--bg-main); color: var(--brand-gold); font-weight: 700; padding: 14px 16px; text-align: left; border: 1px solid var(--border-subtle); }
.compare-table td { background: var(--bg-card); color: var(--text-muted); padding: 12px 16px; border: 1px solid var(--border-subtle); }
.compare-table .check { color: #4ade80; font-size: 18px; text-align: center; }
.compare-table .cross { color: #f87171; font-size: 18px; text-align: center; }

/* ==================== TESTIMONIALS ==================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-grid.compact { grid-template-columns: repeat(2, 1fr); }

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-subtle);
}
.testimonial-card .stars { color: var(--brand-gold); font-size: 16px; margin-bottom: 12px; }
.testimonial-card p { color: var(--text-muted); font-style: italic; line-height: 1.7; font-size: 15px; }
.testimonial-author { font-weight: 700; color: var(--text-main); margin-top: 12px; }
.testimonial-city { color: var(--brand-sky); font-size: 13px; }

/* ==================== PRIVACY NOTICE ==================== */
.privacy-notice {
  background: linear-gradient(90deg, var(--bg-main), var(--bg-section));
  border-left: 4px solid var(--brand-sky);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.privacy-notice h2 { font-size: 20px; color: var(--brand-sky); margin-bottom: 12px; }
.privacy-notice p { color: var(--text-muted); font-size: 15px; margin: 0; line-height: 1.75; }

/* ==================== FAQ ==================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 24px; cursor: pointer; list-style: none; font-weight: 600; color: var(--text-main); transition: background 0.2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-size: 20px; color: var(--brand-gold); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--bg-section); color: var(--brand-gold); }
.faq-item summary h3 { display: inline; font-size: 16px; font-weight: 600; }
.faq-body { padding: 0 24px 18px; }
.faq-body p { color: var(--text-muted); font-size: 15px; line-height: 1.75; margin-top: 12px; }

/* ==================== CTA ==================== */
.section-cta { padding: 56px 0; }
.center { text-align: center; }
.center h2 { margin-bottom: 12px; }
.center p { max-width: 640px; margin-left: auto; margin-right: auto; color: var(--text-muted); }
.center-cta { text-align: center; margin-top: 28px; }
.cta-actions { justify-content: center; }

/* ==================== BREADCRUMB ==================== */
.breadcrumb-container { padding: 16px 0 0; }
.breadcrumb-nav { font-size: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--text-muted); margin-right: 4px; }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--brand-gold); }
.breadcrumb-item.active { color: var(--brand-sky); }

/* ==================== ARTICLES ==================== */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 36px; }
.article-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); }
.article-card img { border-radius: 0; aspect-ratio: 16/9; object-fit: cover; }
.article-body { padding: 20px 24px; }
.article-body .article-date { font-size: 13px; color: var(--text-muted); }
.article-body h3 { font-size: 18px; margin: 8px 0 10px; }
.article-body h3 a { color: var(--text-main); }
.article-body h3 a:hover { color: var(--brand-gold); }
.article-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--bg-main); border-top: 2px solid var(--brand-gold); padding: 56px 0 28px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 32px; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-site-name { font-size: 18px; font-weight: 800; color: var(--brand-gold); }
.footer-desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 12px; }
.footer-contact { color: #475569; font-size: 13px; margin-bottom: 4px; }

.footer-heading { color: var(--brand-gold); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-gold); }

.footer-disclaimer { color: #475569; font-size: 13px; line-height: 1.7; }
.footer-divider { border: none; border-top: 1px solid var(--border-gold); margin: 0 0 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.copyright { color: #475569; font-size: 13px; margin: 0; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
}

@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-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-text strong, .brand-text span { max-width: 86px; }

  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: var(--radius-lg);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--bg-section);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .primary-nav.is-open { display: flex; }

  .primary-nav a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    text-overflow: initial;
    font-size: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .primary-nav a:last-child { border-bottom: none; }

  .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; align-items: center; justify-content: center; }

  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 48px 0 36px; }
  .hero-content h1 { font-size: 28px; }

  section { padding: 48px 0; }
  .content-section { padding: 40px 0; }

  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .content-visual { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .btn-lg { width: 100%; }
  .stat-strip { flex-direction: column; gap: 12px; }
}
