.page {

  overflow: scroll;
}


@media (min-width:1024px) {
h3{
  font-size: 1.9rem !important;
}
  p,
  .p,
  .price-features>li {
    font-size: 1.9rem !important;
    color: #919191;
  }
}
h3{
  font-size: 1.9rem !important;
}
p,
.p,
.price-features>li {
  font-size: 1.5rem;
  color: #919191;
  text-align: left;
}

@font-face {
  font-family: 'FontAwesome';
  src: url("../fonts/font-awesome-5-brands/fa-brands-400.eot?#iefix") format("embedded-opentype"),
    url("../fonts/font-awesome-5-brands/fa-brands-400.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #0F0F0F;
  color: #EAEAEA;
  font-family: 'Prompt', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-image: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.8) 0%, #0F0F0F 100%);

  /* --- 👇 เพิ่ม/แก้ไข ส่วนนี้ครับ --- */
  overflow-x: hidden;
  /* ป้องกันเลื่อนซ้ายขวา (เผื่อมีรูปเกิน) */
  overflow-y: auto;
  /* บังคับให้เลื่อนขึ้นลงได้ */
  height: auto;
  /* ให้ความสูงยืดตามเนื้อหา */
  min-height: 100vh;
  /* อย่างน้อยให้เต็มจอ */
}

html {
  scroll-behavior: smooth;
  /* ให้เวลากดเมนูแล้วเลื่อนนุ่มๆ */
}

h1,
h2,
h3 {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}


a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  padding-left: 0;
}

/* --- UTILITIES & COLORS --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  color: #D4AF37;
  background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.text-green {
  color: #00FF41;
}

.text-center {
  text-align: center;
}

/* --- LOGO STYLES (NEW) --- */
.nav-logo-img {
  height: 50px;
  /* ปรับความสูงโลโก้ในเมนู */
  width: auto;
  vertical-align: middle;
  border-radius: 5px;
}

.hero-logo-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin-bottom: 25px;
  border-radius: 20px;
  border: 2px solid #D4AF37;
  /* กรอบสีทอง */
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  /* แสงฟุ้งสีทอง */
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin: 10px;
}

.btn-gold {
  background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  color: #000;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.btn-green {
  background-color: transparent;
  border: 2px solid #00FF41;
  color: #00FF41;
}

.btn-green:hover {
  background-color: #00FF41;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* --- NAVIGATION --- */
nav {
  background: rgba(15, 15, 15, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  color: #EAEAEA;
  margin-left: 20px;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #D4AF37;
}

/* --- HERO SECTION --- */
.hero {
  padding: 100px 0 120px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.7) 0%, #0F0F0F 100%),
    url('https://source.unsplash.com/1600x900/?gold,technology,circuit');
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #D4AF37;
}

.hero p {
  font-size: 1.2rem;
  color: #B0B0B0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- SECTIONS --- */
.problems {
  padding: 80px 0;
  background-color: #141414;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
  color: #D4AF37;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.problem-card {
  background: #1a1a1a;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: 0.3s;
}

.problem-card:hover {
  border-color: #D4AF37;
  transform: translateY(-5px);
}

.problem-card i {
  font-size: 2.5rem;
  color: #D4AF37;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.3rem;
  color: #fff;
}

.problem-card p {
  font-size: 0.95rem;
  color: #B0B0B0;
}

.features {
  padding: 80px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid #D4AF37;
}

.feature-content {
  flex: 1;
  padding-right: 30px;
}

.feature-icon {
  font-size: 4rem;
  color: #00FF41;
  opacity: 0.8;
}

.feature-list li {
  margin-bottom: 10px;
  list-style: none;
  color: #EAEAEA;
}

.feature-list li::before {
  content: "✓";
  color: #00FF41;
  margin-right: 10px;
  font-weight: bold;
}

.pricing {
  padding: 80px 0;
  background: linear-gradient(to bottom, #0F0F0F, #1a1a1a);
  text-align: center;
}

.price-box {
  background: #1a1a1a;
  border: 2px solid #D4AF37;
  padding: 50px;
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #00FF41;
  color: #000;
  padding: 5px 15px;
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
}

.price {
  font-size: 3.5rem;
  font-family: 'Cinzel', serif;
  color: #D4AF37;
  margin: 20px 0;
}

.price-features {
  text-align: left;
  margin: 30px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 20px 0;
}

.price-features li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  list-style: none;
  color: #EAEAEA;
}

.price-features i {
  color: #00FF41;
  margin-right: 10px;
}

.download-box {
  background: #222;
  padding: 20px;
  margin: 15px 0;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #444;
  transition: 0.3s;
}

.download-box:hover {
  border-color: #00FF41;
}

footer {
  background: #050505;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #666;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-content {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .nav-links {
    display: none;
  }

  .download-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .hero-logo-img {
    max-width: 180px;
  }

  /* ลดขนาดโลโก้บนมือถือ */
}