:root {
  color-scheme: dark;
  --bg: #0b0f1c;
  --bg-soft: #13192b;
  --surface: rgba(21, 27, 43, 0.8);
  --glass: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --muted: #a9b3c9;
  --primary: #b992e0;
  --primary-2: #83dbea;
  --accent: #f4e99a;
  --accent-2: #bee8b1;
  --shadow: 0 30px 80px rgba(6, 8, 17, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans Thai", "Open Sans", sans-serif;
  background: radial-gradient(circle at top, #1c2440, #0b0f1c 55%, #080a14);
  color: var(--text);
  min-height: 100vh;
}

.page {
  padding: 0 0 60px;
}

.hero-wrap {
  position: relative;
  padding: 40px 80px 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  position: absolute;
  left: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.35));
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  border: 1px solid rgba(227, 231, 238, 0.25);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  background-color: rgba(247, 248, 251, 0.15);
  color: #111827;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background-color: rgba(242, 251, 255, 0.15);
  color: #0b1220;
  border-color: rgba(131, 219, 234, 0.25);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

.btn-outline {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(3px);
}

.btn-outline:hover {
  background-color: rgba(244, 246, 250, 0.25);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.12);
  color: #0b1220;
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-glow {
  background-color: rgba(246, 255, 251, 0.15);
  color: #0b1220;
  border-color: rgba(190, 232, 177, 0.25);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-mini {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0b1220;
  padding: 8px 16px;
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  margin-bottom: 90px;
  min-height: 560px;
  padding: 56px 48px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 15, 28, 0.7), rgba(11, 15, 28, 0.4));
  z-index: 1;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.page-content {
  padding: 70px 80px;
  background: #ffffff;
  color: var(--text);
  --text: #0b1220;
  --muted: #5b667a;
  --bg-soft: #f5f6f9;
  --surface: #ffffff;
  --glass: rgba(11, 15, 28, 0.06);
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Reckless Neue", "Playfair Display", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary-2);
  display: block;
  margin-top: 10px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-metrics {
  display: flex;
  gap: 32px;
}

.hero-metrics h3 {
  font-size: 24px;
}

.hero-metrics p {
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.glass-panel {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.panel-header h4 {
  font-size: 18px;
}

.panel-header p {
  color: var(--muted);
  font-size: 13px;
}

.status {
  background: rgba(94, 234, 212, 0.2);
  color: var(--primary-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.panel-body {
  margin-bottom: 20px;
}

.wave {
  height: 90px;
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.1), rgba(139, 92, 246, 0.4));
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.3), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.2), transparent 55%);
  mix-blend-mode: screen;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.session-grid p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.panel-actions {
  display: flex;
  justify-content: space-between;
}

.floating-pill {
  align-self: flex-end;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 25px rgba(8, 10, 20, 0.5);
}

.floating-pill p {
  color: var(--muted);
  font-size: 12px;
}

.features,
.packages {
  margin-bottom: 80px;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading p {
  color: var(--muted);
  margin-top: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.package-card {
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(245, 246, 249, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(12px);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.service-subtitle {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.package-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.view-all {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
}

.btn-more-info {
  background-color: transparent;
  color: #5b667a;
  font-size: 13px;
  font-weight: 500;
  padding: 14px 22px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 25px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  border-radius: 999px;
  box-shadow: none;
}

.btn-more-info::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #666;
  border-radius: 999px;
  width: 56px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-more-info .arrow {
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-more-info .arrow img {
  width: 16px;
  height: 16px;
}

.btn-more-info:hover::before {
  left: 0;
  width: 100%;
}

.btn-more-info:hover {
  color: #5b667a;
  box-shadow: none;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.review-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--stroke);
}

.review-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.site-footer {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 56px 32px;
  background: #ffffff;
  color: #0b1220;
  flex-direction: column;
}

.footer-grid {
  display: grid;
  grid-template-columns: 200px repeat(4, minmax(140px, 1fr)) minmax(220px, 1.4fr);
  gap: 70px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #5b667a;
}

.footer-title {
  font-size: 12px;
  font-weight: 600;
  color: #0b1220;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #0b1220;
  text-decoration: none;
  font-weight: 600;
}

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

.footer-contact a,
.footer-note a {
  font-weight: 600;
  color: #0b1220;
}

.footer-note {
  grid-column: 2 / -1;
  font-size: 12px;
  color: #5b667a;
  line-height: 1.6;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  margin-top: 28px;
  padding-top: 16px;
  font-size: 12px;
  color: #5b667a;
}

@media (max-width: 900px) {
  .hero-wrap {
    padding: 24px 20px 48px;
    min-height: 100vh;
  }

  .hero-video iframe {
    transform: translate(-50%, -50%) scale(4.8);
  }

  .page-content {
    padding: 50px 20px;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
  }

  .brand {
    position: static;
    margin-bottom: 8px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    justify-content: center;
    width: 100%;
  }

  .btn {
    font-size: 13px;
    padding: 10px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    min-height: 450px;
    margin-bottom: 40px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-metrics > div {
    flex: 1 1 calc(50% - 12px);
    min-width: 120px;
  }

  .features,
  .packages {
    margin-bottom: 50px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .package-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .package-card {
    padding: 24px 20px;
  }

  .btn-more-info {
    font-size: 12px;
    padding: 12px 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px 24px;
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-col {
    gap: 10px;
  }

  .footer-contact p,
  .footer-note p {
    font-size: 12px;
  }

  .footer-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 14px;
  }
}
