/* ---------- TOKENS ---------- */
:root {
  --bg: #050505;
  --bg-1: #0a0a0d;
  --bg-2: #0f0d14;
  --ink: #f5f5f7;
  --ink-2: #c8c8d2;
  --ink-3: #8a8a98;
  --ink-4: #5a5a68;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --purple: #6D28D9;
  --purple-2: #8b5cf6;
  --purple-glow: rgba(109, 40, 217, 0.5);
  --green: #1ED760;
  --green-2: #4ade80;
  --green-glow: rgba(30, 215, 96, 0.45);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-display: 'Sora', 'Sarabun', system-ui, sans-serif;
  --font-body: 'Manrope', 'Sarabun', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Sarabun', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
  line-height: 1.55;
}
:lang(th) body { line-height: 1.75; }
:lang(th) .hero-sub,
:lang(th) .section-lede,
:lang(th) .step p,
:lang(th) .price-desc,
:lang(th) .tm-body,
:lang(th) .faq-a,
:lang(th) .footer-brand,
:lang(th) .final-cta p { line-height: 1.85; }
:lang(th) .step h3 { line-height: 1.5; padding: 0.1em 0; }
:lang(th) .price-name { line-height: 1.4; }
:lang(th) .faq-q { line-height: 1.5; padding-top: 24px; padding-bottom: 24px; }

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(109, 40, 217, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(30, 215, 96, 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- TYPOGRAPHY ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.mono { font-family: var(--font-mono); }

/* ---------- LAYOUT ---------- */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .shell { padding: 0 20px; }
}

section { position: relative; padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 16px 16px auto 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 12px 10px 20px;
  background: rgba(10, 10, 13, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.nav-brand-mark {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: conic-gradient(from 200deg, var(--purple), var(--green), var(--purple));
  position: relative;
  box-shadow: 0 0 18px var(--purple-glow);
}
.nav-brand-mark::after {
  content: '';
  position: absolute; inset: 5px;
  border-radius: 4px;
  background: var(--bg);
}
.nav-brand-mark::before {
  content: '';
  position: absolute; inset: 9px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.nav-links { display: flex; gap: 26px; font-size: 13px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 8px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s;
}
.nav-cta:hover { transform: scale(0.97); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform .2s, box-shadow .3s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #04150a;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 10px 40px -10px var(--green-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 18px 50px -10px var(--green-glow);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-purple {
  background: var(--purple);
  color: var(--ink);
  box-shadow: 0 10px 40px -10px var(--purple-glow);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -10px var(--purple-glow);
}

/* ---------- GLASS CARD ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}

/* ---------- HERO ---------- */
.hero { padding: 160px 0 100px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 40px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  font-size: clamp(42px, 6.5vw, 84px);
  margin: 18px 0 24px;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
  overflow-wrap: break-word;
  line-height: 1.05;
  padding: 0.12em 0;
}
:lang(th) .hero h1 {
  line-height: 1.5;
  letter-spacing: -0.02em;
  padding: 0.18em 0;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green) 0%, var(--green-2) 60%, var(--purple-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0.1em 0;
  line-height: inherit;
}
.section-title .accent {
  background: linear-gradient(120deg, var(--green), var(--purple-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0.08em 0;
  line-height: inherit;
}
:lang(th) .hero h1 .accent,
:lang(th) .section-title .accent {
  padding: 0.2em 0;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 40px;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.hero-trust-item {
  display: inline-flex; gap: 8px; align-items: center;
}
.hero-trust-item .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 540px;
}
@media (max-width: 960px) { .hero-visual { height: 480px; } }

.waveform {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  opacity: 0.25;
}
.waveform .bar {
  width: 4px;
  background: linear-gradient(180deg, var(--green), var(--purple));
  border-radius: 4px;
  animation: wavy 1.6s ease-in-out infinite;
}
@keyframes wavy {
  0%, 100% { height: 8px; }
  50% { height: var(--h, 60px); }
}

.floating-card {
  position: absolute;
  background: linear-gradient(180deg, rgba(20,20,26,0.85), rgba(10,10,15,0.7));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.fc-track {
  top: 8%; left: 5%;
  width: 240px;
  animation-delay: 0s;
}
.fc-analytics {
  bottom: 8%; right: 0%;
  width: 280px;
  animation-delay: -2s;
}
.fc-curator {
  top: 38%; right: 8%;
  width: 220px;
  animation-delay: -4s;
}

.fc-row { display: flex; align-items: center; gap: 12px; }
.fc-art {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--green));
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.fc-art.indie { background: linear-gradient(135deg, #ff6b6b, var(--purple)); }
.fc-art.lofi { background: linear-gradient(135deg, #6366f1, #ec4899); }
.fc-art.hip { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.fc-title { font-weight: 600; font-size: 13px; }
.fc-sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; font-family: var(--font-mono); }
.fc-meta {
  margin-top: 12px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}
.fc-bar {
  height: 4px;
  margin-top: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.fc-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--purple));
  border-radius: 2px;
}

.spark {
  margin-top: 8px;
  height: 40px;
  width: 100%;
}

/* ---------- SECTION TITLES ---------- */
.section-head {
  display: flex; flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: break-word;
  padding: 0.08em 0;
}
:lang(th) .section-title {
  line-height: 1.55;
  letter-spacing: -0.01em;
  padding: 0.15em 0;
}
.section-lede {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 600px;
}

/* ---------- TRUST STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-value .unit { font-size: 22px; color: var(--green); -webkit-text-fill-color: var(--green); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 8px;
}
.stat-delta {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  padding: 3px 8px;
  background: rgba(30, 215, 96, 0.12);
  border-radius: 999px;
}
.stat-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* Audit timestamp pill */
.trust-audit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(30, 215, 96, 0.08);
  border: 1px solid rgba(30, 215, 96, 0.22);
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.14em;
  width: fit-content;
}
.trust-audit-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}

/* Trust badge strip */
.trust-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (max-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
}
.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  transition: background .2s;
}
.trust-badge:hover { background: rgba(255,255,255,0.03); }
.trust-badge-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30, 215, 96, 0.08);
  border: 1px solid rgba(30, 215, 96, 0.18);
  color: var(--green);
}
.trust-badge-text { min-width: 0; }
.trust-badge-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.trust-badge-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
:lang(th) .trust-badge-title { line-height: 1.5; }
:lang(th) .trust-badge-sub { line-height: 1.65; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.tm-stars { display: flex; gap: 2px; color: var(--green); font-size: 13px; }
.tm-body { color: var(--ink); font-size: 15px; line-height: 1.5; }
.tm-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tm-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--bg);
}
.tm-name { font-weight: 600; font-size: 14px; }
.tm-role { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.steps::before {
  content: '';
  position: absolute;
  top: 48px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--green), transparent);
  opacity: 0.6;
}
@media (max-width: 860px) { .steps::before { display: none; } }
.step {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.step-icon {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(109,40,217,0.4), rgba(10,10,15,0.9) 70%);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.step-icon::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--green), var(--purple));
  z-index: -1;
  filter: blur(12px);
  opacity: 0.35;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.step p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- PLAYLIST GRID ---------- */
.playlists {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1024px) { .playlists { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .playlists { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .playlists { grid-template-columns: 1fr; } }
.playlist {
  padding: 14px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 10px;
}
.playlist:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 50px -10px rgba(109, 40, 217, 0.3);
}
.pl-art {
  aspect-ratio: 1;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6);
}
.pl-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
}
.pl-art-label {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.pl-title { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.pl-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}
.pl-followers { color: var(--green); }

/* Art gradients */
.art-lofi   { background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%); }
.art-indie  { background: linear-gradient(135deg, #f43f5e 0%, #8b5cf6 100%); }
.art-hip    { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #1f2937 100%); }
.art-edm    { background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%); }
.art-chill  { background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 60%, #1e1b4b 100%); }
.art-amb    { background: linear-gradient(135deg, #14b8a6 0%, #1e293b 100%); }

/* ---------- DASHBOARD ---------- */
.dashboard {
  position: relative;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,20,28,0.9), rgba(8,8,12,0.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -20px rgba(109, 40, 217, 0.35), 0 0 0 1px rgba(255,255,255,0.04);
}
.dash-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.dash-dots span:first-child { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-left: auto;
}
.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
}
@media (max-width: 760px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}
.dash-side {
  border-right: 1px solid var(--line);
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-side-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 12px 12px;
}
.dash-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s;
}
.dash-side-item:hover { background: rgba(255,255,255,0.04); }
.dash-side-item.active {
  background: rgba(109, 40, 217, 0.15);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.3);
}
.dash-side-item .ico {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}
.dash-side-item.active .ico {
  background: linear-gradient(135deg, var(--purple), var(--green));
}
.dash-main { padding: 28px 32px; }
@media (max-width: 760px) { .dash-main { padding: 20px; } }
.dash-h {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.dash-h h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.dash-cid {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--ink-3);
}
.dash-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(30, 215, 96, 0.12);
  border: 1px solid rgba(30, 215, 96, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
}
.dash-status .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  padding: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.kpi-value {
  font-family: var(--font-display);
  font-weight: 700; font-size: 26px;
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.kpi-delta { font-family: var(--font-mono); font-size: 11px; margin-top: 4px; }
.kpi-delta.up { color: var(--green); }

.dash-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
@media (max-width: 760px) { .dash-charts { grid-template-columns: 1fr; } }
.chart-card {
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.chart-card-h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.chart-card-h h4 {
  margin: 0; font-size: 14px; font-weight: 600;
}
.chart-tabs { display: flex; gap: 4px; }
.chart-tab {
  font-family: var(--font-mono); font-size: 10px;
  padding: 4px 8px; border-radius: 6px;
  color: var(--ink-3);
  cursor: pointer;
}
.chart-tab.active { background: rgba(255,255,255,0.06); color: var(--ink); }
.placements { display: flex; flex-direction: column; gap: 10px; }
.placement-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.placement-name { display: flex; align-items: center; gap: 10px; }
.placement-dot {
  width: 24px; height: 24px; border-radius: 6px;
}
.placement-status {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
}
.placement-status.live { background: rgba(30,215,96,0.12); color: var(--green); }
.placement-status.review { background: rgba(245,158,11,0.12); color: #f59e0b; }
.placement-status.queue { background: rgba(255,255,255,0.06); color: var(--ink-3); }

/* ---------- PRICING ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.price {
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.price-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price.featured .price-tier { color: var(--purple-2); }
.price-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.price-metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.price.featured .price-metric-value { color: var(--green); }
.price-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.price-bestfor {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.price-note {
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06), rgba(255,255,255,0.01));
  border-radius: var(--radius);
}
.price-note-heading {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #fbbf24;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.price-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-note li {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.price-note li::before {
  content: '· ';
  color: #fbbf24;
  margin-right: 4px;
}
:lang(th) .price-bestfor,
:lang(th) .price-note li { line-height: 1.85; }
.price:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}
.price.featured {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(180deg, rgba(109,40,217,0.18), rgba(255,255,255,0.02));
  box-shadow: 0 30px 80px -20px rgba(109, 40, 217, 0.4), inset 0 0 0 1px rgba(139,92,246,0.2);
}
.price.featured:hover {
  box-shadow: 0 40px 100px -20px rgba(109, 40, 217, 0.55);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  color: var(--bg);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.price-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
}
.price-tag {
  display: flex; align-items: baseline; gap: 8px;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-cur { font-family: var(--font-display); font-size: 22px; color: var(--ink-3); }
.price-per { color: var(--ink-3); font-size: 13px; }
.price-desc { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.price-feats { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.price-feats li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink-2); line-height: 1.45;
}
.price-feats li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--green), var(--purple)) padding-box;
  position: relative;
}
.price-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(30,215,96,0.15);
  color: var(--green);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-feats li { gap: 12px; }
.price-feats li::before { display: none; }
.price-btn { width: 100%; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border-radius: var(--radius);
  padding: 4px;
  transition: border-color .2s;
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-toggle {
  background: var(--green);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 24px 24px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: center;
  padding: 140px 0 160px;
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(109, 40, 217, 0.4), transparent 60%),
    radial-gradient(ellipse 40% 40% at 30% 60%, rgba(30, 215, 96, 0.15), transparent 60%);
  pointer-events: none;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 104px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 auto 24px;
  max-width: 18ch;
  text-wrap: balance;
  overflow-wrap: break-word;
  padding: 0.12em 0;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
:lang(th) .final-cta h2 {
  line-height: 1.45;
  letter-spacing: -0.02em;
  padding: 0.18em 0;
}
.final-cta p {
  color: var(--ink-2);
  font-size: 18px;
  margin: 0 auto 40px;
  max-width: 560px;
  position: relative;
}
.final-cta .btn { position: relative; }

/* ---------- FOOTER ---------- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: start;
}
@media (max-width: 760px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand { font-size: 14px; color: var(--ink-3); max-width: 420px; line-height: 1.6; }
.footer-social-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all .25s ease;
}
.footer-social:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px var(--green-glow);
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  transition: all .25s ease;
}
.footer-email:hover {
  background: rgba(30,215,96,0.08);
  border-color: rgba(30,215,96,0.35);
  color: var(--green);
  transform: translateY(-2px);
}
.footer-email svg { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: fadeUp .8s ease forwards;
}
.reveal.r1 { animation-delay: .1s; }
.reveal.r2 { animation-delay: .25s; }
.reveal.r3 { animation-delay: .4s; }
.reveal.r4 { animation-delay: .55s; }

/* Selection */
::selection { background: var(--green); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ---------- LIVE CHAT ---------- */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #18b34c);
  color: #04150a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -6px var(--green-glow), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.chat-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 40px -6px var(--green-glow);
}
.chat-fab.is-open {
  background: rgba(20, 20, 26, 0.95);
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  animation: pulse 1.6s ease-in-out infinite;
}

.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1000;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.96), rgba(8, 8, 12, 0.98));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 60px -20px var(--purple-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(109, 40, 217, 0.2), transparent 60%),
    rgba(255, 255, 255, 0.02);
}
.chat-head-avatar {
  position: relative;
}
.chat-online {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #0b0b10;
  box-shadow: 0 0 8px var(--green-glow);
}
.chat-head-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.chat-head-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.chat-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}
.chat-head-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.chat-head-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); }

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 85%;
}
.chat-msg-bot { align-self: flex-start; }
.chat-msg-user { align-self: flex-end; align-items: flex-end; }

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  animation: bubblePop .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bubblePop {
  from { opacity: 0; transform: translateY(6px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-bubble-bot {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.chat-bubble-user {
  background: linear-gradient(135deg, var(--green), #16b04c);
  color: #04150a;
  border-bottom-right-radius: 6px;
  font-weight: 500;
}
:lang(th) .chat-bubble { line-height: 1.75; }

.chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 14px 16px;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chat-quick-reply {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(30, 215, 96, 0.08);
  border: 1px solid rgba(30, 215, 96, 0.25);
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  transition: all .2s;
  text-align: left;
  line-height: 1.3;
}
.chat-quick-reply:hover {
  background: rgba(30, 215, 96, 0.18);
  border-color: rgba(30, 215, 96, 0.5);
  transform: translateY(-1px);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.chat-input:focus {
  border-color: var(--green);
  background: rgba(30, 215, 96, 0.04);
}
.chat-input::placeholder { color: var(--ink-4); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #04150a;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, opacity .2s;
  flex-shrink: 0;
}
.chat-send:hover:not(:disabled) {
  transform: scale(1.06);
}
.chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chat-foot {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  padding: 8px 12px 12px;
  background: rgba(0,0,0,0.2);
}

@media (max-width: 480px) {
  .chat-panel {
    bottom: 88px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
  .chat-fab { bottom: 16px; right: 16px; }
}

/* ---------- MESSENGER FAB ---------- */
.messenger-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow:
    0 12px 30px -6px rgba(0, 132, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform .25s ease, box-shadow .25s ease;
}
.messenger-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 18px 40px -6px rgba(0, 132, 255, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}
.messenger-fab svg { flex-shrink: 0; }
.messenger-fab-label { white-space: nowrap; }
@media (max-width: 480px) {
  .messenger-fab {
    bottom: 16px;
    right: 16px;
    padding: 14px;
  }
  .messenger-fab-label { display: none; }
}
