:root {
  --bg: #07070d;
  --bg-elevated: #0f0f18;
  --surface: #161622;
  --border: #2a2a3d;
  --text: #f4f4fc;
  --muted: #9b9bb5;
  --accent: #7c5cff;
  --accent-2: #c45cff;
  --accent-hover: #9d84ff;
  --success: #2dd4a8;
  --warn: #f5b942;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'IBM Plex Sans Thai', 'Segoe UI', system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 80% -10%, rgba(124, 92, 255, 0.22), transparent),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(196, 92, 255, 0.1), transparent);
}

a {
  color: var(--accent-hover);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 13, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(124, 92, 255, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(124, 92, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, #fff 0%, var(--accent-hover) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent-hover);
}

.hero-stat span {
  font-size: 12px;
  color: var(--muted);
}

/* Mock UI */
.mock-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mock-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 14px;
}

.mock-title {
  font-size: 13px;
  font-weight: 700;
}

.mock-sub {
  font-size: 11px;
  color: var(--muted);
}

.mock-status {
  background: linear-gradient(145deg, #1a1a28, #12121a);
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.mock-progress {
  height: 6px;
  background: var(--bg);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.mock-progress-fill {
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
}

.mock-cards {
  display: grid;
  gap: 8px;
}

.mock-card {
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  background: rgba(124, 92, 255, 0.06);
  font-size: 11px;
}

.mock-card.orange {
  border-left-color: #ff9f6b;
  background: rgba(255, 159, 107, 0.06);
}

.mock-card.cyan {
  border-left-color: #5ec8ff;
  background: rgba(94, 200, 255, 0.06);
}

/* Sections */
section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Sizes */
.sizes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.size-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}

.size-chip.hot {
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.3), 0 16px 48px rgba(124, 92, 255, 0.15);
  transform: scale(1.03);
}

.price-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  margin: 12px 0;
  color: var(--accent-hover);
}

.price-amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
}

.price-features li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.price-features li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

.pricing-single {
  max-width: 420px;
  margin: 0 auto;
}

.price-lifetime {
  text-align: center;
  position: relative;
}

.price-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.price-note {
  margin: -4px 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.price-pay {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.hero-seller {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-seller strong {
  color: var(--accent-hover);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.contact-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.contact-card strong {
  font-size: 15px;
}

.contact-card span:not(.contact-icon):not(.contact-go) {
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.contact-go {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-hover) !important;
}

.contact-icon {
  font-size: 24px;
}

.contact-line:hover {
  border-color: #06c755;
}

.contact-fb:hover {
  border-color: #1877f2;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--accent-hover);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-body {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(196, 92, 255, 0.12));
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin: 0;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

.cta-band p {
  margin: 0 0 24px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-inner strong {
  color: var(--text);
}

/* Alt section bg */
.section-alt {
  background: rgba(15, 15, 24, 0.6);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .mock-panel {
    order: -1;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
