/* Regular */
@font-face {
  font-family: 'NotoSansThaiCondensed';
  src: url('../fonts/NotoSansThai-Condensed.woff2') format('woff2'),
    url('../fonts/NotoSansThai-Condensed.woff') format('woff'),
    url('../fonts/NotoSansThai-Condensed.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: 'NotoSansThaiCondensed';
  src: url('../fonts/NotoSansThai-CondensedSemiBold.woff2') format('woff2'),
    url('../fonts/NotoSansThai-CondensedSemiBold.woff') format('woff'),
    url('../fonts/NotoSansThai-CondensedSemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-black: #000;
  --color-ink: #0b0b0b;
  --color-panel: #111;
  --color-panel-soft: #191919;
  --color-panel-open: #282828;
  --color-hero: #1a1a1a;
  --color-red: #c70000;
  --color-red-dark: #8f0000;
  --color-red-bright: #e10600;
  --color-white: #fff;
  --color-muted: #d5d5d5;
  --color-line: rgba(255, 255, 255, 0.08);
  --font-display: 'tannakone-condensed', sans-serif;
  --font-download: 'tannakone-condensed', sans-serif;
  --font-body: 'NotoSansThaiCondensed', sans-serif;
  --container-wide: 1440px;
  --container-table: 1216px;
  --container-faq: 1216px;
  --space-page-x: clamp(20px, 5vw, 80px);
  --hero-title-size: clamp(46px, 4.9vw, 78px);
  --hero-thai-size: clamp(56px, 76px, 96px);
  --section-title-size: clamp(33px, 2.4vw, 46px);
  --body-size: clamp(17px, 1.15vw, 22px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'NotoSansThaiCondensed', 'Noto Sans Thai', sans-serif;
  width: 100%;
  position: relative;
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
}

a {
  color: inherit;
}

svg {
  display: block;
}

.site-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(100% - (var(--space-page-x) * 2), var(--container-wide));
  margin-inline: auto;
}

/* Hero / Download Section */
.hero {
  min-height: 1000px;
  background: url(../images/sec-hero/bg-main.webp?v=1.46) top center / 3000px no-repeat;
}

.hero__inner {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: 140px 0;
}

.hero__content {
  width: 100%;
  padding-left: 30%;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--hero-title-size);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    1px 0 0 #111,
    0 2px 0 rgba(0, 0, 0, 0.45);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.25));
}

.hero__subtitle {
  margin: 14px 0 28px;
  font-size: var(--hero-thai-size);
  font-weight: 800;
  line-height: 1;
}

.col-btn-download {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.download-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 396px);
  min-height: 82px;
  overflow: hidden;
  color: var(--color-white);
  text-decoration: none;
  background:
    url(../images/sec-hero/bg-btn-download.webp?v=1.46) center/cover no-repeat;
  border: none;
  transform: translateZ(0);
  transition:
    filter 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.download-button::before,
.download-button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}


.download-button:hover {
  filter: brightness(1.12);
  transform: translateY(-2px) scale(1.015);
}

.download-button:focus-visible,
.accordion__trigger:focus-visible,
.hero-links a:focus-visible {
  outline: none;
}

.download-button__icon {
  width: 50px;
  flex: 0 0 50px;
}

.download-button__icon img {
  width: 100%;
  object-fit: contain;
}

.download-button__icon rect {
  fill: var(--color-white);
  stroke: var(--color-white);
}

.download-button__icon text {
  fill: var(--color-red);
  stroke: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  text-anchor: middle;
}

.download-button__copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.download-button__label {
  font-family: var(--font-download);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.download-button__meta {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 1px;
}

.hero-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--color-muted);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.hero-links span {
  width: 1px;
  height: 27px;
  background: rgba(255, 255, 255, 0.5);
}

.hero-links a {
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}

.hero-links a:hover {
  color: var(--color-white);
}

.hero__support {
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  color: var(--color-muted);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.6) 20%, rgba(0, 0, 0, 0.6) 80%, transparent);
  margin-top: 80px;
}

/* .hero__support a {
  color: var(--color-white);
} */

/* System Requirements Section */
.requirements {
  height: 1000px;
  background: url(../images/sec-spec/bg-spec.webp?v=1.46) top center / 3000px no-repeat;
  padding: 140px 0 100px;
}

.requirements__inner {
  max-width: var(--container-table);
}

.warper-big-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  overflow: hidden;
}

.warper-big-title h2 {
  font-family: "tannakone-condensed", sans-serif;
  font-size: 50px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.warper-big-title p {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .5rem;
}

.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;

  /* ซ่อน scrollbar */
  -ms-overflow-style: none;
  /* IE / Edge */
  scrollbar-width: none;
  /* Firefox */
}

.spec-table-wrap::-webkit-scrollbar {
  display: none;
  /* Chrome / Safari */
}

.spec-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0 16px;
}

.spec-table thead {
  position: relative;
  color: var(--color-white);
}

.spec-table thead tr {
  position: relative;
  height: 92px;
  background:
    url(../images/sec-spec/bg-head-spec.webp?v=1.46) left center / cover no-repeat;
}

.spec-table th,
.spec-table td {
  text-align: left;
}

.spec-table thead th {
  position: relative;
  z-index: 1;
  padding: 24px;
  font-size: 30px;
  font-weight: 500;
}

.spec-table thead th:first-child,
.spec-table tbody th {
  width: 50%;
}

.spec-table tbody tr {
  background: var(--color-panel-soft);
}

.spec-table tbody th,
.spec-table tbody td {
  padding: 24px;
  font-size: 24px;
  font-weight: 500;
  border: none;
}

.spec-table tbody th {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #a7a7a7;
}

.spec-table tbody td {
  color: var(--color-white);
}

.spec-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: #bfbfbf;
}

.spec-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.requirements__note {
  color: #d4d4d4;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

/* Q&A FAQ Section */
.faq {
  background: url(../images/sec-faq/bg-faq.webp?v=1.46) top center / 3000px no-repeat;
  padding: 140px 0 100px;
  height: fit-content;
}

.faq__inner {
  max-width: var(--container-faq);
}

.faq__title {
  width: fit-content;
  margin: 0 0 16px;
  padding: 10px 15px;
  overflow: hidden;
  color: var(--color-white);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  background: url(../images/sec-faq/bg-title.webp?v=1.46) right center / cover no-repeat;
}

.faq__title span {
  font-family: "tannakone-condensed", sans-serif;
  font-weight: 500;
  letter-spacing: 2px;
}

.accordion {
  display: grid;
  gap: 18px;
}

.accordion__item {
  position: relative;
  overflow: hidden;
  background: #0c0c0c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.accordion__item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 20px;
  background: var(--color-red);
}

.accordion__heading {
  margin: 0;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 98px;
  padding: 15px 20px 15px 40px;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.accordion__trigger>span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.accordion__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: #282828;
  overflow: hidden;
  transition:
    background-color 180ms var(--ease-out),
    transform .25s ease;
}

.accordion__icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}

.accordion__item.is-open .accordion__icon {
  background: #313131;
  transform: rotate(180deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: var(--color-panel-open);
  transition:
    max-height 280ms var(--ease-out),
    opacity 220ms var(--ease-out);
}

.accordion__item.is-open .accordion__panel {
  max-height: 280px;
  opacity: 1;
}

.accordion__panel p {
  margin: 0;
  padding: 15px 20px 15px 40px;
  color: #e5e5e5;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 1300px) {

  .text-warz-title {
    width: 100%;
  }

  .hero__content {
    padding-left: 28%;
  }

}

/* Tablet */
@media (max-width: 1199px) {
  .hero {
    min-height: 790px;
  }

  .hero__inner {
    display: grid;
    place-items: center;
    padding: 108px 0 112px;
  }

  .hero__content {
    padding-left: 25%;
  }

  .requirements {
    height: fit-content;
  }

  .faq__title {
    font-size: 40px;
  }
}

@media (max-width: 1024px) {

  .hero__inner {
    display: grid;
    padding: 100px 0 60px;
    align-items: end;
  }

  .hero__support {
    margin-top: 60px;
  }

  .hero__subtitle {
    margin: 15px 0 20px;
    font-size: 60px;
  }

  .download-button__icon {
    width: 46px;
    flex: 0 0 46px;
  }

}

@media (max-width: 992px) {
  .hero {
    min-height: 100vh;
    background: url(../images/sec-hero/bg-main-md.webp?v=1.46) top center / cover no-repeat;
  }

  .hero__inner {
    padding: 100px 0 160px;
  }

  .spec-table thead th {
    padding: 20px;
    font-size: 26px;
  }

  .spec-table tbody th,
  .spec-table tbody td {
    padding: 20px;
    font-size: 22px;
  }

  .spec-icon img {
    width: 100%;
    object-fit: contain;
  }

  .hero__content {
    padding-left: 0;
  }

  .faq__title {
    font-size: 34px;
  }

  .spec-table {
    min-width: 550px;
  }

  .hero__support {
    margin-top: 50px;
  }

  .col-btn-download {
    flex-direction: column;
  }

  .download-button__label {
    font-size: 44px;
  }

  .download-button__meta {
    font-size: 26px;
  }

  .download-button {
    width: min(100%, 464px);
    min-height: 98px;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    padding: 100px 0 110px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --space-page-x: 16px;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__inner {
    padding: 0 0 100px;
  }

  .hero__title {
    max-width: 420px;
    margin-inline: auto;
    white-space: normal;
  }

  .hero__subtitle {
    margin: 12px 0 22px;
  }

  .download-button {
    gap: 10px;
    min-height: 82px;
    padding: 8px 18px;
  }

  .download-button__icon {
    width: 50px;
    flex-basis: 50px;
  }

  .download-button__icon img {
    width: 100%;
  }

  .download-button__copy {
    min-width: 0;
  }

  .download-button__label {
    font-size: 28px;
  }

  .download-button__meta {
    font-size: 20px;
  }

  .hero-links {
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 28px;
    font-size: 20px;
  }

  .hero__support {
    font-size: 20px;
  }

  .hero-links span {
    height: 20px;
  }

  .requirements {
    padding: 100px 0;
    height: fit-content;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading__mark {
    width: 15px;
    height: 44px;
  }

  .spec-table-wrap {
    /* margin-inline: calc(var(--space-page-x) * -1); */
    /* padding-inline: var(--space-page-x); */
    scroll-behavior: smooth;
  }

  .spec-table {
    border-spacing: 0 12px;
  }

  .spec-table thead tr {
    height: 74px;
  }

  .spec-table thead th,
  .spec-table tbody th,
  .spec-table tbody td {
    padding: 20px;
  }

  .requirements__note {
    margin-top: 10px;
    font-size: 16px;
  }

  .faq {
    padding: 72px 0 86px;
  }

  .faq__title {
    width: 100%;
    min-height: fit-content;
    padding: 10px 15px;
    font-size: 26px;
  }

  .accordion {
    gap: 14px;
  }

  .accordion__item::before {
    width: 10px;
  }

  .accordion__trigger {
    min-height: 78px;
    padding: 10px 10px 10px 20px;
    gap: 10px;
    font-size: 20px;
  }

  .accordion__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .accordion__icon img {
    width: 18px;
    height: 18px;
  }

  .accordion__panel p {
    padding: 10px 10px 10px 20px;
    font-size: 18px;
  }

  .spec-table thead th {
    padding: 15px;
    font-size: 24px;
  }

  .spec-table tbody th,
  .spec-table tbody td {
    padding: 15px;
    font-size: 18px;
  }

  .warper-big-title h2 {
    font-size: 32px;
  }

  .warper-big-title p {
    font-size: 24px;
  }

  .spec-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .spec-table {
    min-width: 500px;
  }

  .hero__subtitle {
    font-size: 50px;
  }

  .hero__support {
    margin-top: 20px;
  }

  .section-title img {
    height: 40px;
  }

  .col-btn-download {
    gap: 10px;
  }
}

@media (max-width: 375px) {
  .hero__inner {
    padding: 0 0 75px;
  }

  .hero__subtitle {
    font-size: 36px;
    margin: 10px 0 14px;
  }

  .download-button__icon {
    width: 40px;
    flex-basis: 40px;
  }

  .download-button__label {
    font-size: 26px;
  }

  .download-button {
    min-height: 70px;
    padding: 10px 18px;
  }
}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}