/* Import font-face */
@font-face {
  font-family: 'Clash Display';
  font-weight: 300;
  src: url('../fonts/ClashDisplay-Light.otf') format('opentype');
}
@font-face {
  font-family: 'Clash Display';
  font-weight: 400;
  src: url('../fonts/ClashDisplay-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'Clash Display';
  font-weight: 500;
  src: url('../fonts/ClashDisplay-Semibold.otf') format('opentype');
}
@font-face {
  font-family: 'Clash Display';
  font-weight: 700;
  src: url('../fonts/ClashDisplay-Bold.otf') format('opentype');
}

:root {
  --green-primary: #03e281;
  --green-secondary: #086d55;
  --black: #142b30;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Clash Display', sans-serif;
  color: var(--black);
  background: #fff;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  text-align: center;
  /*padding: 100px 0;*/
}

.hero .logo {
  width: 200px;
  margin-bottom: 20px;
}
.title {
  font-size: 60px;
}

@media (min-width: 760px) {
  .title {
    font-size: 93px;
  }
}
.title {
  font-weight: 500;
  line-height: 1;
  text-align: left;
}

.title-line {
  display: block;
}

.text-green { color: var(--green-primary); }
.text-black { color: var(--black); }

.btn {
  display: inline-block;
  margin: 20px 10px 0;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
}

.btn-primary {
  background: var(--green-primary);
  color: #fff;
}

.btn-secondary {
  background: var(--green-secondary);
  color: #fff;
}

.btn-primary-outline {
  border: 2px solid var(--green-primary);
  color: var(--green-primary);
}

.tagline {
  text-align: center;
  margin: 60px 0;
}

.tagline h2 {
  font-size: 36px;
  font-weight: 400;
}

.hero-image {
  position: relative;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testo sopra l'immagine, spostato a destra */
.hero-caption {
  position: absolute;
  top: 50%;
  right: 5%;
  font-size: 60px;
  text-align: right;
  font-weight: 400;
  max-width: 40%;
  word-wrap: break-word;
}

/* Desktop: aumenta font */
@media (min-width: 761px) {
  .hero-caption {
    font-size: 73px;
  }
}

/* Mobile/tablet: gestisci overflow e layout */
@media (max-width: 760px) {
  .hero-caption {
    font-size: 35px;
    max-width: 90%;
    top: auto;
    bottom: 15%;
    right: 0;
    left: 54%;
    text-align: center;
  }
}



/* Features alternating layout */
.features {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin: 40px 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
}
.feature-item.reverse {
  flex-direction: row-reverse;
}
.feature-img img {
  max-width: 300px;
  width: 100%;
  height: auto;
}
.feature-content ul,
.feature-content p {
  font-size: 18px;
}

.cta {
  text-align: center;
  padding: 60px 0;
}

.input-group {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
}

.input-label {
  font-size: 16px;
  font-weight: 450;
  margin-bottom: 5px;
  color: var(--black);
  word-spacing: 2px;
}

.input-field {
  width: 80%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: 'Clash Display', sans-serif;
  border: 2px solid var(--green-primary);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  color: var(--black);
  background: #fff;
}

.input-field:focus {
  border-color: var(--green-secondary);
  box-shadow: 0 0 0 3px rgba(3, 226, 129, 0.2);
}
.input-group-row {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
}

.input-and-button {
  gap: 10px;
}

.input-and-button .input-field {
  flex: 1;
}

.input-and-button .btn {
  border: none;
  cursor: pointer;
  height: 100%;
  padding: 12px 16px;
}

@media (max-width: 600px) {
  .input-field{
    width: 100%;
  }
  .input-and-button {
    flex-direction: column;
  }
}
.beta-invitation {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f1fdf5;
  border-left: 4px solid #4CAF50;
  border-radius: 4px;
}
.beta-invitation p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}
