/* ===== a71 Design System: Emerald Trust Gaming UI ===== */
:root {
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-primary-soft: rgba(20,184,166,.12);
  --color-secondary: #1e3a5f;
  --color-accent: #f59e0b;
  --color-bg: #0f172a;
  --color-bg-soft: #1a2744;
  --color-surface: rgba(255,255,255,.06);
  --color-surface-strong: rgba(255,255,255,.12);
  --color-card: rgba(240,253,250,.95);
  --color-card-alt: rgba(255,255,255,.08);
  --color-border: rgba(167,243,208,.2);
  --color-border-strong: rgba(167,243,208,.4);
  --color-text: #f1f5f9;
  --color-text-soft: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-text-dark: #0f172a;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: rgba(2,6,23,.85);
  --color-footer-text: #e2e8f0;
  --gradient-hero: linear-gradient(135deg,#0f172a 0%,#1a2744 50%,#0f172a 100%);
  --gradient-button: linear-gradient(135deg,#0d9488,#0f766e);
  --gradient-button-hover: linear-gradient(135deg,#14b8a6,#0d9488);
  --gradient-cta: linear-gradient(135deg,rgba(20,184,166,.15),rgba(167,243,208,.08));
  --shadow-header: 0 4px 24px rgba(0,0,0,.18);
  --shadow-card: 0 8px 32px rgba(0,0,0,.12);
  --shadow-card-hover: 0 16px 48px rgba(0,0,0,.18);
  --shadow-button: 0 4px 16px rgba(13,148,136,.3);
  --shadow-soft: 0 2px 8px rgba(0,0,0,.06);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --font-base: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans Bengali",sans-serif;
  --fs-h1: clamp(2rem,4.2vw,3.8rem);
  --fs-h2: clamp(1.5rem,2.8vw,2.4rem);
  --fs-h3: clamp(1.15rem,1.8vw,1.5rem);
  --fs-body: clamp(15px,.95vw,17px);
  --fs-small: 13px;
  --fs-nav: clamp(13px,.84vw,15px);
  --lh-heading: 1.25;
  --lh-body: 1.8;
  --container-max: 1200px;
  --section-y: clamp(48px,6vw,80px);
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --header-h: 72px;
  --mobile-header-h: 64px;
  --motion-fast: .15s;
  --motion-normal: .25s;
  --motion-slow: .4s;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: #5eead4; }
:focus-visible { outline: 2px solid #14b8a6; outline-offset: 2px; border-radius: 4px; }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }

/* === CONTAINER === */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px,3vw,24px); }

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-header);
  transition: box-shadow var(--motion-normal);
}
.header-inner {
  width: 100%; max-width: none;
  padding-left: clamp(10px,1.2vw,20px);
  padding-right: clamp(10px,1.2vw,20px);
  min-height: var(--header-h);
  display: flex; align-items: center;
  gap: clamp(10px,1vw,18px);
}
.brand-wrap { flex: 0 0 auto; margin-right: clamp(4px,.8vw,14px); }
.site-logo {
  display: block; width: auto;
  height: clamp(32px,3vw,42px);
  max-width: clamp(118px,10vw,168px);
  object-fit: contain;
}
.primary-nav {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(4px,.6vw,12px);
  white-space: nowrap; overflow: visible;
}
.primary-nav .nav-item {
  flex: 0 1 auto; min-width: 0;
  padding: 8px clamp(5px,.55vw,10px);
  font-size: var(--fs-nav);
  font-weight: 600; line-height: 1;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: background var(--motion-fast), color var(--motion-fast);
}
.primary-nav .nav-item:hover,
.primary-nav .nav-item:focus { background: rgba(167,243,208,.15); color: #a7f3d0; }
.primary-nav .nav-item.active { background: rgba(167,243,208,.2); color: #5eead4; }
.header-actions {
  flex: 0 0 auto; margin-left: auto;
  display: flex; align-items: center; justify-content: flex-end;
  gap: clamp(6px,.6vw,10px); white-space: nowrap;
}
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; border: none; cursor: pointer; text-decoration: none; border-radius: var(--radius-pill); transition: all var(--motion-fast); line-height: 1; }
.btn-login { min-height: 40px; padding: 0 clamp(12px,1vw,18px); font-size: 14px; background: transparent; color: #e2e8f0; border: 1px solid rgba(167,243,208,.4); }
.btn-login:hover { background: rgba(167,243,208,.12); color: #fff; }
.btn-register { min-height: 40px; padding: 0 clamp(12px,1vw,18px); font-size: 14px; background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-button); }
.btn-register:hover { background: var(--gradient-button-hover); transform: translateY(-1px); }
.nav-toggle { display: none; flex: 0 0 40px; width: 40px; height: 40px; background: transparent; border: 1px solid rgba(167,243,208,.3); border-radius: var(--radius-sm); cursor: pointer; padding: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.toggle-bar { display: block; width: 20px; height: 2px; background: #e2e8f0; border-radius: 2px; transition: transform var(--motion-fast); }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; top: var(--mobile-header-h); left: 0; right: 0; background: rgba(15,23,42,.98); backdrop-filter: blur(20px); border-top: 1px solid var(--color-border); max-height: calc(100vh - var(--mobile-header-h)); overflow-y: auto; z-index: 999; padding: 16px; }
.mobile-menu.is-open { display: block; }
.mobile-menu .nav-item { display: block; padding: 14px 16px; font-size: 16px; font-weight: 600; border-radius: var(--radius-sm); margin-bottom: 4px; }
.mobile-menu .nav-item:hover { background: rgba(167,243,208,.1); }
.mobile-menu .nav-item.active { background: rgba(167,243,208,.15); color: #5eead4; }
.mobile-menu-actions { display: flex; gap: 10px; padding: 16px 0 8px; }
.mobile-menu-actions .btn { flex: 1; min-height: 44px; justify-content: center; }

@media(max-width:1180px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { min-height: var(--mobile-header-h); padding-left: clamp(8px,2.4vw,14px); padding-right: clamp(8px,2.4vw,14px); justify-content: flex-start; gap: clamp(6px,1.8vw,10px); }
  .brand-wrap { flex: 0 1 auto; margin-right: 0; }
  .site-logo { height: clamp(30px,8vw,40px); max-width: clamp(104px,27vw,138px); }
  .header-actions { margin-left: auto; gap: clamp(5px,1.6vw,8px); }
  .header-actions .btn { min-height: 40px; padding-inline: clamp(10px,2.6vw,14px); font-size: clamp(12px,3.2vw,14px); }
  .nav-toggle { flex-basis: 40px; }
}
@media(max-width:375px) {
  .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .header-actions .btn { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
}

/* ========== BREADCRUMB ========== */
.breadcrumb-nav { padding: 14px 0; }
.breadcrumb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-small); color: var(--color-text-muted); }
.breadcrumb-list li::after { content: '/'; margin-left: 6px; }
.breadcrumb-list li:last-child::after { content: ''; }
.breadcrumb-list a { color: #5eead4; }
.breadcrumb-list a:hover { text-decoration: underline; }

/* ========== SECTIONS ========== */
section { padding: var(--section-y) 0; }
.section-title { text-align: center; font-size: var(--fs-h2); font-weight: 800; line-height: var(--lh-heading); margin-bottom: 12px; }
.section-lead { text-align: center; max-width: 720px; margin: 0 auto 40px; color: var(--color-text-soft); font-size: 1.05rem; }

/* ========== HOMEPAGE HERO ========== */
.home-hero { padding: clamp(60px,8vw,100px) 0 var(--section-y); background: radial-gradient(circle at 15% 10%,rgba(20,184,166,.25),transparent 40%), radial-gradient(circle at 85% 20%,rgba(167,243,208,.15),transparent 30%), var(--gradient-hero); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(167,243,208,.12); border: 1px solid rgba(167,243,208,.25); color: #a7f3d0; font-weight: 700; font-size: .95rem; margin-bottom: 16px; }
.hero-grid h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 20px; }
.hero-lead { font-size: 1.1rem; color: #cbd5e1; line-height: 1.75; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn-primary-hero { min-height: 48px; padding: 0 28px; font-size: 15px; background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-button); }
.btn-primary-hero:hover { background: var(--gradient-button-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,.4); }
.btn-outline-hero { min-height: 48px; padding: 0 28px; font-size: 15px; background: transparent; color: #e2e8f0; border: 1px solid rgba(167,243,208,.4); }
.btn-outline-hero:hover { background: rgba(167,243,208,.1); color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(20,184,166,.1); color: #5eead4; font-size: .85rem; font-weight: 600; }
.hero-img { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-card); }
@media(max-width:768px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

/* ========== INTRO PANEL (glass) ========== */
.intro-panel { background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.04)); backdrop-filter: blur(16px); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(24px,4vw,48px); box-shadow: var(--shadow-card); }
.intro-panel h2 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 16px; }
.intro-panel p { color: #cbd5e1; margin-bottom: 16px; }

/* ========== INFO PANEL (light bg) ========== */
.info-panel { background: rgba(240,253,250,.95); border: 1px solid rgba(20,184,166,.15); border-radius: var(--radius-xl); padding: clamp(24px,4vw,48px); box-shadow: var(--shadow-card); color: var(--color-text-dark); }
.info-panel h2, .info-panel h3, .info-panel p, .info-panel li { color: var(--color-text-dark); }

/* ========== FEATURE GRID ========== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.feature-item { background: var(--color-card); border: 1px solid rgba(20,184,166,.15); border-radius: var(--radius-lg); padding: 28px 24px; color: var(--color-text-dark); transition: transform var(--motion-normal), box-shadow var(--motion-normal); }
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: rgba(20,184,166,.12); color: var(--color-primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.feature-item h3 { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 8px; color: var(--color-text-dark); }
.feature-item p { color: #334155; margin: 0; font-size: .95rem; }

/* ========== SPLIT CONTENT ========== */
.split-content { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.split-content.reverse { grid-template-columns: .95fr 1.05fr; }
.split-text h2 { font-size: var(--fs-h2); font-weight: 800; line-height: var(--lh-heading); margin-bottom: 16px; }
.split-text p { margin-bottom: 16px; color: #cbd5e1; }
.content-img { border-radius: var(--radius-xl); border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-card); width: 100%; }
@media(max-width:768px) { .split-content, .split-content.reverse { grid-template-columns: 1fr; } .split-visual { order: -1; } }

/* ========== CHECK LIST ========== */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: .95rem; }
.check-list .bi-check-circle-fill { color: var(--color-success); flex-shrink: 0; margin-top: 2px; }

/* ========== STAT ROW ========== */
.stat-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.stat-card { background: rgba(20,184,166,.1); border: 1px solid rgba(167,243,208,.2); border-radius: var(--radius-md); padding: 16px 20px; display: flex; flex-direction: column; }
.stat-card strong { font-size: 1.5rem; color: #5eead4; }
.stat-card span { font-size: .85rem; color: var(--color-text-muted); }

/* ========== LOCAL HIGHLIGHTS ========== */
.local-highlights { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; margin-top: 24px; }
.highlight-card { background: rgba(20,184,166,.06); border: 1px solid rgba(20,184,166,.12); border-radius: var(--radius-md); padding: 20px; }
.highlight-card i { font-size: 1.5rem; color: var(--color-primary); margin-bottom: 10px; display: block; }
.highlight-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; color: var(--color-text-dark); }
.highlight-card p { margin: 0; font-size: .9rem; color: #475569; }

/* ========== SECURITY TIPS ========== */
.security-tips { margin-top: 20px; }
.tip-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.tip-item:last-child { border-bottom: none; }
.tip-num { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; }
.tip-item p { margin: 0; color: #cbd5e1; }

/* ========== STEPS TIMELINE ========== */
.steps-timeline { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; counter-reset: step; }
.step-card { background: var(--color-card); border: 1px solid rgba(20,184,166,.15); border-radius: var(--radius-lg); padding: 28px 24px; color: var(--color-text-dark); position: relative; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; color: var(--color-text-dark); }
.step-card p { margin: 0; font-size: .95rem; color: #475569; }

/* ========== COMPARISON TABLE ========== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid rgba(20,184,166,.2); }
.comparison-table { width: 100%; border-collapse: collapse; background: rgba(240,253,250,.95); color: var(--color-text-dark); }
.comparison-table th { padding: 14px 18px; background: rgba(167,243,208,.35); color: #064e3b; font-weight: 700; text-align: left; }
.comparison-table td { padding: 12px 18px; border-top: 1px solid rgba(20,184,166,.12); }
.comparison-table .text-success { color: var(--color-success); }

/* ========== RESPONSIBLE PANEL ========== */
.responsible-panel { background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.04)); backdrop-filter: blur(12px); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(24px,4vw,48px); }
.responsible-panel h2 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 14px; }
.responsible-panel>p { color: #cbd5e1; margin-bottom: 24px; }
.responsible-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; margin-bottom: 24px; }
.resp-card { background: rgba(240,253,250,.92); border: 1px solid rgba(20,184,166,.15); border-radius: var(--radius-md); padding: 20px; color: var(--color-text-dark); }
.resp-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: var(--color-text-dark); }
.resp-card p { margin: 0; font-size: .9rem; color: #475569; }
.btn-responsible { min-height: 46px; padding: 0 24px; background: rgba(167,243,208,.12); color: #5eead4; border: 1px solid rgba(167,243,208,.3); font-size: 15px; }
.btn-responsible:hover { background: rgba(167,243,208,.2); }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto 24px; }
.faq-item { margin-bottom: 12px; border: 1px solid rgba(20,184,166,.18); border-radius: var(--radius-md); overflow: hidden; background: rgba(240,253,250,.95); }
.faq-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: rgba(240,253,250,.95); border: none; cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--color-text-dark); text-align: left; font-family: var(--font-base); transition: background var(--motion-fast); }
.faq-toggle:hover { background: rgba(167,243,208,.2); }
.faq-toggle .bi { transition: transform var(--motion-normal); font-size: .85rem; flex-shrink: 0; }
.faq-toggle[aria-expanded="true"] .bi { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 16px; color: #334155; font-size: .95rem; }
.faq-answer.is-open { display: block; }
.faq-answer p { margin: 0; }
.btn-faq-more { display: block; max-width: 240px; margin: 0 auto; text-align: center; min-height: 44px; padding: 0 24px; background: var(--gradient-button); color: #fff; font-size: 15px; box-shadow: var(--shadow-button); }
.btn-faq-more:hover { transform: translateY(-2px); }

/* ========== FINAL CTA ========== */
.home-cta-final { padding: var(--section-y) 0; }
.final-cta-panel { text-align: center; background: radial-gradient(circle at 50% 50%,rgba(20,184,166,.15),transparent 70%); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(32px,5vw,56px); }
.final-cta-panel h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.final-cta-panel p { max-width: 600px; margin: 0 auto 24px; color: #cbd5e1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-primary-cta { min-height: 48px; padding: 0 28px; font-size: 15px; background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-button); }
.btn-primary-cta:hover { transform: translateY(-2px); }
.btn-outline-cta { min-height: 48px; padding: 0 28px; font-size: 15px; background: transparent; color: #e2e8f0; border: 1px solid rgba(167,243,208,.4); }
.btn-outline-cta:hover { background: rgba(167,243,208,.1); }

/* ========== INNER PAGES - GUIDE/ARTICLE ========== */
.page-guide main, .page-game-guide main, .page-local-guide main { background: radial-gradient(circle at 20% 5%,rgba(20,184,166,.12),transparent 40%), var(--color-bg); }
.inner-opener { padding: clamp(40px,5vw,60px) 0 var(--section-y); }
.inner-opener h1 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; line-height: 1.2; margin: 0 0 16px; }
.inner-lead { font-size: 1.05rem; color: #cbd5e1; margin-bottom: 20px; max-width: 780px; }
.prose { max-width: 820px; }
.prose h2 { font-size: var(--fs-h2); font-weight: 800; line-height: var(--lh-heading); margin: 40px 0 14px; }
.prose h3 { font-size: var(--fs-h3); font-weight: 700; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; line-height: var(--lh-body); }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: 36px; align-items: start; }
@media(max-width:768px) { .content-grid { grid-template-columns: 1fr; } }

/* ========== INNER PAGES - ABOUT ========== */
.page-about main { background: radial-gradient(circle at 80% 10%,rgba(20,184,166,.1),transparent 40%), var(--color-bg); }
.about-story { background: rgba(240,253,250,.95); border-radius: var(--radius-xl); padding: clamp(24px,4vw,40px); color: var(--color-text-dark); margin-bottom: 32px; }
.about-story h2, .about-story h3, .about-story p { color: var(--color-text-dark); }
.about-values { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }
.value-card { background: var(--color-card-alt); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.value-card i { font-size: 2rem; color: #5eead4; margin-bottom: 10px; display: block; }
.value-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.value-card p { margin: 0; font-size: .9rem; color: var(--color-text-soft); }

/* ========== INNER PAGES - POLICY ========== */
.page-policy main { background: var(--color-bg); }
.policy-layout { max-width: 860px; margin: 0 auto; }
.policy-toc { background: rgba(240,253,250,.95); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 32px; color: var(--color-text-dark); }
.policy-toc h3 { margin: 0 0 10px; color: var(--color-text-dark); }
.policy-toc ul { list-style: none; padding: 0; margin: 0; }
.policy-toc li { padding: 6px 0; }
.policy-toc a { color: var(--color-primary); font-weight: 600; }
.policy-toc a:hover { text-decoration: underline; }
.policy-body { background: rgba(240,253,250,.92); border-radius: var(--radius-xl); padding: clamp(24px,4vw,40px); color: var(--color-text-dark); }
.policy-body h2, .policy-body h3, .policy-body p, .policy-body li { color: var(--color-text-dark); }
.policy-body h2 { border-bottom: 2px solid rgba(20,184,166,.2); padding-bottom: 10px; }
.policy-note { background: rgba(20,184,166,.08); border-left: 4px solid var(--color-primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 16px 0; }
.policy-note p { margin: 0; }
.policy-updated { font-size: .9rem; color: #64748b; margin-bottom: 20px; }

/* ========== LOGIN / REGISTER ========== */
.page-login main, .page-register main { background: radial-gradient(circle at 50% 30%,rgba(20,184,166,.1),transparent 50%), var(--color-bg); }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; max-width: 1000px; margin: 0 auto; }
@media(max-width:768px) { .auth-layout { grid-template-columns: 1fr; } }
.auth-form-card { background: rgba(240,253,250,.95); border: 1px solid rgba(20,184,166,.15); border-radius: var(--radius-xl); padding: clamp(24px,4vw,36px); color: var(--color-text-dark); }
.auth-form-card h2, .auth-form-card h3, .auth-form-card p, .auth-form-card label { color: var(--color-text-dark); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid rgba(20,184,166,.25); border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-base); background: #fff; color: var(--color-text-dark); transition: border-color var(--motion-fast), box-shadow var(--motion-fast); }
.form-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.btn-form-submit { width: 100%; min-height: 48px; font-size: 16px; background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-button); margin-top: 8px; }
.btn-form-submit:hover { transform: translateY(-1px); }
.auth-info-panel { background: var(--color-card-alt); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(24px,4vw,36px); }
.auth-step-list { list-style: none; padding: 0; counter-reset: authstep; }
.auth-step-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.auth-step-list li:last-child { border-bottom: none; }
.auth-step-num { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; }
.auth-trust-card { background: rgba(20,184,166,.08); border: 1px solid rgba(167,243,208,.2); border-radius: var(--radius-md); padding: 16px; margin-top: 16px; }
.auth-trust-card h3 { font-size: 1rem; margin: 0 0 6px; }
.auth-trust-card p { margin: 0; font-size: .9rem; color: var(--color-text-soft); }

/* ========== FAQ PAGE ========== */
.page-faq main { background: radial-gradient(circle at 60% 15%,rgba(20,184,166,.08),transparent 40%), var(--color-bg); }
.faq-groups { max-width: 800px; margin: 0 auto; }
.faq-group { margin-bottom: 32px; }
.faq-group-title { font-size: 1.2rem; font-weight: 700; color: #5eead4; margin-bottom: 14px; border-bottom: 1px solid var(--color-border); padding-bottom: 8px; }
.faq-contact-cta { text-align: center; padding: 32px; background: var(--color-card-alt); border-radius: var(--radius-xl); border: 1px solid var(--color-border); margin-top: 32px; }
.faq-contact-cta h2 { margin-bottom: 12px; }

/* ========== FOOTER ========== */
.site-footer { background: var(--color-footer-bg); border-top: 1px solid var(--color-border); padding: 56px 0 28px; }
.footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px,3vw,24px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 32px; margin-bottom: 32px; }
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 120px; object-fit: contain; margin-bottom: 14px; }
.footer-desc { font-size: .9rem; color: var(--color-text-soft); line-height: 1.7; margin: 0; }
.footer-heading { font-size: 1rem; font-weight: 700; color: #e2e8f0; margin: 0 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .9rem; color: #94a3b8; font-weight: 500; }
.footer-links a:hover { color: #5eead4; }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-safety { display: flex; align-items: center; gap: 10px; }
.safety-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(239,68,68,.15); border: 2px solid #ef4444; color: #ef4444; font-weight: 800; font-size: .8rem; }
.footer-safety p { margin: 0; font-size: .85rem; color: var(--color-text-muted); }
.footer-copy { font-size: .85rem; color: var(--color-text-muted); margin: 0; }

/* ========== 404 ========== */
.page-404 { text-align: center; padding: 80px 0; }
.page-404 h1 { font-size: 5rem; color: #5eead4; margin-bottom: 10px; }
.page-404 p { font-size: 1.2rem; color: var(--color-text-soft); margin-bottom: 24px; }

/* ========== INNER PAGE CTA VARIANTS ========== */
.inline-cta { background: var(--gradient-cta); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; margin: 24px 0; text-align: center; }
.inline-cta h3 { margin: 0 0 8px; }
.inline-cta p { margin: 0 0 14px; color: var(--color-text-soft); }
.section-cta { text-align: center; padding: 40px; background: radial-gradient(circle,rgba(20,184,166,.1),transparent 60%); border: 1px solid var(--color-border); border-radius: var(--radius-xl); }

/* ========== GUIDE CARDS (for inner pages) ========== */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 20px; margin: 24px 0; }
.guide-card { background: var(--color-card); border: 1px solid rgba(20,184,166,.12); border-radius: var(--radius-md); padding: 20px; color: var(--color-text-dark); }
.guide-card h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--color-text-dark); }
.guide-card p { margin: 0; font-size: .9rem; color: #475569; }

/* ========== RELATED PAGES ========== */
.related-section { margin: 40px 0 0; padding: 28px; border-top: 1px solid var(--color-border); }
.related-section h2 { font-size: 1.3rem; margin-bottom: 16px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: rgba(20,184,166,.08); border: 1px solid rgba(167,243,208,.2); border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem; color: #5eead4; }
.related-link:hover { background: rgba(20,184,166,.15); color: #fff; }

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-section { margin-top: var(--section-y); }
