/* ========================================================================
   JET456 — "Gold Octagon" theme
   Re-themed to match the brand's actual banner artwork: dark amber-black
   background, gold octagon/hexagon pattern, glossy gold + silver accents
   ======================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

:root {
  --bg: #130d05;
  --bg-alt: #1e1509;
  --panel: #241a0d;
  --gold: #f7b733;
  --gold-bright: #ffda6a;
  --gold-deep: #b9791a;
  --silver: #c7ccd6;
  --cream: #f7ecd4;
  --ink: #f2e6ca;
  --muted: #bda87f;
  --line: rgba(247, 183, 51, 0.25);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --font-head: 'Anuphan', 'Noto Sans Thai', sans-serif;
  --font-body: 'Noto Sans Thai', sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--cream); line-height: 1.4; margin: 0 0 0.6rem; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1rem; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.grad-text {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kw { color: var(--gold-bright); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--gold-bright);
  font-weight: 700; margin-bottom: 0.7rem; text-transform: uppercase;
}
.eyebrow .bolt { color: var(--gold); font-size: 0.95rem; }

/* ---- octagon-badge (signature motif: echoes the octagon pattern in banner art) ---- */
.octo-badge {
  width: 72px; height: 72px; margin: 0 auto 1rem;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(247, 183, 51, 0.3);
}
.octo-badge svg { width: 30px; height: 30px; fill: #221400; }

/* subtle octagon-pattern backdrop, reusable */
.octagon-field {
  background-image: radial-gradient(rgba(247, 183, 51, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.78rem 1.8rem; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap; font-family: var(--font-head);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #251500; box-shadow: 0 10px 24px rgba(247, 183, 51, 0.35);
}
.btn-outline { background: rgba(247, 183, 51, 0.08); color: var(--gold-bright); border-color: var(--gold-deep); }
.btn-outline:hover { background: rgba(247, 183, 51, 0.16); }

/* ===== HEADER — big prominent logo ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(19, 13, 5, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0.6rem 1.5rem; }
.header-row1 { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.logo-img { height: 58px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.94rem; color: var(--muted); font-weight: 600; transition: color 0.15s ease; }
.nav-link:hover { color: var(--gold-bright); }
.nav-link .ico-line { background: #06c755; color: #fff; font-size: 0.6rem; font-weight: 800; padding: 0.1rem 0.32rem; border-radius: 4px; margin-right: 0.35rem; }
.header-btns { display: flex; align-items: center; gap: 0.7rem; }
.header-row2 { display: none; }

/* ===== HERO — huge logo, huge banner, gold octagon backdrop ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle, rgba(247,183,51,0.10) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(180deg, #1c1206 0%, var(--bg) 60%, var(--bg-alt) 100%);
  padding: 3rem 1.5rem 3.4rem; text-align: center;
}
.hero-logo-big { display: block; max-width: 340px; width: 100%; margin: 0 auto 1.6rem; }
.hero-banner { display: block; max-width: 1000px; width: 100%; margin: 0 auto 2rem; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-banner img { width: 100%; height: auto; }
.hero-wrap { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.hero-wrap .eyebrow { justify-content: center; display: flex; }
.hero-wrap p { color: var(--muted); font-size: 1.02rem; max-width: 640px; margin-inline: auto; }
.hero-actions { display: flex; justify-content: center; gap: 0.9rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 3.4rem 1.5rem; }
.section.alt { background: var(--bg-alt); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }
.section-head p { color: var(--muted); }

/* ===== 3 ICON FEATURE STRIP ===== */
.icon-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; max-width: 980px; margin: 0 auto; }
.icon-card { text-align: center; padding: 1.6rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.icon-card h3 { margin-bottom: 0.3rem; }
.icon-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ===== FEATURE TEXT SECTIONS ===== */
.feature-block { max-width: 900px; margin: 0 auto; text-align: center; }
.feature-block p { color: var(--muted); }

/* ===== REVIEW CARDS (3 H3 mobile/wallet/security review) ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.review-card h3 { color: var(--gold-bright); margin-bottom: 0.6rem; font-size: 1.02rem; }
.review-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

/* ===== PROVIDER SHOWCASE ===== */
.provider-cat { margin-bottom: 2.2rem; }
.provider-cat:last-child { margin-bottom: 0; }
.provider-cat-head { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.1rem; }
.provider-cat-head h3 { color: var(--gold-bright); margin: 0; }
.provider-cat-head span { color: var(--muted); font-size: 0.85rem; }
.provider-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.provider-card { display: block; border-radius: 16px; overflow: hidden; transition: transform 0.18s ease; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.provider-card:hover { transform: translateY(-4px); }
.provider-card img { width: 100%; }

/* ===== TEASER SPLIT ===== */
.teaser-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.teaser-card {
  border-radius: var(--radius); padding: 1.8rem; background: var(--panel);
  border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.teaser-card h3 { margin-bottom: 0.35rem; }
.teaser-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.9rem; }

/* ===== ARTICLE PREVIEW / GRID ===== */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 900px; margin: 0 auto; }
.article-card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.article-card img { height: 170px; object-fit: cover; width: 100%; }
.article-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.article-card-body h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.article-card-body p { color: var(--muted); font-size: 0.86rem; margin: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.faq-q { color: var(--gold-bright); margin-bottom: 0.4rem; font-size: 1rem; font-family: var(--font-head); }
.faq-a { color: var(--muted); margin: 0; font-size: 0.92rem; }

/* ===== CTA ===== */
.cta-section { padding: 0 1.5rem 4rem; }
.cta-panel {
  max-width: 1000px; margin: 0 auto; text-align: center; padding: 3rem 1.6rem; border-radius: 24px;
  background: linear-gradient(135deg, #2b1c07, var(--panel) 65%);
  border: 1px solid var(--gold-deep);
  box-shadow: var(--shadow);
}
.cta-btns { display: flex; justify-content: center; gap: 0.9rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { padding: 3rem 1.5rem 7rem; text-align: center; background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-logo { height: 50px; margin: 0 auto 1rem; }
.footer-tagline { max-width: 640px; margin: 0 auto 1.6rem; color: var(--muted); font-size: 0.9rem; }
.footer-partner { display: block; max-width: 900px; margin: 0 auto 1.6rem; background: var(--bg); border-radius: 12px; padding: 1rem; border: 1px solid var(--line); }
.footer-copy { color: var(--muted); font-size: 0.8rem; margin: 0; }

/* ===== STICKY BAR — docked, mobile-only ===== */
.sticky-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  align-items: center; justify-content: space-between;
  background: rgba(19, 13, 5, 0.97); border-top: 1px solid var(--gold-deep);
  padding: 0.5rem 0.5rem; box-shadow: 0 -10px 24px rgba(0,0,0,0.5);
}
.mnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.15rem; font-size: 0.66rem; color: var(--muted); font-weight: 700; padding: 0.3rem 0.1rem; }
.mnav-emoji { font-size: 1.15rem; }
.mnav-center {
  width: 56px; height: 56px; margin-top: -24px; flex-shrink: 0;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 8px 20px rgba(247, 183, 51, 0.45);
}
.mnav-center span { font-size: 1.5rem; }

/* ===== PAGE (inner pages) ===== */
.page-hero { padding: 2.6rem 1.5rem 1rem; text-align: center; background: linear-gradient(180deg, #1c1206, var(--bg)); }
.page-hero .eyebrow { justify-content: center; display: flex; }
.page-hero h1 { max-width: 780px; margin: 0 auto 0.6rem; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); }
.page-main { max-width: 980px; margin: 0 auto; padding: 2.6rem 1.5rem 4rem; }
.page-content h2 { color: var(--gold-bright); margin-top: 2.2rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--ink); }
.page-content ul { margin: 1rem 0; display: flex; flex-direction: column; gap: 0.55rem; }
.page-content ul li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.page-content ul li::before { content: "⚡"; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; top: 0.3rem; }

.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin: 1.6rem 0 2rem; }
.promo-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.promo-card h3 { margin-bottom: 0.5rem; }
.promo-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.trial-note { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.7rem; margin: 1.6rem 0; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.trial-note p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ===== ARTICLE DETAIL PAGE ===== */
.article-main { max-width: 780px; margin: 0 auto; padding: 2.6rem 1.5rem 4rem; }
.article-main .eyebrow { justify-content: center; display: flex; }
.article-main h1 { text-align: center; margin-bottom: 0.6rem; }
.article-meta { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 1.8rem; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-cover img { width: 100%; }
.article-tldr { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2rem; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.article-tldr h2 { color: var(--gold-bright); font-size: 1.05rem; margin-bottom: 0.7rem; }
.article-tldr ul { display: flex; flex-direction: column; gap: 0.5rem; }
.article-tldr ul li { padding-left: 1.4rem; position: relative; color: var(--muted); font-size: 0.92rem; }
.article-tldr ul li::before { content: "⚡"; position: absolute; left: 0; color: var(--gold); font-size: 0.65rem; top: 0.3rem; }
.article-main h2 { margin-top: 2rem; }
.article-faq { margin-top: 2.4rem; }
.article-faq h2 { color: var(--gold-bright); }
.article-related { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.article-related h2 { font-size: 1.1rem; }
.article-related-list { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
.article-related-item { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.rel-title { color: var(--gold-bright); font-weight: 700; margin-bottom: 0.3rem; font-size: 0.94rem; font-family: var(--font-head); }
.rel-desc { color: var(--muted); font-size: 0.85rem; margin: 0; }
.action-btns { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }

/* ===== reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .review-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .teaser-split { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-logo-big { max-width: 260px; }
}
@media (max-width: 760px) {
  .nav-menu { display: none; }
  .icon-strip { grid-template-columns: 1fr; gap: 1rem; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .header-row2 { display: flex; gap: 1.1rem; overflow-x: auto; padding: 0.6rem 1.5rem 0.8rem; border-top: 1px solid var(--line); scrollbar-width: none; }
  .header-row2::-webkit-scrollbar { display: none; }
  .mob-nav-link { flex-shrink: 0; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
  body { padding-bottom: 5.4rem; }
  .sticky-bar { display: flex; }
  .logo-img { height: 42px; }
  .hero-logo-big { max-width: 200px; }
}
