/* ============================================================
   v7v7 login - Emerald Trust Gaming UI
   Design System: Original visual system for Bangladesh market
   ============================================================ */

:root {
  --color-primary: #0ea86e;
  --color-primary-dark: #0a8a5a;
  --color-primary-soft: rgba(14,168,110,.12);
  --color-secondary: #06c478;
  --color-accent: #0ef28a;
  --color-bg: #060e1a;
  --color-bg-soft: #0a1628;
  --color-surface: #0d1e36;
  --color-surface-strong: #112844;
  --color-card: #0f2238;
  --color-card-alt: #0a1a2e;
  --color-border: rgba(255,255,255,.08);
  --color-border-strong: rgba(14,168,110,.25);
  --color-text: #e8f5ee;
  --color-text-soft: #b0cfc0;
  --color-text-muted: #7a9e8e;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #040a12;
  --color-footer-text: #8aaa9c;
  --gradient-hero: linear-gradient(135deg, #060e1a 0%, #0a1628 40%, #0d1e36 100%);
  --gradient-button: linear-gradient(135deg, #0ea86e, #06c478);
  --gradient-button-hover: linear-gradient(135deg, #0a8a5a, #0ea86e);
  --gradient-card: linear-gradient(180deg, rgba(15,34,56,.95), rgba(10,22,40,.98));
  --gradient-cta: linear-gradient(135deg, rgba(14,168,110,.15), rgba(6,196,120,.08));
  --shadow-header: 0 2px 20px rgba(0,0,0,.35);
  --shadow-card: 0 8px 32px rgba(0,0,0,.2);
  --shadow-card-hover: 0 12px 40px rgba(14,168,110,.15);
  --shadow-button: 0 4px 16px rgba(14,168,110,.25);
  --shadow-soft: 0 4px 12px rgba(0,0,0,.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --radius-card: 16px;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --fs-h1: clamp(28px, 4vw, 48px);
  --fs-h2: clamp(22px, 3vw, 36px);
  --fs-h3: clamp(18px, 2.2vw, 26px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-nav: clamp(13px, .84vw, 15px);
  --lh-body: 1.8;
  --lh-heading: 1.25;
  --container-max: 1200px;
  --section-y: clamp(48px, 6vw, 80px);
  --header-h: 72px;
  --motion-fast: .15s;
  --motion-normal: .3s;
  --ease-out: cubic-bezier(.22,1,.36,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-base); background: var(--color-bg); color: var(--color-text); line-height: var(--lh-body); font-size: var(--fs-body); overflow-x: hidden; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--motion-fast) ease; }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* Focus */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } html { scroll-behavior: auto; } }

/* 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(6,14,26,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); 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); 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); 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, .72vw, 14px); white-space: nowrap; overflow: visible; }
.primary-nav a { flex: 0 1 auto; min-width: 0; padding: 9px clamp(6px, .65vw, 12px); font-size: var(--fs-nav); line-height: 1; white-space: nowrap; color: var(--color-text); font-weight: 600; border-radius: var(--radius-sm); transition: all var(--motion-fast) ease; text-decoration: none; }
.primary-nav a:hover { color: var(--color-accent); background: rgba(14,242,138,.06); }
.primary-nav a.active { color: var(--color-accent); background: rgba(14,242,138,.1); }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: clamp(6px, .6vw, 10px); white-space: nowrap; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; transition: all var(--motion-normal) var(--ease-out); min-height: 42px; }
.btn-primary, .btn.btn-primary { background: var(--gradient-button); color: #031a0e; box-shadow: var(--shadow-button); border: none; }
.btn-primary:hover { background: var(--gradient-button-hover); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(14,168,110,.35); color: #031a0e; }
.btn-secondary, .btn.btn-secondary { border: 1px solid var(--color-primary); color: var(--color-accent); background: transparent; }
.btn-secondary:hover { background: var(--color-primary); color: #031a0e; }
.btn-outline { border: 1px solid var(--color-border-strong); color: var(--color-accent); background: transparent; border-radius: var(--radius-pill); padding: 10px 22px; font-weight: 700; }
.btn-outline:hover { background: rgba(14,168,110,.1); }
.btn-login { background: transparent; border: 1px solid var(--color-border-strong); color: var(--color-accent); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; min-height: 38px; }
.btn-login:hover { background: rgba(14,168,110,.1); color: var(--color-accent); }
.btn-register { background: var(--gradient-button); color: #031a0e; padding: 8px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; min-height: 38px; }
.btn-register:hover { background: var(--gradient-button-hover); transform: translateY(-1px); color: #031a0e; }
.btn-full { width: 100%; justify-content: center; }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: rgba(6,14,26,.97); backdrop-filter: blur(16px); border-top: 1px solid var(--color-border); max-height: calc(100vh - var(--header-h)); overflow-y: auto; z-index: 999; padding: 16px; }
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-inner a { display: block; padding: 14px 16px; color: var(--color-text); font-weight: 600; font-size: 16px; border-radius: var(--radius-sm); transition: background var(--motion-fast) ease; text-decoration: none; }
.mobile-menu-inner a:hover, .mobile-menu-inner a.active { background: rgba(14,242,138,.08); color: var(--color-accent); }
.mobile-menu-inner .btn { margin-top: 8px; text-align: center; }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.home-hero { padding: clamp(100px, 12vw, 140px) 0 clamp(48px, 6vw, 80px); background: var(--gradient-hero); position: relative; overflow: hidden; }
.home-hero::before { content: ''; position: absolute; top: -30%; right: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(14,168,110,.12) 0%, transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge, .section-badge { display: inline-block; background: var(--color-primary-soft); color: var(--color-accent); border: 1px solid rgba(14,168,110,.25); padding: 6px 16px; border-radius: var(--radius-pill); font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.hero-content h1 { font-size: var(--fs-h1); line-height: var(--lh-heading); font-weight: 800; margin-bottom: 20px; }
.hero-lead { font-size: 17px; color: var(--color-text-soft); line-height: 1.8; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img, .section-img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.home-trust-strip { padding: 28px 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.trust-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(20px, 3vw, 48px); }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.trust-icon { font-size: 22px; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
section { padding: var(--section-y) 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--color-text-soft); max-width: 820px; margin: 0 auto; }

/* Content Split */
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }
.content-text h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); font-weight: 800; margin-bottom: 18px; }
.content-text h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; margin-bottom: 12px; margin-top: 24px; }
.content-text p { color: var(--color-text-soft); margin-bottom: 16px; line-height: 1.85; }
.content-text.wide { grid-column: span 1; }

/* Highlight Card */
.highlight-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-card); }
.highlight-card h3 { font-size: var(--fs-h3); margin-bottom: 18px; }
.check-list li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--color-text-soft); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

/* ============================================================
   STEP TIMELINE
   ============================================================ */
.step-timeline { margin-top: 24px; }
.step-item { display: flex; gap: 18px; margin-bottom: 24px; position: relative; }
.step-item::before { content: ''; position: absolute; left: 23px; top: 52px; bottom: -24px; width: 2px; background: rgba(14,168,110,.2); }
.step-item:last-child::before { display: none; }
.step-number { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-button); color: #031a0e; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-button); }
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-content p { color: var(--color-text-soft); font-size: 15px; line-height: 1.7; }
.step-timeline.compact .step-item { margin-bottom: 20px; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-card); transition: all var(--motion-normal) var(--ease-out); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--color-border-strong); }
.feature-icon-wrap { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--gradient-button); color: #031a0e; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; box-shadow: var(--shadow-soft); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--color-text-soft); font-size: 15px; line-height: 1.7; }

/* ============================================================
   PLAN CARDS
   ============================================================ */
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.plan-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 28px; text-align: center; }
.plan-card.featured { border-color: var(--color-primary); background: linear-gradient(180deg, rgba(14,168,110,.08), rgba(10,22,40,.98)); }
.plan-card h4 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.plan-label { display: inline-block; color: var(--color-accent); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.plan-card ul { text-align: left; margin-bottom: 20px; }
.plan-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--color-border); color: var(--color-text-soft); font-size: 14px; }
.plan-card .btn { width: 100%; }

/* ============================================================
   NOTICE BOX
   ============================================================ */
.notice-box { border-left: 4px solid var(--color-primary); background: rgba(14,168,110,.06); border-radius: var(--radius-md); padding: 24px 28px; }
.notice-box h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.notice-box p { color: var(--color-text-soft); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; border-collapse: collapse; background: var(--gradient-card); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--color-border); }
.comparison-table th, .comparison-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--color-border); }
.comparison-table th { background: rgba(14,168,110,.08); color: var(--color-accent); font-weight: 700; font-size: 15px; }
.comparison-table td { color: var(--color-text-soft); font-size: 15px; }

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-box { background: var(--gradient-cta); border: 1px solid var(--color-border-strong); border-radius: var(--radius-xl); padding: clamp(32px, 4vw, 56px); text-align: center; }
.cta-box h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.cta-box p { color: var(--color-text-soft); max-width: 680px; margin: 0 auto 24px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section { padding: clamp(90px, 10vw, 110px) 0 16px; }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.breadcrumb-list li { color: var(--color-text-muted); }
.breadcrumb-list li a { color: var(--color-accent); }
.breadcrumb-list li + li::before { content: '/'; color: var(--color-text-muted); margin-right: 8px; }

/* ============================================================
   GAME PAGES
   ============================================================ */
.game-intro-section { padding-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px; text-align: center; }
.stat-card h3 { color: var(--color-accent); font-size: 18px; margin-bottom: 8px; }
.stat-card p { color: var(--color-text-soft); font-size: 14px; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.benefit-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px; transition: all var(--motion-normal) var(--ease-out); }
.benefit-card:hover { border-color: var(--color-border-strong); transform: translateY(-2px); }
.benefit-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--color-accent); }
.benefit-card p { color: var(--color-text-soft); font-size: 15px; }

.warning-list { margin-top: 20px; }
.warning-item { background: rgba(239,68,68,.06); border-left: 3px solid var(--color-warning); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 16px; }
.warning-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--color-warning); }
.warning-item p { color: var(--color-text-soft); font-size: 15px; }

.related-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.related-link-card { display: block; background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; transition: all var(--motion-normal) var(--ease-out); text-decoration: none; }
.related-link-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.related-link-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--color-text); }
.related-link-card p { color: var(--color-text-soft); font-size: 13px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-bottom: 32px; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; transition: border-color var(--motion-fast) ease; }
.faq-item:hover { border-color: var(--color-border-strong); }
.faq-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 22px; background: var(--color-card); color: var(--color-text); font-weight: 600; font-size: 16px; text-align: left; cursor: pointer; gap: 14px; transition: background var(--motion-fast) ease; }
.faq-trigger:hover { background: var(--color-card-alt); }
.faq-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; transition: transform var(--motion-normal) var(--ease-out); }
.faq-answer { display: none; padding: 0 22px 18px; background: var(--color-card); }
.faq-answer p { color: var(--color-text-soft); line-height: 1.8; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-item.is-open .faq-trigger[aria-expanded="true"] + .faq-answer { display: block; }

/* ============================================================
   AUTH / FORM PAGES
   ============================================================ */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.auth-form-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(28px, 3vw, 44px); }
.auth-form-card h2 { font-size: var(--fs-h3); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--color-text-soft); }
.form-group input { width: 100%; padding: 14px 16px; background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); font-size: 15px; transition: border-color var(--motion-fast) ease; }
.form-group input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(14,242,138,.12); }
.form-group input::placeholder { color: var(--color-text-muted); }
.form-note { margin-bottom: 18px; }
.form-note p { font-size: 13px; color: var(--color-text-muted); }
.form-alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--color-text-soft); }
.auth-info-panel h3 { font-size: var(--fs-h3); margin-bottom: 20px; }
.auth-benefit { margin-bottom: 18px; }
.auth-benefit h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--color-accent); }
.auth-benefit p { color: var(--color-text-soft); font-size: 14px; }
.auth-visual { border-radius: var(--radius-lg); margin-top: 24px; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.help-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px; }
.help-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--color-accent); }
.help-card p { color: var(--color-text-soft); font-size: 14px; }

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-intro { padding-top: 0; }
.policy-updated { margin-bottom: 16px; }
.policy-updated span { background: var(--color-primary-soft); color: var(--color-accent); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; }
.toc-box { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 28px; }
.toc-list { counter-reset: none; }
.toc-list li { padding: 8px 0; border-bottom: 1px dashed var(--color-border); color: var(--color-text-soft); font-size: 15px; }
.policy-content { max-width: 820px; }
.policy-content h2 { font-size: var(--fs-h3); font-weight: 700; margin-top: 36px; margin-bottom: 14px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.policy-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.policy-content p { color: var(--color-text-soft); margin-bottom: 16px; line-height: 1.85; }
.policy-img { margin-top: 32px; border-radius: var(--radius-lg); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { padding-top: 0; }
.data-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.data-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 28px; text-align: center; }
.data-number { display: block; font-size: 36px; font-weight: 900; color: var(--color-accent); margin-bottom: 6px; }
.data-label { font-size: 14px; color: var(--color-text-soft); }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.value-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 28px; transition: all var(--motion-normal) var(--ease-out); }
.value-card:hover { border-color: var(--color-border-strong); }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--color-accent); }
.value-card p { color: var(--color-text-soft); font-size: 15px; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-section { padding: clamp(120px, 15vw, 200px) 0; text-align: center; }
.error-content h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 20px; }
.error-content p { color: var(--color-text-soft); max-width: 560px; margin: 0 auto 28px; font-size: 17px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-footer-bg); border-top: 1px solid var(--color-border); padding: clamp(40px, 5vw, 64px) 0 32px; }
.footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 3vw, 24px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 40px); margin-bottom: 36px; }
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p { color: var(--color-footer-text); font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.footer-email { color: var(--color-text-muted); font-size: 13px; }
.footer-links-group h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--color-text); }
.footer-links-group ul li { margin-bottom: 8px; }
.footer-links-group ul li a { color: var(--color-footer-text); font-size: 14px; transition: color var(--motion-fast) ease; text-decoration: none; }
.footer-links-group ul li a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.footer-bottom p { color: var(--color-text-muted); font-size: 13px; }

/* ============================================================
   FAQ VISUAL / POLICY VISUAL
   ============================================================ */
.faq-visual, .policy-img { margin-top: 32px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }

/* ============================================================
   AOS FALLBACK - Content must be visible without AOS
   ============================================================ */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* Swiper fallback */
.swiper:not(.swiper-initialized) { overflow-x: auto; display: flex; gap: 16px; scroll-snap-type: x mandatory; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 auto; scroll-snap-align: start; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; flex: 0 0 40px; width: 40px; height: 40px; align-items: center; justify-content: center; margin-left: 2px; flex-direction: column; gap: 5px; padding: 8px; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--motion-normal) ease; }
  .site-header .header-inner { width: 100%; max-width: none; 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; flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: clamp(5px, 1.6vw, 8px); white-space: nowrap; }
  .header-actions .btn { min-height: 40px; padding-inline: clamp(10px, 2.6vw, 14px); font-size: clamp(12px, 3.2vw, 14px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .content-split { grid-template-columns: 1fr; gap: 28px; }
  .content-split.reverse { direction: ltr; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .plan-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .related-links-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-split { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .data-cards { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .feature-cards { grid-template-columns: 1fr; }
  .related-links-grid { grid-template-columns: 1fr; }
  .data-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .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 { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  body { font-size: 15px; }
  .hero-content h1 { font-size: 24px; }
}
