:root {
  --bg: #06080d;
  --bg-elevated: #0d111a;
  --bg-soft: #121723;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --gold: #d7ad62;
  --gold-bright: #f1ca7c;
  --text: #f8f4eb;
  --muted: #c9c3b9;
  --dim: #908a81;
  --line: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(215, 173, 98, 0.42);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(6, 8, 13, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-gold);
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav-links {
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding-top: 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.98) 0%, rgba(6, 8, 13, 0.84) 52%, rgba(6, 8, 13, 0.62) 100%),
    url("https://images.unsplash.com/photo-1558008258-3256797b43f3?auto=format&fit=crop&w=1800&q=80") center / cover;
  opacity: 0.92;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(6, 8, 13, 0) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.hero-subhead {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions,
.final-grid {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #f3cf83, #c48b35);
  color: #141007;
  box-shadow: 0 16px 42px rgba(215, 173, 98, 0.22);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 830px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.event-strip span {
  min-height: 88px;
  padding: 16px;
  background: rgba(10, 13, 21, 0.76);
  color: var(--muted);
  font-size: 0.93rem;
}

.event-strip strong {
  display: block;
  color: var(--gold-bright);
  font-size: 0.78rem;
}

.price-note {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: rgba(215, 173, 98, 0.1);
  color: var(--muted);
}

.price-note span,
.price-note small {
  font-size: 0.9rem;
}

.price-note strong {
  color: var(--gold-bright);
  font-size: 1.3rem;
}

.speaker-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(215, 173, 98, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
  object-position: center top;
}

.speaker-card,
.filter-box,
.soft-card,
.seat-note,
.registration-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.speaker-card {
  padding: 24px;
}

.speaker-card h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.speaker-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.card-kicker {
  margin-bottom: 4px;
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.two-col,
.split-band,
.about-grid,
.audience-grid,
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.problem-section,
.about-section,
.faq-section,
.register-section {
  background: var(--bg);
}

.copy-block {
  color: var(--muted);
  font-size: 1.05rem;
}

.copy-block p:last-child,
.section-heading p:last-child,
.final-cta p,
.form-copy p {
  margin-bottom: 0;
}

.why-section,
.audience-section,
.final-cta {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.why-grid,
.learn-grid,
.details-grid {
  display: grid;
  gap: 16px;
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-grid article,
.learn-grid article,
.details-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.why-grid article,
.learn-grid article {
  padding: 24px;
}

.why-grid span,
.learn-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--line-gold);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.82rem;
}

.why-grid p,
.learn-grid p,
.about-grid p,
.soft-card p,
.faq-list p,
.final-cta p,
.form-copy p {
  color: var(--muted);
}

.about-grid {
  align-items: center;
}

.about-media {
  overflow: hidden;
  max-width: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.about-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.learn-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill-grid span {
  padding: 10px 14px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(215, 173, 98, 0.08);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

.filter-box {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
}

.muted {
  color: var(--muted);
}

.details-section {
  background: #090c13;
}

.details-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.details-grid div {
  min-height: 132px;
  padding: 22px;
}

.details-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--dim);
  font-size: 0.85rem;
}

.details-grid strong {
  color: var(--text);
  font-size: 1.08rem;
}

.soft-opportunity {
  background: linear-gradient(180deg, #0a0d14, #080a10);
}

.soft-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 44px;
  padding: clamp(28px, 5vw, 52px);
  border-color: var(--line-gold);
  background: linear-gradient(135deg, rgba(215, 173, 98, 0.1), rgba(255, 255, 255, 0.045));
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--text);
  font-weight: 800;
}

details p {
  padding: 0 24px 22px;
}

.final-grid {
  justify-content: space-between;
  gap: 32px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-grid > div {
  max-width: 760px;
}

.form-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  align-items: start;
}

.seat-note {
  margin-top: 28px;
  padding: 20px;
  color: var(--muted);
}

.seat-note strong {
  color: var(--gold-bright);
}

.price-summary {
  display: grid;
  gap: 4px;
}

.price-summary span {
  color: var(--dim);
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.06);
}

.registration-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.registration-form span {
  font-size: 0.92rem;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(2, 4, 8, 0.64);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

.registration-form textarea {
  resize: vertical;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  outline: 2px solid rgba(241, 202, 124, 0.38);
  border-color: var(--gold-bright);
}

.full-span,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--dim);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

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

  .hero-grid,
  .two-col,
  .split-band,
  .about-grid,
  .audience-grid,
  .form-grid,
  .soft-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .speaker-panel {
    max-width: 520px;
  }

  .event-strip,
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section-pad {
    padding: 68px 0;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-actions,
  .final-grid {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .event-strip,
  .why-grid,
  .learn-grid,
  .details-grid,
  .registration-form {
    grid-template-columns: 1fr;
  }

  .event-strip span {
    min-height: auto;
  }

  .price-note {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .speaker-card,
  .filter-box {
    padding: 22px;
  }

  .details-grid div {
    min-height: 104px;
  }
}
