* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
  background: #f6f7f6;
  color: #222;
  line-height: 1.5;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d47a1;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

#header figure {
  margin: 0;
}

#header-img {
  width: 100px;
  height: auto;
}

#header h1 {
  color: white;
  margin-left: 15px;
  font-size: 1.8rem;
}

#nav-bar {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background-color: #1565c0;
}

main {
  padding-top: 90px;
  max-width: 900px;
  margin: auto;
}

#Features {
  background: white;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  margin-top: 30px;
  margin-bottom: 50px;
  scroll-margin-top: 50px;
}

#Features h2 {
  color: #0d47a1;
  margin-bottom: 20px;
}

#Features ul {
  list-style-type: none;
  padding-left: 0;
}

#Features li {
  font-weight: bold;
  margin-top: 15px;
}

#Features p {
  margin: 5px 0 15px 20px;
  font-weight: normal;
  color: #444;
}

#How_It_Works {
  background: white;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  margin-bottom: 50px;
  text-align: center;
}

#How_It_Works h2, #How_It_Works h3 {
  color: #0d47a1;
  margin-bottom: 15px;
}

#How_It_Works p {
  margin-bottom: 30px;
  color: #333;
  font-size: 1rem;
}

#iframe, iframe, #video {
  width: 560px;
  height: 315px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#Pricing {
  background: white;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  margin-bottom: 50px;
}

#Pricing h2 {
    color: #0d47a1;
}

#Pricing table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

#Pricing th, #Pricing td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

#Pricing th {
  background-color: #0d47a1;
  color: white;
}

#Pricing tr:nth-child(even) {
  background-color: #f3f9ff;
}

form {
  max-width: 550px;
  margin: 0 auto 80px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  text-align: center;
}

form h2, form p {
  color: #0d47a1;
  margin-bottom: 12px;
}

form input[type="email"] {
  width: 80%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 2px solid #0d47a1;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

form input[type="email"]:focus {
  border-color: #1565c0;
}

form input[type="submit"] {
  background-color: #0d47a1;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
  background-color: #1565c0;
}

/* Responsive */
@media (max-width: 700px) {
  #header {
    flex-direction: column;
    align-items: center;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }

  #header h1 {
    margin: 0;
    font-size: 1.5rem;
  }

  #nav-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 0.95rem;
  }  
  
  #Features {
    margin: 60px 15px 30px;
    padding: 10px 15px 25px;
    scroll-margin-top: 50px;
  }

  #iframe, iframe, #video {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }

  #How_It_Works, #Pricing {
    scroll-margin-top: 50px;
  }

  #How_It_Works, #Pricing, form {
    margin: 30px 15px;
    padding: 25px 15px;
  }

  #Pricing table {
    font-size: 14px;
  }

  iframe {
    height: 200px !important;
  }
}

