/* SIRASUPA Payment — landing page */
@font-face {
  font-family: "Libre Sukhumvit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7.0.0/fonts/Libre/Libre-Sukhumvit/LibreSukhumvit-Regular.woff2")
    format("woff2");
}
@font-face {
  font-family: "Libre Sukhumvit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7.0.0/fonts/Libre/Libre-Sukhumvit/LibreSukhumvit-Medium.woff2")
    format("woff2");
}
@font-face {
  font-family: "Libre Sukhumvit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7.0.0/fonts/Libre/Libre-Sukhumvit/LibreSukhumvit-Bold.woff2")
    format("woff2");
}

:root {
  color-scheme: dark;
  --bg-deep: #03050a;
  --bg-elevated: rgba(12, 18, 32, 0.65);
  --fg: #f4f6fb;
  --fg-muted: #9aa3b8;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.14);
  --gold: #e8c872;
  --gold-soft: rgba(232, 200, 114, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --shadow-glow: 0 0 120px rgba(94, 234, 212, 0.08);
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Libre Sukhumvit", "Sukhumvit Set", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

/* Background */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 234, 212, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(232, 200, 114, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 70%, rgba(94, 234, 212, 0.05), transparent 45%),
    var(--bg-deep);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 600;
  border-radius: 0.5rem;
  z-index: 10000;
}
.skip:focus {
  left: 0.75rem;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(3, 5, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 2vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent) 0%, #7ef0de 100%);
  box-shadow: 0 4px 24px rgba(94, 234, 212, 0.25);
  border: none;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(94, 234, 212, 0.35);
  color: var(--bg-deep);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 5, 10, 0.96);
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    display: none;
    border-top: 1px solid var(--border);
  }
  .nav-menu.is-open {
    display: flex;
  }
  .nav-menu .nav-links {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-menu .nav-links a {
    padding: 0.75rem;
  }
  .nav-menu .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    align-items: center;
    gap: 1rem;
  }
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 1.5rem) calc(3rem + var(--safe-bottom));
}

/* Hero */
.hero {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(232, 200, 114, 0.25);
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--fg) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.btn-primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent) 0%, #8ae8d8 100%);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--bg-deep);
}

.btn-secondary {
  color: var(--fg);
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.06);
  color: var(--fg);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 3.5rem;
}

.trust-item {
  text-align: center;
  padding: 0.75rem;
}

.trust-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  display: block;
}

/* Sections */
.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 1rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(94, 234, 212, 0.28);
  transform: translateY(-2px);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 3.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--gold-soft), var(--accent-dim));
  border: 1px solid rgba(232, 200, 114, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(94, 234, 212, 0.22);
  background:
    radial-gradient(ellipse 80% 120% at 50% 120%, rgba(94, 234, 212, 0.12), transparent 55%),
    rgba(12, 18, 32, 0.5);
  margin-bottom: 3rem;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--fg-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin: 0 0 0.35rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-shield-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 36rem;
}

.footer-shield-row img {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

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