:root {
  color-scheme: dark;
  --ink: #07131f;
  --ink-soft: #0b2031;
  --panel: #0c2639;
  --cyan: #24d2ef;
  --cyan-bright: #58e7ff;
  --blue: #2585ff;
  --green: #37e8aa;
  --warm: #ffb24a;
  --text: #f7fbff;
  --muted: #9eb4c6;
  --line: rgba(126, 196, 226, .17);
  --paper: #f3f8fb;
  --paper-text: #102333;
  --paper-muted: #607688;
  --paper-line: #d9e6ed;
  --shadow: 0 28px 80px rgba(0, 12, 25, .26);
  --radius: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: "Leelawadee UI", "Noto Sans Thai", Tahoma, Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus { top: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(104, 194, 231, .12);
  background: rgba(5, 18, 29, .88);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(1240px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img { filter: drop-shadow(0 0 14px rgba(36, 210, 239, .25)); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 19px; letter-spacing: .02em; }
.brand small { margin-top: 5px; color: #7fa1b7; font-size: 9px; letter-spacing: .18em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a {
  color: #aec0ce;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease;
}
nav a:hover, nav a:focus-visible { color: var(--cyan-bright); }
nav .nav-cta {
  padding: 9px 16px;
  border: 1px solid rgba(61, 222, 246, .48);
  border-radius: 999px;
  color: var(--text);
  background: rgba(29, 174, 209, .11);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  color: white;
}
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero {
  position: relative;
  min-height: 730px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(18, 76, 105, .22), transparent 52%),
    radial-gradient(circle at 78% 30%, rgba(27, 143, 234, .14), transparent 34%),
    #061522;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(91, 180, 218, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 180, 218, .12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -180px; top: -150px; background: radial-gradient(circle, rgba(24, 150, 255, .23), transparent 68%); }
.hero-glow-two { width: 430px; height: 430px; left: 30%; bottom: -310px; background: radial-gradient(circle, rgba(27, 231, 194, .19), transparent 68%); }
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 680px;
  padding: 96px 0 82px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero h1 {
  max-width: 620px;
  margin: 24px 0 22px;
  font-size: clamp(56px, 6.1vw, 92px);
  line-height: .94;
  letter-spacing: -.045em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(95deg, var(--cyan-bright), #55a7ff 64%, #93baff);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-lead { max-width: 650px; margin: 0; color: #bfd0dc; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.button {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #12bfe5, #2784ff); color: #02121e; box-shadow: 0 14px 36px rgba(23, 166, 234, .22); }
.button-secondary { border-color: rgba(170, 215, 234, .24); background: rgba(255, 255, 255, .045); color: var(--text); }
.button-large { min-height: 54px; padding-inline: 26px; }
.button.is-disabled { pointer-events: none; opacity: .45; filter: grayscale(.6); box-shadow: none; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px 19px; margin: 0; padding: 0; color: #8fa9ba; font-size: 13px; list-style: none; }
.hero-points span { color: var(--green); font-weight: 900; }

.product-stage {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(98, 207, 246, .3);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(27, 63, 87, .86), rgba(7, 23, 36, .92));
  box-shadow: 0 42px 100px rgba(0, 5, 15, .5), inset 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}
.product-stage::after { content: ""; position: absolute; inset: 10% -8% -10% 12%; z-index: -1; border-radius: 50%; background: rgba(35, 166, 235, .19); filter: blur(50px); }
.stage-topline { height: 34px; padding: 0 11px; display: flex; align-items: center; gap: 6px; color: #6f91a8; font-size: 9px; letter-spacing: .16em; }
.stage-topline span { width: 7px; height: 7px; border-radius: 50%; background: #24465c; }
.stage-topline span:first-child { background: #38d2d2; }
.stage-topline b { margin-left: auto; }
.stage-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(90, 184, 220, .23); border-radius: 14px; background: #020b12; }
.stage-screen img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8) contrast(1.08); }
.stage-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(2, 10, 18, .82)); }
.now-playing { position: absolute; z-index: 1; left: 25px; bottom: 24px; display: flex; flex-direction: column; }
.now-playing small { color: var(--cyan); font-weight: 900; letter-spacing: .18em; }
.now-playing strong { margin: 2px 0; font-size: clamp(19px, 2vw, 31px); }
.now-playing span { color: #a7bac7; font-size: 12px; }
.stage-console { min-height: 78px; padding: 15px 9px 6px; display: grid; grid-template-columns: repeat(3, 1fr) 1.8fr; gap: 10px; align-items: center; }
.stage-console > div:not(.meter) { padding: 8px 10px; border-left: 2px solid #1d9ebe; background: rgba(255, 255, 255, .025); }
.stage-console small { display: block; color: #5e7b8f; font-size: 8px; letter-spacing: .12em; }
.stage-console strong { color: #cbeefa; font-size: 11px; }
.meter { height: 34px; display: flex; align-items: flex-end; gap: 4px; }
.meter i { width: 7px; height: 30%; border-radius: 2px; background: linear-gradient(to top, #16d7b2, #40dff8); box-shadow: 0 0 8px rgba(32, 220, 224, .18); }
.meter i:nth-child(2), .meter i:nth-child(9) { height: 52%; }
.meter i:nth-child(3), .meter i:nth-child(8) { height: 78%; }
.meter i:nth-child(4), .meter i:nth-child(7) { height: 96%; }
.meter i:nth-child(5), .meter i:nth-child(6) { height: 66%; }

.trust-strip { border-bottom: 1px solid var(--line); background: #081a29; }
.trust-grid { min-height: 72px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.trust-grid span { padding: 5px 18px; border-right: 1px solid var(--line); color: #718ea2; font-size: 11px; font-weight: 900; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
.trust-grid span:last-child { border-right: 0; }

.section { padding: 104px 0; }
.section-light { background: var(--paper); color: var(--paper-text); }
.section-dark { position: relative; overflow: hidden; background: linear-gradient(155deg, #071827, #0a2132 72%, #08283b); }
.section-dark::before { content: ""; position: absolute; inset: 0; opacity: .24; background: radial-gradient(circle at 90% 10%, #145487, transparent 38%); }
.section-dark > .section-shell { position: relative; z-index: 1; }
.section-heading { margin-bottom: 46px; display: grid; grid-template-columns: 1.1fr .8fr; gap: 80px; align-items: end; }
.section-heading h2, .workflow-copy h2, .download-card h2, .contact-grid h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.13; letter-spacing: -.03em; }
.section-heading p { margin: 0; color: var(--paper-muted); }
.heading-on-dark p { color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  position: relative;
  min-height: 250px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 46px rgba(31, 67, 88, .07);
}
.feature-card-wide { grid-column: span 2; color: var(--text); background: linear-gradient(135deg, #0a2538, #0b3447); border-color: #174d64; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #e5f8fc; color: #057f9c; font-size: 12px; font-weight: 1000; letter-spacing: -.02em; }
.feature-card-wide .feature-icon { background: rgba(51, 211, 241, .12); color: var(--cyan-bright); }
.feature-number { position: absolute; right: 25px; top: 25px; color: #c2d3dc; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.feature-card-wide .feature-number { color: #446b7c; }
.feature-card h3 { margin: 26px 0 9px; font-size: 22px; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--paper-muted); font-size: 14px; }
.feature-card-wide p { max-width: 560px; color: #9db4c3; }
.wave { position: absolute; right: 24px; bottom: 26px; height: 54px; display: flex; align-items: center; gap: 5px; opacity: .5; }
.wave i { width: 5px; height: 34%; border-radius: 3px; background: var(--cyan); }
.wave i:nth-child(2n) { height: 70%; }
.wave i:nth-child(3n) { height: 100%; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .035); }
.plan-card.plan-featured { border-color: rgba(54, 221, 244, .54); background: linear-gradient(155deg, rgba(18, 95, 125, .48), rgba(13, 41, 58, .62)); box-shadow: 0 25px 74px rgba(0, 13, 24, .3); }
.popular { position: absolute; right: 20px; top: -13px; padding: 6px 11px; border-radius: 99px; background: var(--cyan); color: #03202b; font-size: 10px; font-weight: 1000; letter-spacing: .08em; }
.plan-name span { color: #6f8ea2; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.plan-name h3 { margin: 4px 0 24px; font-size: 34px; }
.plan-price { min-height: 81px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.plan-price strong { font-size: 25px; line-height: 1.2; color: var(--cyan-bright); }
.plan-price small { margin-top: 6px; color: #819cad; }
.plan-card ul { min-height: 180px; margin: 26px 0 24px; padding: 0; list-style: none; }
.plan-card li { position: relative; margin: 11px 0; padding-left: 25px; color: #b3c5d1; font-size: 14px; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 1000; }
.button-plan { width: 100%; border-color: rgba(123, 198, 225, .22); background: rgba(255, 255, 255, .045); color: white; }
.plan-featured .button { width: 100%; }
.plan-note { margin: 28px auto 0; max-width: 850px; color: #6f8da1; font-size: 12px; text-align: center; }

.workflow-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.workflow-copy p { color: var(--paper-muted); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--paper-line); }
.steps li:last-child { border-bottom: 0; }
.steps li > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #b9dbe7; border-radius: 50%; background: #e6f8fb; color: #0789a6; font-weight: 1000; }
.steps strong { font-size: 18px; }
.steps p { margin: 3px 0 0; color: var(--paper-muted); font-size: 14px; }

.download-section { padding: 70px 0; background: linear-gradient(115deg, #092a3d, #07364c); }
.download-card { min-height: 210px; padding: 40px 44px; display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: center; border: 1px solid rgba(79, 207, 239, .24); border-radius: 25px; background: rgba(2, 17, 27, .36); box-shadow: var(--shadow); }
.download-icon img { filter: drop-shadow(0 0 22px rgba(36, 210, 239, .28)); }
.download-card h2 { font-size: clamp(30px, 3vw, 42px); }
.download-card p { margin: 8px 0; color: #99b1c0; }
.download-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #6f93a8; font-size: 12px; }

.faq-section { padding-top: 90px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.faq-grid details { border: 1px solid var(--paper-line); border-radius: 15px; background: #fff; }
.faq-grid summary { padding: 20px 22px; cursor: pointer; font-weight: 900; }
.faq-grid p { margin: 0; padding: 0 22px 22px; color: var(--paper-muted); font-size: 14px; }

.contact-section { background: linear-gradient(150deg, #061724, #0a2738); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.contact-grid > div:first-child p { max-width: 650px; color: var(--muted); }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .035); }
.contact-card p { margin: 0 0 18px; color: #bad0dc; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.contact-card small { color: #68889d; }

footer { padding: 35px 0; border-top: 1px solid var(--line); background: #04111b; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand small { color: #668398; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #7994a7; font-size: 12px; text-decoration: none; }
footer p { margin: 0; color: #536e81; font-size: 11px; text-align: right; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 68px;
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #071b2a;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .42);
  }
  nav.is-open { display: flex; }
  nav a { padding: 11px 13px; }
  nav .nav-cta { margin-top: 6px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 78px; gap: 54px; }
  .product-stage { width: min(780px, 100%); margin: 0 auto; transform: none; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card ul { min-height: 0; }
  .workflow-shell, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .download-card { grid-template-columns: 80px 1fr; }
  .download-card > .button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
  footer p { text-align: center; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .nav-shell { width: min(100% - 24px, 1240px); }
  .brand small { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding: 65px 0 62px; }
  .hero h1 { font-size: clamp(48px, 16vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-points { flex-direction: column; }
  .product-stage { padding: 7px; border-radius: 16px; }
  .stage-topline { height: 27px; }
  .stage-console { grid-template-columns: repeat(3, 1fr); }
  .meter { display: none; }
  .now-playing { left: 15px; bottom: 14px; }
  .now-playing span { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 12px 0; }
  .trust-grid span { min-height: 38px; display: grid; place-items: center; border: 0; }
  .section { padding: 74px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }
  .wave { opacity: .2; }
  .faq-grid { grid-template-columns: 1fr; }
  .download-section { padding: 28px 0; }
  .download-card { padding: 28px; grid-template-columns: 1fr; text-align: center; }
  .download-icon { margin: 0 auto; }
  .download-meta { justify-content: center; }
  .contact-actions { flex-direction: column; }
  .contact-actions .button { width: 100%; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
