:root {
  --primary-color: #f57f17;
  --secondary-color: #ff6d00;
  --accent-color: #7e57c2;
  --text-color: #212121;
  --light-color: #fffde7;
  --dark-color: #33291a;
  --gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Kanit', sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  backdrop-filter: blur(5px);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo svg {
  height: 38px;
  width: 38px;
  margin-right: 10px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 10px;
  transition: all 0.3s linear;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(245, 127, 23, 0.1);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 5px 15px rgba(245, 127, 23, 0.4);
  transform: translateY(-2px);
}

/* Hero section */
.hero {
  padding: 80px 0;
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 100%;
  height: 20%;
  background-color: var(--light-color);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Features section */
.features {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color);
  opacity: 0.7;
}

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

.feature-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 4px;
  background: var(--gradient);
  border-radius: 0 0 0 10px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, rgba(245, 127, 23, 0.1), rgba(255, 109, 0, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* How it works section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--light-color);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  counter-reset: step;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  margin: 20px;
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 1;
}

.step-content {
  background-color: white;
  border-radius: 15px;
  padding: 35px 20px 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* FAQ section */
.faq {
  padding: 80px 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  background-color: white;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: rgba(245, 127, 23, 0.05);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: rgba(245, 127, 23, 0.1);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo svg {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    clip-path: circle(0% at top right);
    transition: clip-path 0.5s ease;
    padding: 20px 0;
  }
  
  .nav-menu.active {
    clip-path: circle(150% at top right);
  }
  
  .hero {
    padding: 60px 0;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-card {
    text-align: center;
  }
  
  .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    margin-bottom: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
}
