@font-face {
  font-display: block;
  font-family: "K2D";
  font-style: normal;
  font-weight: 700;
  src: url("../font/k2d-v13-thai-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 100;
  src: url("../font/sarabun-v17-latin_thai-100.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  src: url("../font/sarabun-v17-latin_thai-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  src: url("../font/sarabun-v17-latin_thai-700.woff2") format("woff2");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sarabun", sans-serif;
}

body {
  font-family:
    "Sarabun",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #000000;
}

header {
  padding: 1rem;
  background-color: #f5f5f5;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-wrapper {
  min-height: 100vh;
  background-image: url("../img/background-mobile.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.search-container h1,
.sub-brand,
.input-help,
.hero-footer {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

h1 span.highlight {
  color: #ffd700;
  display: block;
  font-size: 1.2em;
}

.site-header {
  margin-top: 2rem;
  margin-bottom: auto;
  background-color: transparent;
  width: 100%;
}
.site-header-privacy {
  margin-top: 2rem;
  margin-bottom: auto;
  background-color: black;
  width: 100%;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header-container-privacy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-wrapper {
  padding: 0;

  display: flex;
  justify-content: center;
}
.logo-wrapper-privacy {
  padding: 0;

  display: flex;
  justify-content: center;
}

.brand {
  font-family: K2D, sans-serif;
  font-size: 1.5rem;
  color: #ffffff;

  margin-bottom: 4rem;
  letter-spacing: 0.1rem;
}
.brand-privacy {
  font-family: K2D, sans-serif;
  font-size: 1.5rem;
  color: #ffffff;

  margin-bottom: 4rem;
  letter-spacing: 0.1rem;
}
.brand-footer {
  font-family: K2D, sans-serif;
  font-size: 1rem;
  color: #ffffff;

  letter-spacing: 0.1rem;
}

.main-logo {
  width: 56px;
  height: 56px;
  display: block;
  color: #dcc900;
}

.search-main {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}
.search-container {
  position: relative;
  z-index: 1;
}

.search-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0) 70%
  );
  z-index: -1;
  filter: blur(20px);
}
.search-container h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-size: 1.5rem;
  white-space: nowrap;
  letter-spacing: -0.2px;
  margin-bottom: 0.25rem;
  width: 100%;
}

.sub-brand {
  color: #e0e0e0;
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 0.9;
}

.mobile-input-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* ช่องกรอกข้อมูล */
.modern-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 18px;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  outline: none;
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.btn-analyze-full {
  width: 100%;
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  color: #000;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 1.8rem !important;
  padding: 0 10px;
}

.hero-footer {
  width: 100%;
  padding: 15px 0;
  padding-bottom: 1rem;
  margin-top: auto;

  letter-spacing: 2px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.seo-section {
  background-color: #030810;
  padding: 60px 20px;
  font-family: "Sarabun", sans-serif;
  color: #ffffff;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  color: #ffd700;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  line-height: 1.4;
}

.main-text {
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #ffd700;
}

.feature-card h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.faq-section h2 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h4 {
  color: #ffd700;
  margin-bottom: 8px;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.7);
}

.main-footer {
  background-color: #02050a;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 20px 20px;
  font-family: "Sarabun", sans-serif;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-brand span {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-logo {
  width: 30px;
  height: 30px;
}

.footer-slogan {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
}

.link-group h4 {
  color: #ffd700;
  font-size: 1rem;
  margin-bottom: 15px;
}

.link-group ul {
  list-style: none;
  padding: 0;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.3s;
}

.link-group ul li a:hover {
  color: #ffd700;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.legal-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: 0.3s;
}

.legal-links a:hover {
  color: #ffd700;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.social-links {
  margin-top: 10px;
  color: #ffd700;
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
  }
}
