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

@font-face {
  font-family: "Canela";
  src: url("./src/fonts/Canela%20Family/Canela-Medium-Trial.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./src/Inter/web/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  min-height: 100vh;
  font-family: "Gilroy", "Helvetica Neue", Arial, sans-serif;
  color: #101010;
  background: #eee3e4;
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  padding: 36px 48px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  background-image: url("./src/background/Website Hero.jpeg");
  background-size: cover;
  background-position: center bottom;
  transition: filter 0.25s ease;
}
.modal-open .hero {
  filter: blur(6px);
}

.modal-open .hero::before {
  opacity: 0.9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
}

.logo img {
  display: block;
  height: 68px;
  width: auto;
  transition: filter 0.25s ease;
  animation: logo-float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
}

@keyframes logo-float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.cta {
  background: #101010;
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal {
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal h2 {
  font-family: "Canela", "Times New Roman", Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 18px;
  color: #101010;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #101010;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.modal-form.is-hidden {
  display: none;
}

.modal-confirmation {
  display: none;
  text-align: center;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
}

.modal-confirmation h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.modal-confirmation .confirm-title {
  font-family: "Canela", "Times New Roman", Georgia, serif;
}

.modal-confirmation p {
  font-size: 14px;
  color: #444;
  margin-bottom: 18px;
}

.modal-confirmation.is-visible {
  display: block;
}

.modal-form label {
  display: grid;
  gap: 8px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #2d2d2d;
}

.modal-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d6d6d6;
  font-size: 15px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.modal-form input:focus {
  outline: none;
  border-color: #101010;
  box-shadow: 0 0 0 3px rgba(16, 16, 16, 0.12);
}

.modal-submit {
  width: 100%;
  margin-top: 6px;
}

.modal-status {
  min-height: 18px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: #1b5e20;
}

.modal-status.is-error {
  color: #b71c1c;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 120px;
  text-align: center;
  padding: 0 12px;
}

.hero-content h1 {
  font-family: "Canela", "Times New Roman", Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-content p {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  color: #2d2d2d;
}

.hero-visual {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46vh;
  overflow: hidden;
}

.powered {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.powered-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2px;
  text-transform: none;
  margin-bottom: 4px;
}

.powered-copy {
  display: block;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
}

@media (max-width: 900px) {
  .hero {
    padding: 28px 24px 72px;
  }

  .hero-content {
    margin-top: 90px;
  }

  .hero-visual {
    height: 42vh;
  }
}

@media (max-width: 640px) {
  body {
    overflow: hidden;
  }

  .hero-content {
    margin-top: 64px;
  }

  .nav {
    gap: 12px;
  }

  .cta {
    padding: 12px 18px;
    font-size: 14px;
  }

  .logo {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .hero-visual {
    height: 32vh;
  }

  .powered {
    bottom: 20px;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 56px;
  }

  .modal {
    padding: 22px;
  }
}

