* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8faff 0%, #e8f0fe 100%);
  padding: 0;
  min-height: 100vh;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  background: linear-gradient(135deg, #611e94, #1e3a8a);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(97,30,148,0.3);
}

nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
}

nav li {
  margin: 0 30px;
}

nav a {
  color: white;
  font-weight: 600;
  font-size: 1.1em;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
}

nav a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

h2 {
  text-align: center;
  color: #611e94;
  font-size: 2.8em;
  margin: 20px 0 15px;
  text-shadow: 0 4px 8px rgba(97,30,148,0.3);
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #611e94, #1e3a8a);
  margin: 10px auto 0;
  border-radius: 2px;
}

h3 {
  color: #611e94;
  font-size: 1.6em;
  margin-bottom: 12px;
}

p {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #611e94, transparent);
  margin: 40px auto;
  width: 80%;
  max-width: 400px;
}

abbr {
  text-decoration: none;
  cursor: help;
  background-image: linear-gradient(90deg, #611e94, #1e3a8a);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: bottom left;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

abbr:hover {
  background-size: 100% 2px;
}

#products, #forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.features {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 5px solid transparent;
  background-clip: padding-box;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #611e94, #1e3a8a, #3b82f6);
}

.features:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.features img {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 4px solid #f0f4f8;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.features:hover img {
  transform: scale(1.05);
  border-color: #611e94;
}

.features h3 {
  color: #611e94;
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: 700;
}

.features p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}

#reserve_form, #waitlist_form {
  background: linear-gradient(135deg, white 0%, #f8faff 100%);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
  max-width: 650px;
  margin: 50px auto;
  position: relative;
}

#reserve_form::before , #waitlist_form::before {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #611e94, #1e3a8a);
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1em;
  box-shadow: 0 5px 15px rgba(97,30,148,0.3);
}

#reserve_form fieldset, #waitlist_form fieldset {
  border: 3px solid #e8ecf4;
  border-radius: 16px;
  padding: 40px;
  background: white;
  position: relative;
}

#reserve_form legend, #waitlist_form legend {
  color: #611e94;
  font-size: 1.5em;
  font-weight: 800;
  padding: 0 20px;
  background: white;
}

#reserve_form label, #waitlist_form label{
  display: block;
  margin: 20px 0 8px;
  color: #444;
  font-weight: 600;
  font-size: 1em;
}

#reserve_form input, #waitlist_form input {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1.05em;
  transition: all 0.3s ease;
  background: #fafbff;
}

#reserve_form input:focus, #waitlist_form input:focus {
  outline: none;
  border-color: #611e94;
  box-shadow: 0 0 0 4px rgba(97,30,148,0.1);
  background: white;
  transform: translateY(-1px);
}

#reserve_form input[type="submit"], #waitlist_form input[type="submit"] {
  background: linear-gradient(135deg, #611e94, #1e3a8a);
  color: white;
  font-weight: 800;
  font-size: 1.15em;
  cursor: pointer;
  border: none;
  margin-top: 25px;
  padding: 18px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(97,30,148,0.4);
  transition: all 0.3s ease;
}

#reserve_form input[type="submit"]:hover, #waitlist_form input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(97,30,148,0.5);
}

/* Make inner fieldset legend smaller */
#waitlist_form fieldset fieldset legend {
  font-size: 0.85em;
  font-weight: 600;
  color: #444;
  padding: 0 10px;
}

/* Fix radio labels to stay inline */
#waitlist_form fieldset fieldset label {
  display: inline;
  margin: 0 10px 0 0;
  font-weight: 600;
  font-size: 1em;
}

/* Keep the inner fieldset tidy */
#waitlist_form fieldset fieldset {
  padding: 15px 18px;
  margin-top: 15px;
  border: 2px solid #e8ecf4;
  border-radius: 12px;
}
#waitlist_form input[type="radio"] {
  width: auto;
  margin: 0 10px 0 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

#waitlist_form input[type="radio"]:focus {
  box-shadow: none;
}

#waitlist_form input[type="radio"] + label,
#waitlist_form label + input[type="radio"] {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0 18px 0 0;
  font-size: 1em;
  font-weight: 600;
  color: #444;
}


#contact {
  background: linear-gradient(135deg, #611e94, #1e3a8a);
  color: white;
  text-align: center;
  padding: 50px 30px;
  border-radius: 20px;
  max-width: 700px;
  margin: 60px auto;
  box-shadow: 0 20px 60px rgba(97,30,148,0.3);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, white, rgba(255,255,255,0.5), white);
}

#contact p {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.95;
}

#contact ul {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

#contact li a {
  color: rgba(255,255,255,0.95);
  font-size: 1.15em;
  padding: 15px 25px;
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 600;
  text-decoration: none;
}

#contact li a:hover {
  color: white;
  background: rgba(255,255,255,0.25);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

footer {
  text-align: center;
  padding: 30px;
  color: #666;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  font-size: 0.95em;
}


@media (max-width: 768px) {
  main {
    padding: 20px 15px;
  }

  #products {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  nav li {
    margin: 0 15px;
  }

  nav a {
    font-size: 1em;
    padding: 8px 15px;
  }

  h2 {
    font-size: 2.2em;
  }

  #reserve_form, #waitlist_form {
    padding: 30px 20px;
    margin: 30px 10px;
  }

  #reserve_form fieldset, #wailtist_form fieldset {
    padding: 25px;
  }

  #contact ul {
    flex-direction: column;
    gap: 15px;
  }

  #contact li a {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.8em;
  }

  .features {
    padding: 20px;
  }
}
