/* ============================================
   Jade Crown Bangladesh UI — style.css
   Project: 666-z.one | Market: Bangladesh
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --color-primary: #0d9668;
  --color-primary-dark: #087a54;
  --color-primary-soft: #e6f7f0;
  --color-secondary: #1e293b;
  --color-accent: #f59e0b;
  --color-bg: #0f1923;
  --color-bg-soft: #162231;
  --color-surface: #1a2d3f;
  --color-surface-strong: #243b50;
  --color-card: #1e3347;
  --color-card-alt: #162a3c;
  --color-border: rgba(255,255,255,0.1);
  --color-border-strong: rgba(255,255,255,0.2);
  --color-text: #e8edf2;
  --color-text-soft: #94a3b8;
  --color-text-muted: #64748b;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #0a1218;
  --color-footer-text: #94a3b8;
  --gradient-hero: linear-gradient(135deg, #0f1923 0%, rgba(13,150,104,0.25) 50%, #0f1923 100%);
  --gradient-hero-soft: linear-gradient(180deg, rgba(13,150,104,0.12) 0%, transparent 60%);
  --gradient-button: linear-gradient(135deg, #0d9668, #10b981);
  --gradient-button-hover: linear-gradient(135deg, #087a54, #0d9668);
  --gradient-cta: linear-gradient(135deg, #f59e0b, #d97706);
  --gradient-footer: linear-gradient(180deg, #0f1923, #0a1218);
  --shadow-header: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-card-hover: 0 12px 32px rgba(0,0,0,0.4);
  --shadow-button: 0 4px 14px rgba(13,150,104,0.35);
  --shadow-cta: 0 6px 20px rgba(245,158,11,0.3);
  --shadow-menu: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-soft: 0 2px 8px rgba(0,0,0,0.15);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --radius-card: 12px;
  --radius-image: 10px;
  --radius-form: 8px;
  --font-base: 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  --font-heading: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  --fs-h1: clamp(1.8rem, 3vw, 2.6rem);
  --fs-h2: clamp(1.4rem, 2.2vw, 1.9rem);
  --fs-h3: clamp(1.1rem, 1.6vw, 1.35rem);
  --fs-body: clamp(0.95rem, 1.1vw, 1.05rem);
  --fs-small: 0.85rem;
  --fs-nav: clamp(13px, 0.84vw, 15px);
  --lh-heading: 1.3;
  --lh-body: 1.7;
  --lh-readable: 1.8;
  --container-max: 1200px;
  --container-narrow: 820px;
  --section-y: clamp(3rem, 5vw, 5rem);
  --section-y-sm: clamp(2rem, 3vw, 3rem);
  --header-h: 64px;
  --mobile-header-h: 56px;
  --card-padding: clamp(1rem, 2vw, 1.5rem);
  --motion-normal: 250ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::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);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  color: #fff;
  margin-top: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); margin-bottom: 1rem; }
h2 { font-size: var(--fs-h2); margin-bottom: 0.85rem; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.65rem; }
p { margin-top: 0; margin-bottom: 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--motion-normal); }
a:hover, a:focus { color: var(--color-accent); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25rem; }
table { border-collapse: collapse; width: 100%; }

/* --- Container --- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }

/* --- Sections --- */
.section-pad { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-pad-sm { padding-top: var(--section-y-sm); padding-bottom: var(--section-y-sm); }
.bg-dark { background: var(--color-bg); }
.bg-surface { background: var(--color-surface); }
.bg-surface-alt { background: var(--color-bg-soft); }
.bg-primary { background: var(--color-primary) !important; }
.bg-footer { background: var(--color-footer-bg); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,25,35,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--motion-normal);
}
.site-header.scrolled { box-shadow: var(--shadow-header); }
.header-inner {
  width: 100%;
  max-width: none;
  padding-left: clamp(10px, 1.2vw, 20px);
  padding-right: clamp(10px, 1.2vw, 20px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
}
.brand-wrap {
  flex: 0 0 auto;
  margin-right: clamp(4px, 0.8vw, 14px);
  display: flex;
  align-items: center;
}
.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(6px, 0.72vw, 14px);
  white-space: nowrap;
  overflow: visible;
}
.primary-nav a {
  flex: 0 1 auto;
  min-width: 0;
  padding: 9px clamp(6px, 0.65vw, 12px);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-text-soft);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--motion-normal), background var(--motion-normal);
}
.primary-nav a:hover,
.primary-nav a:focus { color: #fff; background: rgba(255,255,255,0.06); text-decoration: none; }
.primary-nav a.active { color: var(--color-primary); font-weight: 600; }
.header-actions {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 0.6vw, 10px);
  white-space: nowrap;
}
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px clamp(14px, 1.2vw, 22px);
  font-size: var(--fs-nav);
  font-weight: 600;
  color: #fff;
  background: var(--gradient-button);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-button);
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
  line-height: 1;
  white-space: nowrap;
}
.btn-header:hover, .btn-header:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,150,104,0.5);
  color: #fff;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  color: var(--color-text);
  font-size: 1.25rem;
  margin-left: 2px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--motion-normal);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--motion-normal);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-soft));
  z-index: 99;
  padding: 1.5rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--motion-normal);
}
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(13,150,104,0.12); color: var(--color-primary); text-decoration: none; }
.mobile-menu .btn-mobile-cta {
  display: block;
  margin-top: 1rem;
  padding: 14px;
  text-align: center;
  background: var(--gradient-button);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-button);
}
.mobile-menu .btn-mobile-cta:hover { color: #fff; text-decoration: none; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 28px;
  font-size: clamp(14px, 0.9vw, 16px);
  font-weight: 600;
  font-family: var(--font-heading);
  color: #fff;
  background: var(--gradient-button);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-button);
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
  min-height: 44px;
}
.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,150,104,0.5);
  color: #fff;
  text-decoration: none;
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 28px;
  font-size: clamp(14px, 0.9vw, 16px);
  font-weight: 600;
  font-family: var(--font-heading);
  color: #0f1923;
  background: var(--gradient-cta);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
  min-height: 44px;
}
.btn-accent:hover, .btn-accent:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.45);
  color: #0f1923;
  text-decoration: none;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 11px 26px;
  font-size: clamp(14px, 0.9vw, 16px);
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-primary);
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--motion-normal);
  min-height: 44px;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ============================================
   HERO VARIANTS
   ============================================ */
.home-hero {
  position: relative;
  background: var(--gradient-hero);
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(13,150,104,0.2), transparent 70%);
  pointer-events: none;
}
.home-hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero-text h1 { margin-bottom: 1.25rem; }
.hero-text .lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--color-text-soft); margin-bottom: 1.5rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-card); max-height: 400px; width: 100%; object-fit: cover; }

/* Inner page hero - simplified */
.inner-hero {
  background: var(--color-surface);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--color-border);
}
.inner-hero h1 { margin-bottom: 0.75rem; }
.inner-hero .lead { color: var(--color-text-soft); margin-bottom: 0; }

/* Auth hero - form page */
.auth-hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

/* Policy hero - minimal */
.policy-hero {
  background: var(--color-bg-soft);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--color-border);
}

/* ============================================
   CARDS
   ============================================ */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13,150,104,0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.feature-card h3 { font-size: var(--fs-h3); }
.feature-card p { color: var(--color-text-soft); font-size: var(--fs-small); margin-bottom: 0; }

.trust-card {
  background: linear-gradient(180deg, var(--color-card), var(--color-card-alt));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  text-align: center;
}
.trust-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245,158,11,0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.guide-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.guide-card .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-button);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.game-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.game-card img { width: 100%; height: 180px; object-fit: cover; }
.game-card .card-body { padding: var(--card-padding); }
.game-card h3 { font-size: 1.05rem; }
.game-card p { font-size: var(--fs-small); color: var(--color-text-soft); margin-bottom: 0.75rem; }

.link-card {
  display: block;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color var(--motion-normal), transform 200ms;
}
.link-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--color-text);
}
.link-card h3 { font-size: 1rem; color: var(--color-primary); margin-bottom: 0.35rem; }
.link-card p { font-size: var(--fs-small); color: var(--color-text-soft); margin-bottom: 0; }

/* Pricing / Tier cards */
.tier-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.tier-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-card);
}
.tier-card h3 { font-size: 1.2rem; }
.tier-card ul { list-style: none; padding: 0; text-align: left; margin: 1rem 0; }
.tier-card ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-small); color: var(--color-text-soft); }
.tier-card ul li:last-child { border-bottom: none; }

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-band {
  background: var(--color-primary);
  padding: var(--section-y-sm) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-accent { margin-top: 0.5rem; }

.cta-subtle {
  background: var(--color-surface);
  padding: var(--section-y-sm) 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: var(--container-narrow); margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-card);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}
.faq-trigger::after {
  content: '+';
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 250ms ease;
  color: var(--color-primary);
}
.faq-trigger[aria-expanded="true"]::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease, padding 250ms ease;
}
.faq-answer.is-open {
  max-height: 600px;
}
.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-soft);
  line-height: var(--lh-readable);
}
.faq-answer-inner a { color: var(--color-primary); }

/* ============================================
   FORMS (Login/Register)
   ============================================ */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.auth-form-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-soft);
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-base);
  color: #fff;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-form);
  outline: none;
  transition: border-color var(--motion-normal), box-shadow var(--motion-normal);
}
.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13,150,104,0.2);
}
.form-control::placeholder { color: var(--color-text-muted); }
.form-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: #fff;
  background: var(--gradient-button);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
  min-height: 48px;
}
.form-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,150,104,0.5); }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-help {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.form-help a { color: var(--color-primary); }

.auth-trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
}
.auth-trust-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.auth-trust-card p { font-size: var(--fs-small); color: var(--color-text-soft); }
.auth-step-list { list-style: none; padding: 0; counter-reset: step; }
.auth-step-list li {
  counter-increment: step;
  padding: 0.75rem 0;
  padding-left: 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-small);
  color: var(--color-text-soft);
}
.auth-step-list li:last-child { border-bottom: none; }
.auth-step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   TABLES
   ============================================ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.data-table th {
  background: var(--color-surface-strong);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
}
.data-table tr:hover td { background: rgba(13,150,104,0.05); }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: var(--fs-small);
}
.breadcrumb li + li::before { content: '›'; margin-right: 0.35rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-soft); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .current { color: var(--color-text-muted); }

/* ============================================
   ARTICLE / POLICY LAYOUT
   ============================================ */
.article-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  line-height: var(--lh-readable);
}
.article-body h2 { margin-top: 2rem; }
.article-body h3 { margin-top: 1.5rem; }
.article-body img { border-radius: var(--radius-image); margin: 1.5rem 0; }
.article-body ul, .article-body ol { margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.35rem; color: var(--color-text-soft); }

.policy-toc {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.policy-toc h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.policy-toc ol { padding-left: 1.25rem; margin-bottom: 0; }
.policy-toc li { margin-bottom: 0.35rem; }
.policy-toc a { color: var(--color-primary); font-size: var(--fs-small); }

.policy-note {
  background: rgba(13,150,104,0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: var(--fs-small);
  color: var(--color-text-soft);
}
.policy-updated {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* ============================================
   TRUST STRIP / MARQUEE
   ============================================ */
.trust-strip {
  background: var(--color-primary);
  padding: 0.85rem 0;
  overflow: hidden;
}
.trust-strip-inner {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}
.trust-strip-inner:hover { animation-play-state: paused; }
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--gradient-footer);
  padding: var(--section-y) 0 1.5rem;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { color: var(--color-footer-text); font-size: var(--fs-small); line-height: 1.7; margin-bottom: 0.75rem; }
.footer-brand .footer-logo { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-col h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  color: var(--color-footer-text);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: color var(--motion-normal);
}
.footer-col a:hover { color: var(--color-primary); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-button);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform var(--motion-normal);
}
.back-top.is-visible { display: flex; }
.back-top:hover { transform: translateY(-3px); }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-soft { color: var(--color-text-soft); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.flex-wrap-gap { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ============================================
   FOCUS / ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   SWIPER FALLBACK (if not initialized)
   ============================================ */
.swiper:not(.swiper-initialized) {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* AOS fallback */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
  .site-header .header-inner {
    width: 100%;
    max-width: none;
    padding-left: clamp(8px, 2.4vw, 14px);
    padding-right: clamp(8px, 2.4vw, 14px);
    height: var(--mobile-header-h);
    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); }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-header {
    min-height: 40px;
    padding: 8px clamp(10px, 2.6vw, 14px);
    font-size: clamp(12px, 3.2vw, 14px);
  }
}

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 260px; }
  .auth-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .tier-card + .tier-card { margin-top: 1rem; }
}

@media (max-width: 414px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 375px) {
  .site-header .header-inner {
    padding-left: 8px;
    padding-right: 8px;
    gap: 6px;
  }
  .site-logo { max-width: 104px; }
  .header-actions .btn-header { min-height: 38px; padding: 7px 9px; font-size: 12px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  .mobile-menu { top: var(--mobile-header-h); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .trust-strip-inner { animation: none; }
}
