/* ===== RESET & VARS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---- Brand palette: Trading Terminal — dark green-black stock-chart canvas,
     neon bull-green primary, bear-red accent, gold for bonus/CTA highlights ---- */
  --black:     #050e09;
  --surface:   #0c1f14;
  --surface-2: #112a1c;
  --surface-hi:#163524;

  --green:        #2ee878;
  --green-deep:   #17b85c;
  --green-bright: #7dffb0;
  --red:      #ff4d5e;
  --red-deep: #d92e42;
  --gold:        #f4c95d;
  --gold-bright: #ffe08a;
  --gold-deep:   #d4a017;

  /* text stays light mint-white so nothing sinks into the dark chart bg */
  --text:  #eafff2;
  --muted: #9fc9ac;
  --dim:   #6f9481;

  --border:      rgba(46,232,120,0.3);
  --border-soft: rgba(46,232,120,0.15);
  --border-gold: rgba(244,201,93,0.32);

  --glass:      rgba(12,31,20,0.6);
  --glass-soft: rgba(12,31,20,0.4);

  --grad-green: linear-gradient(120deg, #7dffb0 0%, #2ee878 50%, #17b85c 100%);
  --grad-gold:  linear-gradient(120deg, #ffe08a 0%, #f4c95d 50%, #d4a017 100%);
  --grad-cta:   linear-gradient(135deg, #ffe08a 0%, #f4c95d 55%, #d4a017 100%);

  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow:    0 10px 28px rgba(2,8,5,0.55);
  --shadow-lg: 0 18px 46px rgba(2,8,5,0.6);
  --glow-green: 0 0 0 1px rgba(46,232,120,0.3), 0 0 22px rgba(46,232,120,0.18), 0 14px 32px rgba(2,8,5,0.55);
  --glow-gold:  0 0 0 1px rgba(244,201,93,0.3), 0 0 22px rgba(244,201,93,0.18), 0 14px 32px rgba(2,8,5,0.55);

  --font-display: 'Sarabun', 'Prompt', sans-serif;
  --font-body:    'Prompt', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  font-family: var(--font-body);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px; /* space for the bottom mobile nav */
}
@media (min-width: 769px) { body { padding-bottom: 0; } }

/* Page background as a fixed full-viewport layer — sizing "cover" against
   body would scale against the whole scrollable page height on long pages,
   causing a huge zoom on mobile. The provided chart/skyline photo already
   carries the whole trading-terminal mood, only a light dark wash is added
   for text contrast. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(5,14,9,0.35), rgba(5,14,9,0.78)),
    url('assets/img/Bg%20web.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  body::before {
    background-image:
      linear-gradient(rgba(5,14,9,0.4), rgba(5,14,9,0.82)),
      url('assets/img/Bg%20Mobile.webp');
  }
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 1.25rem; position: relative; }
@media (max-width: 768px) { .section { padding: 3.25rem 1rem; } }
@media (max-width: 479px) { .section { padding: 2.75rem 0.875rem; } }

/* ===== HEADINGS ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; text-wrap: balance; color: var(--text); }

/* ===== UTILS ===== */
.grad-text {
  background: var(--grad-green);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.kw { color: var(--green-bright); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-bright);
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2.35rem); line-height: 1.3; margin: 0.9rem 0 1rem; }
.section-head p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; }
@media (max-width: 479px) { .section-head { margin-bottom: 2rem; } .section-head p { font-size: 0.875rem; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 2.1rem; border-radius: 9999px; border: none; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn-gold { background: var(--grad-cta); color: var(--black); box-shadow: var(--glow-gold); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-gold:active { transform: translateY(1px); }
.btn-outline { background: var(--glass); color: var(--green-bright); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-outline:hover { transform: translateY(-2px); }

/* Login/Register image buttons — always shown as full, unframed images */
.hbtn, .hero-btn-img {
  cursor: pointer; object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.55));
  transition: transform 0.18s ease, filter 0.18s ease;
}
.hbtn:hover, .hero-btn-img:hover { transform: translateY(-3px); }
.hbtn:active, .hero-btn-img:active { transform: translateY(1px); }
.hbtn { height: 44px; width: auto; max-width: 160px; }
.hero-btn-img { height: 66px; width: auto; max-width: 248px; }
@media (max-width: 479px) { .hero-btn-img { height: 54px; } }

/* =====================================================================
   TICKER BAR — a scrolling stock-ticker strip sitting above the header,
   unique to this brand's "S&P" trading identity. Decorative/aria-hidden;
   real content already exists in the normal page markup.
   ===================================================================== */
.ticker-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  overflow: hidden; white-space: nowrap;
  background: var(--black); border-bottom: 1px solid var(--border-soft);
  padding: 0.45rem 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 26s linear infinite; }
.ticker-item {
  display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--green-bright); white-space: nowrap;
}
.ticker-item b { color: var(--gold-bright); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
@media (max-width: 768px) { .ticker-item { font-size: 0.68rem; gap: 1.5rem; padding-right: 1.5rem; } }

/* =====================================================================
   HEADER — flush trading-desk panel docked directly under the ticker bar
   (not a floating pill/capsule), logo shown large and unframed so it
   reads immediately — a distinct silhouette vs. every earlier brand.
   ===================================================================== */
.header {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 100;
  background: var(--glass);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 768px) { .header { top: 30px; } }
.header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-direction: column;
  padding: 0.65rem 1.25rem;
}
/* Desktop: logo dead-center, nav links split into two flanking clusters —
   a symmetrical "cockpit console" layout, distinct from every other
   brand's logo-left/nav-center-or-right arrangement. */
.header-row1 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1rem; width: 100%; }

.logo-link { display: flex; align-items: center; gap: 0.5rem; justify-self: center; }
.logo-img { height: 56px; width: auto; max-width: 230px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }

.nav-side { display: flex; align-items: center; gap: 0.2rem; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; gap: 0.4rem; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1.05rem; border-radius: 9999px;
  font-size: 0.87rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--green-bright); background: var(--surface-2); }

.ico-line {
  display: inline-flex; align-items: center; justify-content: center;
  background: #06C755; color: #fff; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.03em; border-radius: 4px; padding: 2px 4px; flex-shrink: 0; line-height: 1;
}

.header-btns { display: flex; gap: 0.6rem; align-items: center; flex-shrink: 0; margin-left: 0.5rem; }

.header-row2 { display: none; }

@media (max-width: 768px) {
  .header-inner { padding: 0.55rem 0.85rem; }
  /* Grid collapses to a simple two-end row: logo left, login/register right —
     the flanking nav links move into the row2 scroll-pill strip below. */
  .header-row1 { display: flex; align-items: center; justify-content: space-between; gap: 0.55rem; }
  .nav-left { display: none; }
  .nav-right { display: flex; }
  .nav-right .nav-link { display: none; }
  .header-btns { margin-left: 0; }
  .logo-link { justify-self: auto; }
  .logo-img { height: 42px; }
  .hbtn { height: 36px; max-width: 120px; }
  .header-row2 {
    display: flex; align-items: center; gap: 0.3rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-top: 0.45rem; margin-top: 0.45rem;
    border-top: 1px solid var(--border-soft);
  }
  .header-row2::-webkit-scrollbar { display: none; }
}
.mob-nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  font-size: 0.78rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  background: var(--surface-2);
}
.mob-nav-link:active { color: var(--green-bright); }

/* ===== HERO =====
   Stacked: the hero image shown big up top, heading/copy centered below —
   the image is the focal point, matching the brand's "show every photo
   large" priority. */
.hero { position: relative; padding: 170px 1.25rem 3rem; overflow: visible; }
@media (max-width: 768px) { .hero { padding: 150px 1.25rem 2.5rem; } }
.hero-inner {
  position: relative; z-index: 1; max-width: 940px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.25rem;
}
.hero-visual { order: -1; width: 100%; }
.hero-frame {
  border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--glow-green); overflow: hidden; line-height: 0;
}
.hero-frame img { width: 100%; height: auto; border-radius: var(--r); }

.hero-text { width: 100%; }
.hero-text .eyebrow { margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(1.85rem, 5.4vw, 3rem); line-height: 1.25; }
@media (max-width: 479px) { .hero h1 { font-size: clamp(1.55rem, 7.6vw, 2rem); } }
.hero p {
  color: var(--muted); font-size: clamp(0.92rem, 2vw, 1.02rem); line-height: 1.85;
  max-width: 58ch; margin: 1.1rem auto 1.75rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* ===== FEATURES — horizontal scroll-snap "ticker deck", not a static grid.
   Swipeable card row on mobile/tablet; settles into a centered static row
   once the viewport is wide enough to fit all cards without scrolling.
   A distinct object-placement pattern vs. every other brand's fixed grid. ===== */
.features { padding: 3rem 0 5rem; }
@media (max-width: 768px) { .features { padding: 2rem 0 3rem; } }
.feat-grid {
  max-width: 1200px; margin: 0 auto; display: flex; gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 0.5rem 1.25rem 1.5rem;
}
.feat-grid::-webkit-scrollbar { display: none; }
.feat-card {
  flex: 0 0 82%; scroll-snap-align: center;
  background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 560px) { .feat-card { flex: 0 0 300px; } }
@media (min-width: 1100px) { .feat-grid { justify-content: center; overflow-x: visible; padding-bottom: 0.5rem; } .feat-card { flex: 0 1 320px; } }
.feat-card:hover { transform: translateY(-4px); border-color: var(--border); }
.feat-icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.5rem;
  background: var(--grad-green); color: var(--black);
}
.feat-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feat-card p { font-family: var(--font-body); font-size: 0.87rem; color: var(--muted); line-height: 1.75; }

/* ===== TX FEED (รายการฝาก-ถอนล่าสุด) — styled as a trade-blotter panel,
   reusing the bull-green / bear-red pair already defined for this brand's
   "Trading Terminal" identity (deposit = green/up, withdraw = red/down). ===== */
.tx-feed { max-width: 640px; margin: 0 auto; background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r-xl); padding: 1.5rem; box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tx-feed-list { display: flex; flex-direction: column; gap: 0.7rem; overflow: hidden; }
.tx-row { display: flex; align-items: center; gap: 0.85rem; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--r); padding: 0.7rem 0.9rem; }
.tx-avatar {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  color: var(--black); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.tx-avatar.deposit { background: var(--grad-green); }
.tx-avatar.withdraw { background: linear-gradient(120deg, #ff8a95 0%, #ff4d5e 50%, #d92e42 100%); }
.tx-info { flex: 1; min-width: 0; }
.tx-name { font-size: 0.88rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-bank { font-size: 0.75rem; color: var(--dim); margin-top: 0.1rem; }
.tx-right { text-align: right; flex-shrink: 0; }
.tx-amount { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.tx-amount.deposit { color: var(--green-bright); }
.tx-amount.withdraw { color: #ff8a95; }
.tx-badge {
  display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.12rem 0.55rem; border-radius: 9999px; margin-top: 0.25rem;
}
.tx-badge.deposit { background: rgba(46,232,120,0.16); color: var(--green-bright); }
.tx-badge.withdraw { background: rgba(255,77,94,0.18); color: #ff8a95; }

@keyframes txSlideIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
.tx-row.tx-enter { animation: txSlideIn 0.55s ease; }
@media (prefers-reduced-motion: reduce) { .tx-row.tx-enter { animation: none; } }
@media (max-width: 479px) {
  .tx-feed { padding: 1.1rem 0.85rem; }
  .tx-avatar { width: 34px; height: 34px; font-size: 0.85rem; }
  .tx-name { font-size: 0.82rem; }
  .tx-bank { font-size: 0.7rem; }
  .tx-amount { font-size: 0.82rem; }
}

/* ===== 3ICON STRIP — shown big, no inset padding ===== */
.strip { padding: 1.5rem 1.25rem; }
.strip-frame {
  max-width: 1080px; margin: 0 auto; border: 1px solid var(--border-soft);
  border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; line-height: 0;
}
.strip-frame img { width: 100%; border-radius: var(--r); }

/* ===== 2-COL CONTENT — images shown big, no inset padding ===== */
.c2 { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .c2 { gap: 2rem; } }
@media (max-width: 768px) { .c2 { grid-template-columns: 1fr; gap: 1.75rem; } .c2.flip > div:first-child { order: -1; } }
.c2 .tag { color: var(--green-bright); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; display: block; }
.c2 h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.3; margin-bottom: 1.1rem; }
.c2 p { color: var(--muted); font-size: 0.92rem; line-height: 1.9; margin-bottom: 1rem; }
.c2-frame {
  border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--glow-green); overflow: hidden; line-height: 0;
}
.c2-frame img { border-radius: var(--r); width: 100%; }

/* ===== INFO CARD (H3 / generic) ===== */
.info-card {
  max-width: 1000px; margin: 0 auto; background: var(--glass);
  border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--glow-green);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 768px) { .info-card { padding: 1.9rem 1.5rem; } }
@media (max-width: 479px) { .info-card { padding: 1.5rem 1.1rem; border-radius: var(--r-lg); } }
.info-card h3 { font-size: clamp(1.15rem, 3.2vw, 1.5rem); margin-bottom: 1.1rem; line-height: 1.3; }
.info-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.9; }
/* the image bleeds to the card's own edges so it renders big, not inset */
.info-card-frame { margin: 1.5rem -2.5rem -2.5rem; overflow: hidden; border-radius: 0 0 var(--r) var(--r); line-height: 0; }
.info-card-frame img { width: 100%; display: block; }
@media (max-width: 768px) { .info-card-frame { margin: 1.5rem -1.5rem -1.9rem; } }
@media (max-width: 479px) { .info-card-frame { margin: 1.25rem -1.1rem -1.5rem; border-radius: 0 0 var(--r) var(--r); } }

/* generic single-tile info card (no image) */
.info-card-solo {
  max-width: 860px; margin: 0 auto; background: var(--glass); border: 1px solid var(--border-soft);
  border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 768px) { .info-card-solo { padding: 1.9rem 1.5rem; } }
@media (max-width: 479px) { .info-card-solo { padding: 1.5rem 1.1rem; border-radius: var(--r-lg); } }
.info-card-solo h2 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); margin-bottom: 1.1rem; line-height: 1.3; }
.info-card-solo p { color: var(--muted); font-size: 0.92rem; line-height: 1.9; }

/* ===== STEPS ===== */
.steps-wrap { max-width: 820px; margin: 0 auto; }
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item {
  display: flex; gap: 1.25rem; align-items: flex-start; background: var(--glass);
  border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.step-num {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--grad-green);
  color: var(--black); font-weight: 700; font-size: 1.05rem; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 1rem; margin-bottom: 0.4rem; font-weight: 700; }
.step-body p { color: var(--muted); font-size: 0.87rem; line-height: 1.8; }
@media (max-width: 479px) { .step-item { gap: 0.9rem; padding: 1.1rem 1.15rem; } .step-num { width: 36px; height: 36px; font-size: 0.9rem; } }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.faq-q { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.55rem; color: var(--text); }
.faq-q::before { content: 'Q  '; color: var(--green-bright); }
.faq-a { color: var(--muted); font-size: 0.865rem; line-height: 1.85; }
.faq-a::before { content: 'A  '; color: var(--gold-bright); font-weight: 700; }
@media (max-width: 479px) { .faq-item { padding: 1.05rem 1.15rem; } }

/* ===== CTA SECTION ===== */
.cta-section { padding: 5rem 1.25rem; }
.cta-panel {
  max-width: 1000px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--border-gold); border-radius: var(--r-xl);
  padding: 3.25rem 2rem; box-shadow: var(--glow-gold);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cta-panel h2 { font-size: clamp(1.5rem, 4vw, 2.15rem); margin-bottom: 0.75rem; }
.cta-panel p { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
@media (max-width: 768px) { .cta-panel { padding: 2.5rem 1.5rem; } }
@media (max-width: 479px) { .cta-panel { padding: 2rem 1.1rem; border-radius: var(--r-lg); } }

/* ===== FOOTER ===== */
.footer { background: var(--surface); border-top: 1px solid var(--border-soft); color: var(--muted); padding: 3rem 1.25rem 2.25rem; text-align: center; }
.footer-logo { height: 62px; width: auto; margin: 0 auto 1.25rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }
.footer-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.85; max-width: 640px; margin: 0 auto 1.25rem; }
.footer-copy { color: var(--dim); font-size: 0.76rem; }

/* =====================================================================
   BOTTOM MOBILE NAV — flat 5-segment tab bar, every segment the same
   flush shape (no floating circular knob/plaque). The logo becomes a
   small inline tab icon like the rest. A genuinely different silhouette
   from a "floating center button" dock. ===================================================================== */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  align-items: stretch; justify-content: space-between;
  background: var(--glass);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -10px 26px rgba(2,8,5,0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 0.4rem 0.4rem;
  gap: 0.3rem;
}
@media (max-width: 768px) { .sticky-bar { display: flex; } }
.mnav-item, .mnav-center {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; padding: 0.5rem 0.15rem; border-radius: 14px; color: var(--muted);
  font-size: 0.68rem; font-weight: 600; text-align: center; line-height: 1.1;
  -webkit-tap-highlight-color: transparent; transition: color 0.2s, background 0.2s;
}
.mnav-item:active { color: var(--green-bright); background: var(--surface-2); }
.mnav-item.acc { background: var(--grad-gold); color: var(--black); font-weight: 700; }

.mnav-center { background: var(--surface-2); }
.mnav-center:active { background: var(--surface-hi); }
.mnav-center img { height: 26px; width: auto; max-width: 88px; object-fit: contain; }
@media (max-width: 360px) {
  .mnav-item, .mnav-center { font-size: 0.6rem; padding: 0.4rem 0.1rem; }
  .mnav-center img { height: 22px; max-width: 72px; }
}

/* ===== SECTION ALT BG ===== */
.bg-alt { background: rgba(17,42,28,0.55); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== SUB-PAGES ===== */
body.page-body { overflow-x: hidden; }
.page-main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 170px 1.25rem 7rem; text-align: center; gap: 1.75rem; position: relative; }
@media (max-width: 768px) { .page-main { padding-top: 150px; } }
.page-h1 { font-size: clamp(1.3rem, 3.6vw, 1.9rem); line-height: 1.3; }
.action-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 360px) { .action-btns { flex-direction: column; align-items: center; } }
.page-content { max-width: 640px; margin: 0.5rem auto 0; text-align: left; color: var(--muted); font-size: 0.95rem; line-height: 1.85; }
.page-content h2 { color: var(--text); font-size: 1.15rem; line-height: 1.4; margin: 1.5rem 0 0.6rem; }
.page-content p { margin-bottom: 1rem; }
.page-content ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.page-content li { margin-bottom: 0.5rem; }

/* ===== ARTICLE PAGE ===== */
.article-main { max-width: 780px; margin: 0 auto; padding: 170px 1.25rem 5rem; }
.article-main h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.4; margin-bottom: 1rem; color: var(--text); }
.article-main .article-meta { color: var(--dim); font-size: 0.8rem; margin-bottom: 2rem; }
.article-main p { color: var(--muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.25rem; }
.article-main h2 { font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 2rem 0 1rem; color: var(--text); }

.article-cover { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-lg); line-height: 0; }
.article-cover img { width: 100%; }

.article-tldr {
  background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem; margin-bottom: 2rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.article-tldr h2 { margin-top: 0; font-size: 1rem; color: var(--gold-bright); }
.article-tldr ul { margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.9rem; line-height: 1.95; }
.article-tldr li { margin-bottom: 0.35rem; }

.article-faq { margin-top: 2.5rem; }
@media (max-width: 768px) { .article-main { padding-top: 150px; } }
