/* === Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === Header === */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#header-img {
  height: 50px;
}

#nav-bar {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ff9800;
}

/* === Sections === */
section {
  padding: 100px 20px;
  min-height: 100vh;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
#hero {
  background: linear-gradient(135deg, #ff9800, #e67e22);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-btn {
  background: #fff;
  color: #ff9800;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #ff9800;
  color: #fff;
}

/* Features */
#features {
  background: #fff;
  text-align: center;
}

#features .feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.feature {
  background: #f1f1f1;
  padding: 1rem;
  border-radius: 10px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

/* Video */
#video-section {
  background: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#video {
  width: 100%;
  max-width: 560px;
  height: 315px;
  border: none;
  margin-top: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Form */
#form-section {
  background: #fff;
  text-align: center;
}

#form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

#email {
  padding: 0.7rem;
  width: 250px;
  max-width: 90%;
  border: 2px solid #333;
  border-radius: 5px;
  margin-bottom: 1rem;
}

#submit {
  background: #ff9800;
  border: none;
  padding: 0.7rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#submit:hover {
  background: #e68900;
}

#form-message {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Scroll to Top */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff9800;
  border: none;
  padding: 10px 14px;
  font-size: 1.2rem;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  transition: background 0.3s ease;
  z-index: 1000;
}

#scrollTopBtn:hover {
  background: #e68900;
}

/* === Media Queries === */
@media (max-width: 768px) {
  #nav-bar {
    flex-direction: column;
    gap: 0.5rem;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #video {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: 1.5rem;
  }

  .feature {
    max-width: 90%;
  }
}
