:root {
  --bg: #08111f;
  --bg-soft: #0f1d35;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f8fc;
  --muted: #b6c2d8;
  --green: #35b956;
  --yellow: #ffd21f;
  --orange: #ff5a2a;
  --blue: #4aa1f0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Noto Sans Thai", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(53, 185, 86, 0.14), transparent 22%),
    radial-gradient(circle at 90% 18%, rgba(255, 90, 42, 0.15), transparent 22%),
    radial-gradient(circle at 70% 75%, rgba(74, 161, 240, 0.12), transparent 24%),
    linear-gradient(160deg, #07111f 0%, #0a1427 35%, #0b1730 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 92px 0; position: relative; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); }

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 280px; height: 280px; left: -80px; top: 120px;
  background: rgba(53, 185, 86, 0.18);
}
.orb-2 {
  width: 320px; height: 320px; right: -90px; top: 160px;
  background: rgba(255, 90, 42, 0.16);
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(6, 12, 25, 0.56);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand, .footer-brand {
  display: flex; align-items: center; gap: 14px;
}

.brand-logo-wrap {
  width: 82px; height: 82px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,1));
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 2 18px 32px rgba(255,255,255,0.24);
  overflow: hidden;
}
.brand-logo-wrap.small {
  width: 180px; height: 58px; border-radius: 18px;
}
.brand-logo {
  width: 100%;
  border-radius: 24px;
  object-fit: contain;
}
.brand-logo.small { width: 90%; }
.brand-copy { display: grid; gap: 2px; }
.brand-word {
  font-size: 2rem; font-weight: 800; letter-spacing: 0.06em; color: #c9ccd3;
}
.brand-sub {
  font-size: 0.92rem; color: var(--muted); letter-spacing: 0.04em;
}
.nav-links {
  display: flex; gap: 24px; color: var(--muted); font-weight: 500;
}
.nav-links a:hover { color: white; }

.hero {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: top;
  min-height: calc(100vh - 82px);
}
.eyebrow, .section-kicker, .mini-label {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.16);
  color: #dbe5f8;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow { padding: 10px 16px; font-size: 0.78rem; }
.section-kicker, .mini-label { padding: 8px 12px; font-size: 0.72rem; }
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.9rem, 6vw, 5.5rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #ffffff, #ffffff 45%, #ffd86f 60%, #ff8d63 80%, #a6cbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}


.lead, .section-head p, .preview-copy p, .download-card p, .app-identity p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px;
}
.btn {
  min-height: 58px; padding: 0 24px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-5px); }
.btn-primary {
  color: #08111f;
  background: linear-gradient(135deg, #ffffff 0%, #007aff 55%, #095db8 100%);
  border: 0px solid rgba(255,255,255,0.12);
}
.btn-secondary {
  color: #08111f;
  background: linear-gradient(135deg, #ffffff 0%, #23bc4c 55%, #34a853 100%);
  border: 0px solid rgba(255,255,255,0.12);
}
.hero-metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.metric-card, .glass-panel, .feature-box, .stats-box, .download-card, .store-card, .qr-card, .shot-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
}
.metric-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
}
.metric-card strong, .glass-panel strong, .stats-box strong, .store-card strong { display: block; }
.metric-card span { margin-top: 6px; display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.hero-visual { position: relative; min-height: 760px; display: grid; place-items: center; }
.phone-stage {
  width: min(100%, 430px);
  position: relative;
}
.phone-stage::before {
  content: ""; position: absolute; inset: 8% -14% auto; height: 72%;
  background: radial-gradient(circle, rgba(74,161,240,0.28), transparent 62%);
  filter: blur(24px);
}
.phone-frame {
  position: relative; z-index: 1;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, #141d32, #060b15);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
.phone-notch {
  width: 38%; height: 28px; border-radius: 0 0 18px 18px;
  background: #04070f; margin: 0 auto 14px;
}
.phone-screen {
  position: relative;
  min-height: 690px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #ebf5fe 0%, #f9fbff 100%);
  color: #23334d;
}
.image-screen {
  background: linear-gradient(180deg, #cfe7ff 0%, #eff7ff 100%);
}
.screen-real {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.glass-panel {
  padding: 18px 20px;
  border-radius: 22px;
  backdrop-filter: blur(12px);
  width: max-content;
  max-width: 280px;
}
.glass-panel strong { margin-top: 8px; font-size: 1.08rem; line-height: 1.4; }
.floating-card { position: absolute; z-index: 2; }
.top-card { left: 0; top: -50px; }
.bottom-card { right: 0; bottom: 50px; }

.section-head { max-width: 840px; margin-bottom: 34px; }
.section-head h2, .preview-copy h2, .download-card h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.feature-box {
  padding: 26px;
  border-radius: 24px;
}
.feature-box h3 { margin: 18px 0 10px; font-size: 1.16rem; }
.feature-box p { margin: 0; color: var(--muted); line-height: 1.7; }

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 700,
  'GRAD' 0,
  'opsz' 50
}
.icon-home{
  font-size: 40px;
  color: #3c6df5;
  background: linear-gradient(135deg, rgba(60,109,245,0.65), rgba(60,109,245,0.20));
}
.icon-query_stats{
  font-size: 40px;
  color: #0da442;
  background: linear-gradient(135deg, rgba(13,164,66,0.65), rgba(13,164,66,0.20));
}
.icon-car{
  font-size: 40px;
  color: #fb8c00;
  background: linear-gradient(135deg, rgba(248,166,62,0.65), rgba(248,166,62,0.20));
}
.icon-percent{
  font-size: 40px;
  color: #5e35b1;
  background: linear-gradient(135deg, rgba(94,53,177,0.65), rgba(94,53,177,0.10));
}

.feature-icon {
  width: 58px; height: 58px; border-radius: 18px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}

.preview-grid {
  display: grid; grid-template-columns: 1fr 0.95fr; gap: 28px; align-items: center;
}
.check-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 12px;
}
.check-list li {
  position: relative; padding-left: 32px; color: var(--muted); line-height: 1.7;
}
.check-list li::before {
  content: ""; position: absolute; width: 18px; height: 18px; left: 0; top: 5px;
  border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--yellow));
  box-shadow: 0 0 0 5px rgba(255,255,255,0.04);
}
.stats-panel {
  display: grid; gap: 16px;
}
.stats-box {
  padding: 24px;
  border-radius: 24px;
}
.stats-box .label {
  color: var(--muted); display: block; margin-bottom: 10px; font-size: 0.92rem;
}
.stats-box strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
.app-id-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: center;
}
.app-icon {
  width: 90px; height: 90px; border-radius: 24px; object-fit: cover;
  box-shadow: 0 18px 34px rgba(0,0,0,0.26);
}
.app-identity p { margin: 8px 0 0; }
.stats-box.small strong { font-size: 1.7rem; }
.stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.pill-wrap {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px;
}
.pill {
  padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); color: #dce7fa; font-weight: 600; font-size: 0.92rem;
}

.screenshot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.shot-card {
  border-radius: 30px;
  overflow: hidden;
  padding: 12px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.shot-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 42px 90px rgba(255,255,255,0.45);
}
.shot-card img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 22px;
}

.download-card {
  padding: 36px;
  border-radius: 30px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: start;
}
.download-actions {
  display: grid; gap: 14px;
}
.inline-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}
.store-card {
  display: block;
  padding: 20px 22px;
  border-radius: 22px;
  transition: transform .25s ease, background .25s ease;
}
.store-card:hover {
  background: rgba(255,255,255,0.1); transform: translateY(-5px);
}
.store-card small {
  display: block; color: #c0cde2; margin-bottom: 6px; font-weight: 600;
}
.store-card strong { font-size: 1.32rem; }
.qr-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.qr-card {
  padding: 20px; border-radius: 24px; text-align: center;
}
.qr-image {
  width: 100%; max-width: 220px; margin: 14px auto 16px; border-radius: 18px; background: white; padding: 10px;
}
.qr-card a {
  display: inline-flex; justify-content: center; align-items: center; min-height: 44px;
  padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,0.07); font-weight: 700;
}

.qr-card a:hover {
  transform: translateY(-0px) scale(1.05);
  box-shadow: 0 5px 5px rgba(255,255,255,0.45);
}

.site-footer { padding: 32px 0 56px; }
.footer-wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  color: #97a6c3;
}
.footer-brand span:last-child { font-weight: 800; letter-spacing: 0.06em; color: #c9ccd3; }

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1120px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-visual { min-height: auto; padding-top: 24px; }
  .preview-grid, .download-card, .qr-grid, .screenshot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .brand-word { font-size: 1.5rem; }
  .brand-logo-wrap { width: 68px; height: 68px; }
  .hero-metrics, .feature-grid, .stat-row, .inline-actions { grid-template-columns: 1fr; }
  .phone-stage { width: 100%; }
  .phone-screen { min-height: 620px; }
  .top-card, .bottom-card {
    position: static; margin-bottom: 14px; width: 100%; max-width: none;
  }
  .hero-visual { display: block; }
  .app-id-row { grid-template-columns: 1fr; }
  .app-icon { width: 84px; height: 84px; }
}

@media (max-width: 520px) {
  .btn { width: 100%; }
  .cta-row { display: grid; }
  .download-card { padding: 24px; }
  .feature-box, .stats-box, .qr-card { padding: 20px; }
  .phone-frame { border-radius: 30px; }
  .phone-screen { border-radius: 22px; min-height: 540px; }
  .shot-card { border-radius: 22px; }
}
