/* ============================================================
   landing.css — StarPath Thailand Landing Page
   Imports shared.css tokens; adds landing-specific styles.
   ============================================================ */

/* ── STARFIELD CANVAS ───────────────────────────────────── */
#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.page      { position: relative; z-index: 1; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 91vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem;
  position: relative;
}
.hero-glow {
  position: absolute; top: 22%; left: 50%; transform: translateX(-50%);
  width: 680px; height: 340px;
  background: radial-gradient(ellipse, rgba(123,108,246,0.15) 0%, transparent 68%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--purple-dim); border: 1px solid rgba(168,158,255,0.30);
  color: var(--purple-l); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 1.5rem;
  animation: fadeUp .6s ease both;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-l); animation: pulse 2s ease infinite; }

.hero h1 {
  font-family: var(--fd); font-size: clamp(38px,6.5vw,70px);
  font-weight: 800; line-height: 1.05; color: var(--t1);
  margin-bottom: 1.25rem; letter-spacing: -0.025em;
  animation: fadeUp .6s .1s ease both;
}
.hero h1 em { font-style: normal; color: var(--purple-l); }
.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--t2);
  max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.8;
  animation: fadeUp .6s .2s ease both;
}
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; animation: fadeUp .6s .3s ease both; }
.btn-primary {
  background: var(--purple); color: #fff; border: none;
  padding: 12px 28px; border-radius: var(--rs);
  font-family: var(--fb); font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: #6A5CE0; transform: translateY(-2px); box-shadow: 0 6px 20px var(--purple-glow); }
.btn-ghost {
  background: transparent; color: var(--purple-l);
  border: 1px solid rgba(168,158,255,0.38);
  padding: 12px 28px; border-radius: var(--rs);
  font-family: var(--fb); font-size: 14px; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-ghost:hover { background: var(--purple-dim); transform: translateY(-2px); }

.hero-stats {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--bdr);
  animation: fadeUp .6s .4s ease both; flex-wrap: wrap;
}
.stat-num   { font-family: var(--fd); font-size: 26px; font-weight: 700; color: var(--t1); }
.stat-label { font-size: 10px; color: var(--t3); margin-top: 3px; text-transform: uppercase; letter-spacing: .07em; }

/* ── SECTION WRAPPER ────────────────────────────────────── */
.section { padding: 5rem 2rem; max-width: 1080px; margin: 0 auto; }
.full-band { background: var(--bg2); border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); }
.full-band .section { padding: 5rem 2rem; }

/* ── FEATURES ───────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(215px,1fr)); gap: 12px; }
.feat-card {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r); padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: var(--bdr2); transform: translateY(-3px); }
.feat-card.star  { border-color: rgba(123,108,246,.38); background: rgba(123,108,246,.05); }
.feat-icon  { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; font-size: 18px; }
.feat-name  { font-family: var(--fd); font-size: 13.5px; font-weight: 600; color: var(--t1); margin-bottom: 6px; }
.feat-desc  { font-size: 12.5px; color: var(--t1); opacity:0.78; font-weight: 300; line-height: 1.65; margin-bottom: 11px; }
.feat-tag   { display: inline-block; font-size: 10px; font-weight: 500; padding: 2px 9px; border-radius: 20px; }

/* ── MAP CTA BANNER ─────────────────────────────────────── */
.map-cta-band {
  background: linear-gradient(135deg, var(--surf) 0%, var(--surf2) 100%);
  border-top: 1px solid var(--bdr2); border-bottom: 1px solid var(--bdr2);
  padding: 3rem 2rem;
}
.map-cta-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.map-cta-text .cta-title {
  font-family: var(--fd); font-size: clamp(20px,2.5vw,28px);
  font-weight: 700; color: var(--t1); margin-bottom: 8px;
}
.map-cta-text .cta-sub { font-size: 14px; color: var(--t1); opacity:0.78; font-weight: 300; max-width: 480px; line-height: 1.7; }
.map-cta-preview {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.preview-stat {
  background: var(--surf3); border: 1px solid var(--bdr2);
  border-radius: var(--rs); padding: 10px 14px;
  text-align: center; min-width: 80px;
}
.preview-stat-val  { font-family: var(--fm); font-size: 18px; font-weight: 600; line-height: 1; margin-bottom: 3px; }
.preview-stat-lbl  { font-family: var(--fm); font-size: 8.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--t3); }

/* ── SCORES WIDGET ──────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.widget {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r); padding: 1.5rem;
}
.widget-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.widget-ttl { font-size: 11px; font-weight: 600; color: var(--t2); text-transform: uppercase; letter-spacing: .08em; }
.live-row   { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--t3); }
.live-dot   { width: 6px; height: 6px; border-radius: 50%; background: #5DE28E; animation: pulse 2s ease infinite; }

.score-rows { display: flex; flex-direction: column; gap: 9px; }
.sc-row     { display: flex; align-items: center; gap: 11px; }
.sc-name    { font-size: 13px; color: var(--t1); opacity:0.85; width: 128px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-bar-bg  { flex: 1; height: 5px; background: rgba(255,255,255,.06); border-radius: 3px; overflow: hidden; }
.sc-bar     { height: 100%; border-radius: 3px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.sc-val     { font-family: var(--fd); font-size: 12px; font-weight: 600; width: 26px; text-align: right; flex-shrink: 0; }

/* ── MOON CALENDAR ──────────────────────────────────────── */
.moon-hdr  { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.moon-lbl  { font-size: 11px; font-weight: 600; color: var(--t2); text-transform: uppercase; letter-spacing: .08em; }
.moon-month-txt { font-family: var(--fd); font-size: 14px; font-weight: 600; color: var(--t1); }
.moon-cal  { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.mc-lbl    { font-size: 9px; color: var(--t2); text-align: center; padding-bottom: 5px; text-transform: uppercase; letter-spacing: .05em; }
.mc-day    { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--t2); }
.mc-day.dark-win { background: var(--purple-dim); color: var(--purple-l); font-weight: 500; }
.mc-day.new-moon { background: var(--purple); color: #fff; font-weight: 600; }
.mc-day.today    { border: 1px solid var(--bdr2); color: var(--t2); }
.mc-day.full     { background: rgba(240,190,60,.2); color: #f0be3c; }
.moon-leg  { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.ml-item   { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--t3); }
.ml-dot    { width: 7px; height: 7px; border-radius: 50%; }

/* ── MILKY WAY GRID ─────────────────────────────────────── */
.mw-grid  { display: grid; grid-template-columns: repeat(12,1fr); gap: 4px; margin-bottom: 9px; }
.mw-col   { text-align: center; }
.mw-bar   { height: 36px; border-radius: 4px; margin-bottom: 3px; }
.mw-lbl   { font-size: 9px; color: var(--t2); text-transform: uppercase; letter-spacing: .04em; }

/* ── TRIGGERS ───────────────────────────────────────────── */
.trg-grid { display: flex; flex-direction: column; gap: 9px; }
.trg-card {
  background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--r);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: 12px;
  transition: border-color .2s;
}
.trg-card:hover  { border-color: var(--bdr2); }
.trg-ico { width: 34px; height: 34px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.trg-info { flex: 1; }
.trg-name { font-size: 13px; font-weight: 500; color: var(--t1); margin-bottom: 1px; }
.trg-desc { font-size: 11.5px; color: var(--t2); }
.trg-meta { text-align: right; flex-shrink: 0; }
.trg-freq { font-size: 10.5px; color: var(--t2); margin-bottom: 4px; }
.toggle   { width: 34px; height: 19px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid var(--bdr2); position: relative; cursor: pointer; transition: background .2s; margin-left: auto; }
.toggle.on { background: var(--purple); border-color: var(--purple); }
.toggle::after { content: ''; position: absolute; width: 15px; height: 15px; background: rgba(255,255,255,.6); border-radius: 50%; top: 2px; left: 2px; transition: left .2s, background .2s; }
.toggle.on::after { left: 17px; background: #fff; }

/* Notification widget */
.notif-w   { background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--r); overflow: hidden; }
.ntop      { background: var(--surf2); padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--bdr); }
.ntop-ttl  { font-size: 11px; font-weight: 500; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 6px; }
.nitem     { display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; border-bottom: 1px solid var(--bdr); }
.nitem:last-child { border-bottom: none; }
.nicon     { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 12px; }
.nmsg      { font-size: 12px; font-weight: 500; color: var(--t1); margin-bottom: 1px; }
.ndtl      { font-size: 11.5px; color: var(--t2); font-weight: 300; }
.npill     { display: inline-block; font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 12px; background: rgba(72,200,120,.15); color: #5DE28E; border: 1px solid rgba(72,200,120,.25); margin-top: 3px; }
.perfect-banner { background: linear-gradient(135deg,#10063A,#061A12); border: 1px solid rgba(168,158,255,.22); border-radius: var(--r); padding: 1.4rem 1.75rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 10px; }
.pb-ico   { width: 46px; height: 46px; border-radius: 50%; background: var(--purple-dim); border: 1px solid var(--bdr3); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.pb-ttl   { font-family: var(--fd); font-size: 14px; font-weight: 700; color: var(--purple-l); margin-bottom: 2px; }
.pb-dsc   { font-size: 12px; color: var(--t2); font-weight: 300; }
.pb-pill  { margin-left: auto; background: var(--purple-dim); color: var(--purple-l); font-size: 11px; font-weight: 500; padding: 4px 13px; border-radius: 20px; border: 1px solid var(--bdr3); white-space: nowrap; }

/* ── STEPS ──────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(195px,1fr)); gap: 12px; }
.step-card  { background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--r); padding: 1.4rem; }
.step-n     { font-family: var(--fd); font-size: 36px; font-weight: 800; color: rgba(123,108,246,.18); line-height: 1; margin-bottom: 10px; }
.step-ttl   { font-family: var(--fd); font-size: 14px; font-weight: 600; color: var(--t1); margin-bottom: 5px; }
.step-dsc   { font-size: 12.5px; color: var(--t1); opacity:0.75; font-weight: 300; line-height: 1.65; }

/* ── TECH BAND ──────────────────────────────────────────── */
.tech-band  { background: var(--bg2); border-top: 1px solid var(--bdr); padding: 2.5rem 2rem; }
.tech-inner { max-width: 1080px; margin: 0 auto; }
.tech-ey    { font-size: 11px; color: var(--t2); text-transform: uppercase; letter-spacing: .09em; margin-bottom: .9rem; text-align: center; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.tp         { background: var(--surf); border: 1px solid var(--bdr2); border-radius: var(--rs); padding: 5px 13px; font-size: 12px; color: var(--t1); opacity:0.8; display: flex; align-items: center; gap: 6px; }
.tp-dot     { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:780px) {
  .two-col   { grid-template-columns: 1fr; }
  .map-cta-inner { flex-direction: column; }
  .hero      { padding: 4rem 1.25rem 3rem; }
  .section   { padding: 3rem 1.25rem; }
  .mw-grid   { grid-template-columns: repeat(6,1fr); }
  .hero-stats{ gap: 1.5rem; }
}

/* ── SCORE DATA BADGE ────────────────────────────────────── */
.score-data-badge {
  font-family: var(--fm); font-size: 9.5px; font-weight: 500;
  color: var(--t3); margin-left: 8px;
  transition: color .3s;
}
