body {
  font-family: 'Inter', sans-serif;
  background-color: #0e0f14;
  color: #f0f0f0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: top right;
  background-image: url('images/bg-candlestick.png');
  background-size: 300px auto;
}

.logo a {
  color: #fff; /* หรือสีที่คุณต้องการ เช่น #f1c40f */
  text-decoration: none;
}

.logo a:visited {
  color: #fff; /* กำหนดเหมือนกันเพื่อไม่ให้กลายเป็นสีม่วง */
}

.logo a:hover {
  color: #f1c40f; /* เปลี่ยนสีตอน hover ได้ตามต้องการ */
}


.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #0f111a;
    padding: 10px 0;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
  }
}



/* Navbar */
nav {
  background-color: #0f111a;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e1e2f;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #c0c6d1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #2ecc71;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.subheading {
  color: #7f8fa6;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 50px;
}

.btn:hover {
  background-color: #27ae60;
}


.btn-client-access {
  background-color: #f1c40f;  /* Yellow/Gold */
  color: #1f1f1f;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(241, 196, 15, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-client-access:hover {
  background-color: #d4ac0d;
  color: white;
  box-shadow: 0 6px 14px rgba(241, 196, 15, 0.6);
}


.card .btn-small {
  display: inline-block;
  max-width: 160px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  background-color: #00ffe0;
  color: #000;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.card .btn-small:hover {
  background-color: #00ccbb;
}


.section-title {
  font-size: 1.6rem;
  margin: 40px 0 20px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: #1e1e1e;
  padding: 20px;
  flex: 1 1 300px;
  min-height: 180px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-top: 0;
  color: #ffffff;
}

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

/* ปุ่มขนาดเล็ก */


/* Solutions List */
.solutions ul {
  list-style: none;
  padding: 0;
}

.solutions li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.solutions li::before {
  content: '✅';
  margin-right: 10px;
  color: #2ecc71;
}

.demo {
  margin-top: 40px;
}

/* TradingView widget */
.tradingview-widget-container {
  margin-top: 20px;
  border: 1px solid #2f3640;
  border-radius: 10px;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .card {
    flex: 1 1 100%;
  }
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 600px) {
  footer div {
    flex-direction: column;
  }
  footer a {
    display: block;
    margin: 5px 0;
  }
}

