/* ============================================
   777abcvip.net - Original Design System
   Target: Bangladesh (bn-BD)
   ============================================ */

:root {
  --c-primary: #e6a817;
  --c-primary-dark: #c48f0e;
  --c-primary-light: #fdf0c4;
  --c-accent: #1a6b3c;
  --c-accent-light: #e8f5ee;
  --c-dark: #121a2b;
  --c-dark-mid: #1c2640;
  --c-surface: #f7f8fb;
  --c-surface-alt: #eef1f7;
  --c-card: #ffffff;
  --c-text: #1a1f2e;
  --c-text-mid: #3d4557;
  --c-text-light: #6b7185;
  --c-border: #d8dce6;
  --c-border-light: #e9ecf2;
  --c-white: #ffffff;
  --c-danger: #c0392b;
  --c-info: #2980b9;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --max-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(18,26,43,.07);
  --shadow-md: 0 4px 16px rgba(18,26,43,.09);
  --shadow-lg: 0 8px 32px rgba(18,26,43,.12);
  --shadow-glow: 0 0 24px rgba(230,168,23,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-stack);
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-surface);
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER - Stable Single Row
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--c-dark);
  border-bottom: 3px solid var(--c-primary);
}

.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;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  border-radius: 10px;
  color: var(--c-dark);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}

.brand-text {
  min-width: 0;
  line-height: 1.05;
}

.brand-text strong {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: .3px;
}

.brand-text span {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #8892a6;
  font-weight: 500;
}

/* PRIMARY NAV */
.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 18px);
  overflow: hidden;
  flex-wrap: nowrap;
}

.primary-nav a {
  white-space: nowrap;
  flex: 0 1 auto;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding: 10px 7px;
  font-size: 14px;
  font-weight: 500;
  color: #b0b8cc;
  transition: color .2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

/* MORE MENU */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}

.more-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(176,184,204,.25);
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  color: #b0b8cc;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-stack);
  gap: 5px;
  transition: background .2s, color .2s;
}

.more-toggle:hover { background: rgba(255,255,255,.12); color: var(--c-primary); }

.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(--c-dark-mid);
  border: 1px solid rgba(176,184,204,.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: #b0b8cc;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.more-menu a:hover { background: rgba(230,168,23,.1); color: var(--c-primary); }
.more-menu a.active { color: var(--c-primary); background: rgba(230,168,23,.08); }

/* HEADER ACTIONS */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font-stack);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-register {
  background: var(--c-primary);
  color: var(--c-dark);
}
.btn-register:hover { background: var(--c-primary-dark); color: var(--c-dark); transform: translateY(-1px); box-shadow: var(--shadow-glow); }

.btn-login {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn-login:hover { background: var(--c-primary); color: var(--c-dark); }

/* NAV TOGGLE (Mobile) */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(176,184,204,.3);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #b0b8cc;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: var(--font-stack);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(145deg, var(--c-dark) 0%, #162038 55%, #1a3052 100%);
  color: var(--c-white);
  padding: 68px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,168,23,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-white);
}

.hero h1 em {
  font-style: normal;
  color: var(--c-primary);
}

.hero-lead {
  font-size: 1.05rem;
  color: #a4b0c9;
  margin-top: 16px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badge {
  background: rgba(230,168,23,.12);
  border: 1px solid rgba(230,168,23,.35);
  color: var(--c-primary);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,.3);
  width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 72px 0; }
.section-alt { background: var(--c-surface-alt); }
.section-white { background: var(--c-white); }
.section-dark { background: var(--c-dark); color: var(--c-white); }

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.3;
}

.section-dark .section-head h2 { color: var(--c-white); }

.section-head h2 em { font-style: normal; color: var(--c-primary); }

.section-bar {
  width: 54px;
  height: 4px;
  background: var(--c-primary);
  border-radius: 2px;
  margin: 12px auto 16px;
}

.section-head p {
  color: var(--c-text-light);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-head p { color: #8892a6; }

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card-item {
  background: var(--c-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-light), rgba(230,168,23,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--c-primary-dark);
}

.card-item h3, .card-item h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.card-item p {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.65;
}

/* Dark card variant */
.card-dark {
  background: rgba(255,255,255,.04);
  border-color: rgba(230,168,23,.15);
  color: var(--c-white);
}

.card-dark h3, .card-dark h5 { color: var(--c-primary); }
.card-dark p { color: #8892a6; }

/* ============================================
   STEP CARDS
   ============================================ */
.step-num {
  width: 48px;
  height: 48px;
  background: var(--c-primary);
  color: var(--c-dark);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 15px;
}

.compare-table th {
  background: var(--c-dark);
  color: var(--c-primary);
  font-weight: 700;
  padding: 14px 18px;
  text-align: center;
}

.compare-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--c-border-light);
  text-align: center;
  color: var(--c-text-mid);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) td { background: var(--c-surface); }

.cmp-yes { color: var(--c-accent); font-weight: 700; }
.cmp-no { color: var(--c-danger); font-weight: 700; }

/* ============================================
   PRICING / PLAN CARDS
   ============================================ */
.plan-card {
  background: var(--c-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.plan-card.featured {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: var(--c-dark);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 4px 18px;
  font-size: 13px;
}

.plan-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--c-primary-dark); }
.plan-price small { font-size: .85rem; font-weight: 500; color: var(--c-text-light); }

.plan-list { list-style: none; margin: 18px 0; text-align: left; }
.plan-list li { padding: 6px 0; color: var(--c-text-mid); font-size: 14px; }
.plan-list li::before { content: "\2713 "; color: var(--c-accent); font-weight: 700; margin-right: 6px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-card {
  background: var(--c-card);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.testi-stars { color: #f59e0b; font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.testi-card blockquote { color: var(--c-text-mid); font-size: 15px; font-style: italic; margin-bottom: 14px; line-height: 1.7; }
.testi-name { font-weight: 700; color: var(--c-text); font-size: 14px; }
.testi-loc { color: var(--c-text-light); font-size: 13px; }

/* ============================================
   PRIVACY / NOTICE BOX
   ============================================ */
.notice-box {
  background: linear-gradient(90deg, var(--c-primary-light), var(--c-surface));
  border: 1px solid rgba(230,168,23,.3);
  border-left: 5px solid var(--c-primary);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.notice-icon { font-size: 28px; color: var(--c-primary-dark); flex-shrink: 0; margin-top: 2px; }
.notice-box h6 { font-weight: 700; color: var(--c-text); margin-bottom: 6px; }
.notice-box p { color: var(--c-text-mid); font-size: 14px; line-height: 1.7; }

/* Warning variant */
.warning-box {
  background: #fefce8;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.warning-box .w-icon { font-size: 24px; color: #d97706; flex-shrink: 0; }
.warning-box strong { color: #92400e; }
.warning-box p, .warning-box span { color: #78350f; font-size: 14px; }

/* ============================================
   RESPONSIBLE GAMING CARDS
   ============================================ */
.rg-card {
  background: var(--c-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.rg-icon { font-size: 32px; color: var(--c-primary-dark); margin-bottom: 12px; }
.rg-card h6 { font-weight: 700; color: var(--c-text); margin-bottom: 8px; }
.rg-card p { color: var(--c-text-light); font-size: 14px; line-height: 1.6; }

/* ============================================
   PROSE / CONTENT
   ============================================ */
.prose { max-width: 820px; }
.prose-center { margin-left: auto; margin-right: auto; }

.prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 40px 0 16px;
  color: var(--c-text);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 28px 0 12px;
  color: var(--c-text);
}

.prose p {
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: var(--c-text-mid);
}

.prose ul, .prose ol {
  margin: 0 0 18px 22px;
  color: var(--c-text-mid);
  line-height: 1.8;
}

.prose li { margin-bottom: 6px; }

.prose img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}

.prose a { color: var(--c-primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-accent); }

/* Content grid (text + image) */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 36px;
  align-items: start;
}

.content-grid-reverse { direction: rtl; }
.content-grid-reverse > * { direction: ltr; }

.content-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--c-card);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--c-card);
  border: none;
  cursor: pointer;
  font-family: var(--font-stack);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  text-align: left;
  gap: 12px;
  transition: background .15s;
}

.faq-q:hover { background: var(--c-surface); }
.faq-q .faq-arrow { transition: transform .25s; font-size: 12px; color: var(--c-text-light); flex-shrink: 0; }
.faq-item.is-open .faq-q { background: var(--c-surface); color: var(--c-primary-dark); }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--c-text-mid);
  font-size: 15px;
  line-height: 1.75;
}

.faq-item.is-open .faq-a {
  padding: 0 20px 18px;
  max-height: 600px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #0d1b30 0%, var(--c-dark) 60%, #162038 100%);
  padding: 56px 0;
  text-align: center;
  color: var(--c-white);
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p { color: #8892a6; margin-bottom: 28px; font-size: 15px; }
.cta-banner .btn { margin: 0 6px; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-bar {
  background: var(--c-dark);
  padding: 12px 0;
  border-bottom: 1px solid rgba(176,184,204,.1);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #6b7185;
}

.breadcrumb-list a { color: #8892a6; text-decoration: none; }
.breadcrumb-list a:hover { color: var(--c-primary); }
.breadcrumb-list .sep { margin: 0 4px; }
.breadcrumb-list .current { color: var(--c-primary); }

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(145deg, var(--c-dark) 0%, #162038 70%, #1a3052 100%);
  color: var(--c-white);
  padding: 48px 0 40px;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  max-width: 820px;
}

.page-hero h1 em { font-style: normal; color: var(--c-primary); }

.page-hero-lead {
  color: #a4b0c9;
  font-size: 15px;
  margin-top: 14px;
  max-width: 680px;
  line-height: 1.7;
}

/* ============================================
   GAME DETAIL PAGE
   ============================================ */
.game-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 20px 0;
}

.game-info-table th {
  text-align: left;
  background: var(--c-surface);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-light);
  width: 40%;
}

.game-info-table td {
  padding: 10px 14px;
  color: var(--c-text-mid);
  border-bottom: 1px solid var(--c-border-light);
}

/* Game feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.feature-tag {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.feature-tag strong { display: block; color: var(--c-text); margin-bottom: 4px; }
.feature-tag span { font-size: 13px; color: var(--c-text-light); }

/* ============================================
   ARTICLE / BLOG
   ============================================ */
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--c-text-light);
  margin: 12px 0 24px;
  flex-wrap: wrap;
}

.article-meta span { display: flex; align-items: center; gap: 5px; }

.article-cover {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}

.related-posts h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.related-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--c-surface);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: box-shadow .2s;
}

.related-card:hover { box-shadow: var(--shadow-md); }
.related-card img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-card h4 { font-size: 14px; font-weight: 700; color: var(--c-text); line-height: 1.4; }
.related-card p { font-size: 12px; color: var(--c-text-light); margin-top: 4px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--c-dark);
  color: #8892a6;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.footer-desc { font-size: 14px; color: #6b7185; line-height: 1.65; max-width: 280px; }

.footer-heading {
  color: var(--c-white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #6b7185; font-size: 14px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--c-primary); }

.footer-contact { font-size: 13px; color: #6b7185; margin-top: 14px; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(176,184,204,.12);
  margin-top: 40px;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #4b5268;
}

.footer-bottom a { color: #4b5268; text-decoration: none; }
.footer-bottom a:hover { color: var(--c-primary); }

/* ============================================
   BUTTONS GLOBAL
   ============================================ */
.btn-primary {
  background: var(--c-primary);
  color: var(--c-dark);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.btn-primary:hover { background: var(--c-primary-dark); color: var(--c-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-primary);
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s;
}

.btn-outline:hover { background: var(--c-primary); color: var(--c-dark); }

/* ============================================
   PAGE IMAGE
   ============================================ */
.page-img {
  display: block;
  max-width: 100%;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.img-section { padding: 24px 0; }
.img-section .wrap { max-width: 960px; }

/* ============================================
   INNER LINK SECTION
   ============================================ */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.link-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
}

.link-card:hover { box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.link-card h4 { font-size: 15px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.link-card p { font-size: 13px; color: var(--c-text-light); line-height: 1.5; }

/* ============================================
   POLICY PAGE
   ============================================ */
.policy-section { counter-reset: policy-counter; }

.policy-section h2::before {
  counter-increment: policy-counter;
  content: counter(policy-counter) ". ";
  color: var(--c-primary-dark);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  text-align: center;
  padding: 80px 20px;
}

.error-code { font-size: 6rem; font-weight: 800; color: var(--c-primary); line-height: 1; }
.error-page h1 { font-size: 1.5rem; margin: 16px 0; }
.error-page p { color: var(--c-text-light); margin-bottom: 28px; }

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@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; font-size: 16px; }
  .brand-text strong { max-width: 86px; font-size: 14px; }
  .brand-text span { max-width: 86px; font-size: 10px; }

  .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(--c-dark-mid);
    border: 1px solid rgba(176,184,204,.12);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
  }

  .primary-nav.is-open { display: flex; }

  .primary-nav a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    text-overflow: initial;
    font-size: 15px;
    border-bottom-color: transparent;
    border-radius: var(--radius-sm);
  }

  .primary-nav a:hover,
  .primary-nav a.active {
    background: rgba(230,168,23,.08);
    border-bottom-color: transparent;
  }

  .nav-more { display: none !important; }

  .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;
  }

  /* Hero */
  .hero { padding: 40px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 1.4rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn, .hero-cta .btn-primary, .hero-cta .btn-outline { width: 100%; text-align: center; }

  /* Section */
  .section { padding: 48px 0; }

  /* Cards */
  .card-grid-4, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Content */
  .content-grid { grid-template-columns: 1fr; }
  .content-grid-reverse { direction: ltr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Plan */
  .plan-card.featured { transform: scale(1); }

  /* Prose */
  .prose p { font-size: 16px; line-height: 1.85; }
}

@media (max-width: 576px) {
  .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .link-cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-row { display: flex; gap: 12px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
