@font-face {
  font-family: 'segoeu';
  src: url('../fonts/segoeuithis.ttf') format('opentype');
}

@font-face {
  font-family: 'segoeu bold';
  src: url('../fonts/Segoe UI Bold.woff') format('woff');
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../fonts/Segoe UI.woff') format('woff');
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI';
  width: 100%;
}

header {
  height: 11vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.promo {
  width: 100%;
  background-color: #ff8303;
  color: #ffffff;
  text-align: center;
  padding: 10px 15px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.logo {
  width: 6.5vw;
}

.hero {
  min-height: 90vh;
  background-image: url("../images/mello.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-wrap {
  margin-bottom: 20px;
}

.title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  display: inline-flex;
}

.animate span {
  display: inline-block;
  animation: wave 3s ease-in-out infinite;
}

.light {
  color: #ffffff;
  font-family: 'segoeu bold';
}

.accent span {
  color: #41b6e6;
  font-family: 'segoeu bold';
}

.compact {
  letter-spacing: -24px;
}

.summary {
  width: 750px;
  font-size: 20px !important;
}

@keyframes wave {
  0% { transform: translateY(0); }
  20% { transform: translateY(-12px); }
  40% { transform: translateY(0); }
  100% { transform: translateY(0); }
}

.animate span:nth-child(1) { animation-delay: 0s; }
.animate span:nth-child(2) { animation-delay: 0.1s; }
.animate span:nth-child(3) { animation-delay: 0.2s; }
.animate span:nth-child(4) { animation-delay: 0.3s; }
.animate span:nth-child(5) { animation-delay: 0.4s; }
.animate span:nth-child(6) { animation-delay: 0.5s; }
.animate span:nth-child(7) { animation-delay: 0.6s; }
.animate span:nth-child(8) { animation-delay: 0.7s; }
.animate span:nth-child(9) { animation-delay: 0.8s; }
.animate span:nth-child(10) { animation-delay: 0.9s; }

.tag {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 15px;
  color: #fff;
}

.label {
  font-size: 25px;
  line-height: 1.6;
  margin: 15px 0 25px;
  color: #e5e5e5;
  text-align: center;
  padding: 0 60px;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: #41b6e6;
  color: #000;
  padding: 16px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline {
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 16px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-decoration: none;
}

.benefits {
  width: 100%;
  padding: 8vh 5vw;
  background: #f9fafb;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 3vw;
  max-width: 90vw;
  margin: 0 auto;
}

.box {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  width: 30%;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.box:hover {
  transform: translateY(-0.5rem);
}

.icon-wrap {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  border-radius: 1.2rem;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap img {
  width: 2.2rem;
  height: 2.2rem;
}

footer {
  height: 7vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

footer a {
  color: #fff;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .logo { width: 25.5vw; }
  .label { font-size: 18px; padding: 0 4px; }
  .cards { flex-direction: column; }
  .box { width: 100%; }
  .compact { letter-spacing: -13px; }
}

@media (max-width: 768px) {

  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
  }

  /* Hero height fix */
  .hero {
    min-height: auto;
    padding: 60px 12px;
    background-position: center top;
  }

  /* Content padding */
  .hero-content {
    padding: 20px 10px;
  }

  /* Heading scale down */
  .title {
    font-size: 2.4rem;
    text-align: center;
    flex-wrap: wrap;
  }

  /* Reduce wave jump on mobile */
  .animate span {
    animation: none;
  }

  /* Fix negative spacing overflow */
  .compact {
    letter-spacing: -8px;
  }

  /* Paragraph width fix */
  .summary {
    width: 100%;
    max-width: 100%;
    font-size: 16px !important;
    padding: 0 6px;
  }

  /* Badge spacing */
  .tag {
    font-size: 13px;
    padding: 8px 14px;
  }

  /* Buttons stack nicely */
  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  /* Logo size */
  .logo {
    width: 32vw;
  }
}