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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.navigation {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

.main-content {
  padding-top: 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.illustration-container {
  margin-bottom: 25px;
  margin-top: -30px;
  animation: fadeInUp 1s ease-out;
}

.pilates-illustration {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.pilates-illustration:hover {
  transform: scale(1.02);
}

.tagline {
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  margin-top: -5px;
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 700px;
  animation: fadeInUp 1s ease-out 0.2s both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.email-signup {
  width: 100%;
  max-width: 600px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.form-container {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  background-color: #1a1a1a;
  border: 1px solid #555555;
  border-radius: 50px;
  padding: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.form-container:hover {
  border-color: #777777;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.email-input {
  flex: 1;
  padding: 16px 20px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.email-input::placeholder {
  color: #888888;
}

.email-input:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.join-button {
  padding: 16px 32px;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 44px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.join-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.join-button:active {
  transform: translateY(0);
}

.form-message {
  font-size: 14px;
  margin-top: 10px;
  min-height: 20px;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  color: #4ade80;
}

.form-message.error {
  color: #f87171;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1600px;
    padding: 0 60px;
  }
  
  .logo {
    height: 70px;
  }
  
  .pilates-illustration {
    max-width: 600px;
  }
  
  .tagline {
    font-size: 22px;
    max-width: 800px;
  }
  
  .email-signup {
    max-width: 700px;
  }
  
  .email-input,
  .join-button {
    padding: 18px 24px;
    font-size: 17px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1800px;
    padding: 0 80px;
  }
  
  .logo {
    height: 80px;
  }
  
  .pilates-illustration {
    max-width: 700px;
  }
  
  .tagline {
    font-size: 24px;
    max-width: 900px;
  }
  
  .email-signup {
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
  }

  .navigation {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .main-content {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .logo {
    height: 45px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .form-container {
    flex-direction: column;
    gap: 0;
    margin: 0 20px;
    border-radius: 20px;
    padding: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

  .email-input {
    padding: 16px 20px;
    font-size: 15px;
    background-color: #1a1a1a;
    border: 1px solid #555555;
    border-radius: 25px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .join-button {
    padding: 16px 20px;
    font-size: 15px;
    border-radius: 25px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
  }

  .pilates-illustration {
    max-width: 280px;
  }

  .illustration-container {
    margin-top: -20px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header .container {
    padding: 0 16px;
    gap: 10px;
  }

  .logo {
    height: 35px;
  }

  .navigation {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 11px;
    padding: 4px 8px;
  }

  .main-content {
    padding-top: 100px;
  }

  .tagline {
    font-size: 14px;
    padding: 0 16px;
    margin-bottom: 30px;
  }

  .form-container {
    margin: 0 16px;
  }

  .email-input {
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 22px;
  }

  .join-button {
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 22px;
  }

  .pilates-illustration {
    max-width: 250px;
  }

  .illustration-container {
    margin-top: -15px;
    margin-bottom: 10px;
  }
}

html {
  scroll-behavior: smooth;
}

.email-input:focus,
.join-button:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.nav-link:focus {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 4px;
}
