/* Custom Font Declarations */
@font-face {
  font-family: "AlteHaasGrotesk";
  src: url("./fonts/ALTEHAASGROTESKREGULAR.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlteHaasGrotesk";
  src: url("./fonts/ALTEHAASGROTESKBOLD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --hot-pink: #ed3895;
  --dark-blue: #04001a;
  --off-white: #fafaf9;
  --light-gray: #f1f1f0;
  --medium-gray: #9ca3af;
  --dark-gray: #374151;
  --hot-pink-light: #ed3895b6;
  --dark-blue-light: #04001ab6;
}

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

body {
  font-family: "AlteHaasGrotesk", "Inter", sans-serif;
  background-color: var(--hot-pink);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.animated-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, var(--hot-pink-light) 0%, var(--dark-blue-light) 100%), url(./images/getinlinetowork_.webp);
  background-position: 50%, 65%;
  background-size: cover;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.07);
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
}

.logo-container {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.company-logo {
  width: 70vw;
  height: auto;
  max-width: 700px;
  /*filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));*/
  display: block;
  margin: 0 auto;
}

.hero-title {
  font-family: "AlteHaasGrotesk", sans-serif;
  font-size: clamp(8.5rem, 11vw, 10rem);
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.2s both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(3.1rem, 4vw, 3.4rem);
  font-weight: 400;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-section {
  padding: 6rem 0;
  text-align: center;
}

.section-title {
  font-family: "AlteHaasGrotesk", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 2rem;
}

.section-text {
  font-family: "AlteHaasGrotesk", Arial, sans-serif;
  font-size: 1.6rem;
  color: var(--off-white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.9;
}

/* Email Capture */
.email-capture {
  padding: 4rem 0 6rem;
  background: var(--off-white);
  border-radius: 20px;
  margin: 2rem 0;
}

.capture-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.capture-title {
  font-family: "AlteHaasGrotesk", "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.capture-subtitle {
  font-size: 1.1rem;
  color: var(--dark-blue);
  margin-bottom: 3rem;
  opacity: 0.8;
}

.email-form {
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

#email {
  flex: 1;
  min-width: 300px;
  padding: 1rem 1.5rem;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  font-size: 1rem;
  font-family: "AlteHaasGrotesk", "Inter", sans-serif;
  background: white;
  color: var(--dark-blue);
  transition: all 0.3s ease;
  outline: none;
}

#email:focus {
  border-color: var(--hot-pink);
  box-shadow: 0 0 0 3px rgba(237, 56, 149, 0.1);
}

#email::placeholder {
  color: var(--medium-gray);
}

.submit-btn {
  padding: 1rem 2rem;
  background: var(--hot-pink);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-family: "AlteHaasGrotesk", "Inter", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 140px;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(237, 56, 149, 0.3);
  background: var(--hot-pink);
  filter: brightness(1.1);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-text {
  transition: opacity 0.3s ease;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading .btn-loader {
  opacity: 1;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Success/Error Messages */
.success-message,
.error-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-message.show,
.error-message.show {
  opacity: 1;
  visibility: visible;
}

.success-icon,
.error-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  font-weight: bold;
}

.success-icon {
  background: var(--hot-pink);
  color: white;
}

.error-icon {
  background: #ef4444;
  color: white;
}

.success-message h4 {
  font-family: "AlteHaasGrotesk", "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.success-message p,
.error-message p {
  color: var(--dark-blue);
  font-family: "AlteHaasGrotesk", "Inter", sans-serif;
}

/* Footer */
.footer {
  background: var(--dark-blue);
  color: var(--off-white);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.social-links {
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}

.social-link {
  display: inline-block;
  margin: 0 1rem;
  color: var(--off-white);
  text-decoration: none;
  font-family: "AlteHaasGrotesk", "Inter", sans-serif;
  font-weight: 400;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--hot-pink);
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 1rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  font-family: "AlteHaasGrotesk", "Inter", sans-serif;
}

.copyright {
  font-size: 0.8rem;
  color: var(--medium-gray);
  font-family: "AlteHaasGrotesk", "Inter", sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }

  #email {
    min-width: unset;
  }

  .company-logo {
    width: 250px;
  }

  .capture-container {
    padding: 0 1rem;
  }
}

/* Turnstile Widget */
.cf-turnstile {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

/* Mobile Hero Text Adjustments */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.8rem, 9vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: clamp(2rem, 5vw, 2.2rem);
    line-height: 1.4;
  }

  .hero-content {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .hero-title {
    font-size: clamp(3rem, 7vw, 4rem);
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: clamp(2.1rem, 4vw, 2.3rem);
  }
}
