/* ============================================================
   5777 bet login - Complete Style System
   ============================================================ */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #22c55e;
  --secondary-dark: #16a34a;
  --accent: #7c3aed;
  --bg-body: #f0f9ff;
  --bg-dark: #0c4a6e;
  --bg-alt: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #bae6fd;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(14,165,233,0.1);
  --shadow-lg: 0 10px 32px rgba(14,165,233,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 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; }

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.bg-alt { background: var(--bg-alt); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #075985 100%);
  border-bottom: 3px solid var(--secondary);
}

.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 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: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 42px; height: 42px; }

.brand-text {
  min-width: 0;
  line-height: 1.05;
}
.brand-text strong, .brand-text span {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}
.brand-text strong { font-size: 20px; font-weight: 700; }
.brand-text span { font-size: 14px; color: var(--text-light); }

/* Primary Nav */
.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;
  color: #e0f2fe;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.primary-nav > a:hover, .primary-nav > a.active {
  background: var(--primary);
  color: #fff;
}

/* More Menu */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}
.more-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: #e0f2fe;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font);
  transition: background 0.2s;
}
.more-toggle:hover { background: var(--primary); }

.more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: var(--radius);
  z-index: 1200;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-lg);
}
.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 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #e0f2fe;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.more-menu a:hover, .more-menu a.active { background: var(--primary); color: #fff; }

/* Header Actions */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.header-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}
.btn-register {
  background: var(--secondary);
  color: #fff;
}
.btn-register:hover { box-shadow: 0 6px 20px rgba(34,197,94,0.4); color: #fff; }
.btn-login {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-login:hover { background: rgba(255,255,255,0.15); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  top: 76px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 14px;
  border-radius: 18px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 14px 12px;
  color: #e0f2fe;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--primary); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
  background: linear-gradient(160deg, #0c4a6e 0%, #0369a1 50%, #0ea5e9 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1rem;
}
.hero-lead {
  color: #bae6fd;
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-visual { text-align: center; }
.hero-visual .content-img {
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.btn-cta-primary {
  background: var(--secondary);
  color: #fff;
  padding: 0.7rem 2rem;
  font-size: 1rem;
}
.btn-cta-primary:hover { box-shadow: 0 8px 24px rgba(34,197,94,0.4); color: #fff; }
.btn-cta-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.65rem 1.8rem;
  font-size: 1rem;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-cta-secondary { background: var(--primary); color: #fff; padding: 0.6rem 1.5rem; }
.btn-cta-secondary:hover { color: #fff; }
.btn-cta-accent { background: var(--accent); color: #fff; padding: 0.6rem 1.5rem; }
.btn-cta-accent:hover { color: #fff; }
.btn-lg { padding: 0.85rem 2.5rem; font-size: 1.05rem; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(90deg, #0369a1, #0ea5e9, #22c55e);
  padding: 20px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-number { font-size: 1.8rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.85rem; color: #e0f2fe; font-weight: 500; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 72px 0; }
.section-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--bg-dark);
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  margin-top: 0.4rem;
}
.section-title.text-center::after { margin: 0.4rem auto 0; }
.section-subtitle { color: var(--text-muted); max-width: 700px; margin: 0 auto 2.5rem; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: start;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.prose { max-width: 820px; }
.prose p { font-size: 17px; line-height: 1.9; margin: 0 0 18px; color: var(--text-muted); }
.prose h2 { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.25; margin: 0 0 18px; color: var(--bg-dark); font-weight: 700; }
.prose h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  margin-top: 8px;
}
.prose h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; margin: 32px 0 12px; color: var(--bg-dark); }
.prose a { color: var(--primary-dark); font-weight: 600; border-bottom: 1px solid transparent; }
.prose a:hover { border-bottom-color: var(--primary); }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; color: var(--text-muted); font-size: 16px; line-height: 1.8; }

.content-visual { display: flex; align-items: center; justify-content: center; }
.content-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.cta-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h5 { color: var(--bg-dark); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-table-wrap { overflow-x: auto; margin-top: 1rem; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
}
.compare-table thead th { background: var(--bg-dark); color: #fff; font-weight: 700; }
.compare-table thead th.highlight { background: var(--primary); }
.compare-table tbody tr { background: #fff; border-bottom: 1px solid var(--border); }
.compare-table tbody tr:nth-child(even) { background: #f8fafc; }
.compare-table td.yes { color: var(--secondary); font-weight: 700; }
.compare-table td.no { color: #ef4444; font-weight: 600; }
.compare-table td.mid { color: #f59e0b; font-weight: 600; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border 0.2s, transform 0.2s;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, #f0f9ff, #e0f2fe);
  transform: scale(1.03);
}
.plan-name { font-size: 1.1rem; font-weight: 700; color: var(--bg-dark); }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--primary); margin: 0.5rem 0; }
.plan-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.pricing-card ul { list-style: none; padding: 0; margin: 1rem 0; text-align: left; }
.pricing-card ul li { padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-muted); }
.pricing-card ul li::before { content: "\2713 "; color: var(--secondary); font-weight: 700; margin-right: 6px; }
.pricing-card .btn { width: 100%; margin-top: 1rem; }
.badge-popular {
  background: var(--secondary);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps-section { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
}
.step-box:nth-child(2) { border-left-color: var(--secondary); }
.step-box:nth-child(3) { border-left-color: #f59e0b; }
.step-box:nth-child(4) { border-left-color: var(--accent); }
.step-number {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  font-weight: 700; font-size: 1.2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step-box:nth-child(2) .step-number { background: var(--secondary); }
.step-box:nth-child(3) .step-number { background: #f59e0b; }
.step-box:nth-child(4) .step-number { background: var(--accent); }
.step-box h5 { color: var(--bg-dark); font-weight: 700; margin-bottom: 0.5rem; }
.step-box p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   PRIVACY NOTICE
   ============================================================ */
.privacy-notice {
  background: linear-gradient(135deg, #0c4a6e, #0369a1);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: #e0f2fe;
  max-width: 900px;
  margin: 0 auto;
}
.privacy-notice h2 { color: #7dd3fc; font-size: 1.3rem; margin-bottom: 1rem; }
.privacy-notice h2::after { display: none; }
.privacy-notice p { color: #bae6fd; font-size: 0.95rem; line-height: 1.8; }
.privacy-notice a { color: #7dd3fc; text-decoration: underline; }
.privacy-icons {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.privacy-icons > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}
.privacy-icons svg { width: 28px; height: 28px; color: #7dd3fc; }

/* ============================================================
   RESPONSIBLE GAMING
   ============================================================ */
.rg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rg-card {
  background: #f0fdf4;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #bbf7d0;
  text-align: center;
}
.rg-card svg { width: 32px; height: 32px; color: var(--secondary); margin-bottom: 0.6rem; }
.rg-card h6 { color: #166534; font-weight: 700; margin-bottom: 0.4rem; }
.rg-card p { color: #374151; font-size: 0.88rem; line-height: 1.7; }
.rg-alert {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 12px;
  color: #166534;
  font-size: 0.92rem;
  padding: 1rem 1.5rem;
  margin-top: 2rem;
  line-height: 1.7;
}
.rg-alert a { color: #15803d; font-weight: 600; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
}
.testimonial-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 0.5rem; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-size: 0.95rem; font-style: italic; line-height: 1.8; margin-bottom: 1rem; }
.user-name { font-weight: 700; color: var(--bg-dark); font-size: 0.95rem; }
.user-city { font-size: 0.82rem; color: #64748b; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 40px;
  align-items: start;
}
.faq-intro .content-img { margin-top: 1.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--bg-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); font-weight: 700; }
.faq-item[open] summary { background: var(--primary); color: #fff; }
.faq-item[open] summary::after { content: "\2212"; color: #fff; }
.faq-answer { padding: 1rem 1.2rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.faq-answer a { color: var(--primary-dark); font-weight: 600; }

/* ============================================================
   MAP
   ============================================================ */
.map-img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 800px; margin: 1.5rem auto 0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta-section {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0ea5e9 100%);
  color: #fff;
  padding: 80px 0;
}
.final-cta-section h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.final-cta-section h2::after { display: none; }
.final-cta-section p { color: #bae6fd; max-width: 600px; margin: 0 auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
  color: #bae6fd;
  padding: 3rem 0 1.5rem;
  border-top: 4px solid var(--secondary);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr; gap: 30px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo svg { width: 36px; height: 36px; }
.footer-logo strong { color: #fff; font-size: 1.1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: #93c5fd; margin-bottom: 1rem; }
.footer-contact p { font-size: 0.85rem; color: #7dd3fc; margin-bottom: 0.3rem; }
.footer-links h6 {
  color: #7dd3fc;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.footer-links a {
  color: #93c5fd;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--secondary); }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.footer-badges { display: flex; gap: 8px; margin-top: 1rem; }
.badge-18 { background: var(--primary); color: #fff; padding: 0.3rem 0.8rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600; }
.badge-safe { background: var(--secondary); color: #fff; padding: 0.3rem 0.8rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(14,165,233,0.3);
  padding-top: 1.2rem;
  margin-top: 2rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: #7dd3fc; margin-bottom: 0.4rem; }
.footer-bottom a { color: #93c5fd; }
.footer-disclaimer { font-size: 0.8rem !important; color: #64748b !important; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar { padding: 12px 0; background: #e0f2fe; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; font-size: 0.85rem; }
.breadcrumb a { color: var(--primary-dark); }
.breadcrumb span { color: var(--text-muted); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.inner-hero {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
  padding: 56px 0 40px;
  color: #fff;
}
.inner-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}
.inner-hero .hero-lead { color: #bae6fd; font-size: 1rem; max-width: 700px; line-height: 1.8; }

/* ============================================================
   INNER PAGE CONTENT
   ============================================================ */
.page-content { padding: 56px 0; }
.page-content .prose { max-width: 860px; }
.page-content .content-grid { margin-bottom: 3rem; }

/* Article page specific */
.article-meta { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.article-meta time { font-weight: 600; }

/* Related links section */
.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 1.5rem;
}
.related-link {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s;
}
.related-link:hover { transform: translateY(-3px); }
.related-link h4 { font-size: 0.95rem; color: var(--bg-dark); margin-bottom: 0.3rem; }
.related-link p { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
    grid-template-columns: 140px 1fr auto 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-mark svg { width: 38px; height: 38px; }
  .brand-text strong, .brand-text span { max-width: 86px; }
  .primary-nav { display: none; }
  .nav-more { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { min-height: 38px; padding: 0 12px; font-size: 0.82rem; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-section { padding: 56px 0 40px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .content-grid { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
  .content-section { padding: 48px 0; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .rg-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .related-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .privacy-icons { flex-direction: column; gap: 1rem; }

  .prose p { font-size: 16px; line-height: 1.85; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .rg-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-number { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.4rem; }
}
