/* Variable font: axes wdth (width) and wght (weight) */
@font-face {
  font-family: 'Zalando Sans';
  src: url('assets/fonts/ZalandoSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

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

body {
  background: #010113;
  color: #fff;
  font-family: 'Zalando Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 160px;
  overflow: hidden;
}

.hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-size: 80px;
  font-weight: 600;
  font-stretch: semi-expanded;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero-subtext {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.24px;
  max-width: 600px;
}

/* ---- Email Form (shared) ---- */
.email-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 561px;
  max-width: 90vw;
  position: relative;
  z-index: 2;
}

.email-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 88px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 64px;
  padding: 2px 2px 2px 32px;
}

.email-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Zalando Sans', sans-serif;
  font-size: 32px;
  color: #000;
  line-height: 1;
}

.email-form input::placeholder {
  color: #000;
  opacity: 1;
}

.email-form button {
  flex-shrink: 0;
  height: 84px;
  width: 149px;
  background: #e0ff00;
  border: none;
  border-radius: 56px;
  font-family: 'Zalando Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  font-stretch: semi-expanded;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  line-height: 20px;
  transition: background 0.2s ease;
}

.email-form button:hover {
  background: #d4f000;
}

.email-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-label {
  font-size: 18px;
  font-weight: 400;
  font-stretch: semi-expanded;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.25;
}

.form-message.success {
  color: #b9ff00;
}

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

/* ---- Hero Image Area ---- */
.hero-image-area {
  position: relative;
  width: 100%;
  margin-top: 64px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-stripe {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 2211px;
  height: 1407px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.hero-stripe-bar {
  width: 225px;
  height: 2423px;
  background: #b9ff00;
  transform: rotate(60deg);
}

.hero-hand {
  display: block;
  width: 889px;
  max-width: 90vw;
  margin: 116px auto 0;
  position: relative;
  z-index: 1;
}

.hero-phone {
  position: absolute;
  width: 345px;
  height: 737px;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 48px;
  overflow: hidden;
  z-index: 2;
  background: #d9d9d9;
}

.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- How It Works ---- */
.how-it-works {
  width: 100%;
  padding: 208px 0 120px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto 80px;
}

.section-label {
  font-size: 24px;
  font-weight: 600;
  font-stretch: semi-expanded;
  color: #e0ff00;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title {
  font-size: 64px;
  font-weight: 600;
  font-stretch: semi-expanded;
  line-height: 1;
}

/* Feature rows */
.feature {
  display: flex;
  max-width: 1092px;
  margin: 0 auto;
  gap: 0;
  margin-bottom: 0;
}

.feature + .feature {
  margin-top: 0;
}

.feature-image {
  width: 546px;
  height: 708px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
}

.feature-image img {
  position: absolute;
  width: 329px;
  height: auto;
  top: 72px;
  left: 108px;
}

.feature-info {
  width: 546px;
  height: 708px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-left: 64px;
}

.feature-info-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 418px;
}

.feature-info h3 {
  font-size: 56px;
  font-weight: 600;
  font-stretch: semi-expanded;
  line-height: 1;
}

.feature-info p {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.24px;
}

/* Feature layout variants */
.feature--focus .feature-image {
  border-radius: 48px 48px 0 48px;
}

.feature--rate .feature-image {
  border-radius: 0 48px 48px 0;
  order: 2;
}
.feature--rate .feature-info {
  order: 1;
  padding-left: 64px;
}

.feature--review .feature-image {
  border-radius: 48px 0 48px 48px;
}
.feature--review .feature-image img {
  width: 393px;
  height: auto;
}

/* ---- Who Section ---- */
.who-section {
  width: 100%;
  padding: 208px 0 120px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.audience-grid {
  display: flex;
  gap: 12px;
  margin-top: 80px;
  /* Align first card with feature rows: 174px from the 1440 content edge */
  padding-left: max(20px, calc(50vw - 546px));
}

.audience-card {
  width: 448px;
  height: 706px;
  background: rgba(217, 217, 217, 0.05);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.audience-card img {
  width: 448px;
  height: 448px;
  object-fit: cover;
}

.audience-desc {
  position: absolute;
  top: 482px;
  left: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audience-desc h3 {
  font-size: 40px;
  font-weight: 600;
  font-stretch: semi-expanded;
  line-height: 1;
}

.audience-desc p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.2px;
}

/* ---- Bottom CTA ---- */
.bottom-cta {
  width: 100%;
  padding: 208px 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-cta .section-header {
  margin-bottom: 48px;
}

.bottom-cta .cta-subtext {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.24px;
  text-align: center;
  max-width: 746px;
  margin-bottom: 64px;
}

/* ---- Responsive ---- */

/* Tablet / small laptop */
@media (max-width: 1200px) {
  .feature {
    flex-direction: column;
    align-items: center;
    max-width: 546px;
    margin-bottom: 48px;
  }

  /* Always show image on top, text below */
  .feature--rate .feature-image { order: -1; }
  .feature--rate .feature-info { order: 0; }

  /* Fully round all feature image corners in single-col */
  .feature-image,
  .feature--focus .feature-image,
  .feature--rate .feature-image,
  .feature--review .feature-image {
    border-radius: 48px;
  }

  .feature-info {
    width: 100%;
    height: auto;
    padding: 48px 64px;
  }

  .feature-image {
    width: 100%;
  }

  .audience-grid {
    padding-left: 40px;
  }

  .audience-card {
    width: 360px;
    height: 580px;
  }

  .audience-card img {
    width: 360px;
    height: 360px;
  }

  .audience-desc {
    top: auto;
    bottom: 0;
    padding-bottom: 32px;
  }

  .audience-desc h3 {
    font-size: 32px;
  }

  .audience-desc p {
    font-size: 16px;
  }

  .how-it-works,
  .who-section {
    padding: 120px 0 80px;
  }

  .bottom-cta {
    padding: 120px 0 120px;
  }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .hero-heading {
    font-size: 48px;
    padding: 0 20px;
  }

  .hero-subtext {
    font-size: 18px;
    padding: 0 20px;
  }

  .email-form {
    height: 64px;
  }

  .email-form input {
    font-size: 18px;
  }

  .email-form button {
    height: 60px;
    width: auto;
    padding: 0 32px;
    font-size: 16px;
    letter-spacing: 1.6px;
  }

  .section-title {
    font-size: 40px;
    padding: 0 20px;
  }

  .section-label {
    font-size: 18px;
  }

  .feature-image {
    height: 500px;
  }

  .feature-image img {
    width: 250px;
    left: 50%;
    transform: translateX(-50%);
  }

  .feature-info {
    padding: 40px 32px;
  }

  .feature-info h3 {
    font-size: 40px;
  }

  .feature-info p {
    font-size: 20px;
  }

  .audience-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .audience-card {
    width: 100%;
    max-width: 448px;
    height: auto;
  }

  .audience-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .audience-desc {
    position: relative;
    left: 0;
    right: 0;
    padding: 24px 24px 32px;
  }

  .hero-phone {
    width: 39%;
    height: auto;
    aspect-ratio: 345 / 737;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    padding-top: 80px;
  }

  .hero-heading {
    font-size: 36px;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .email-form {
    height: 56px;
  }

  .email-form input {
    font-size: 16px;
  }

  .email-form button {
    height: 52px;
    padding: 0 24px;
    font-size: 14px;
  }

  .section-title {
    font-size: 32px;
  }

  .feature-info h3 {
    font-size: 32px;
  }

  .feature-info p {
    font-size: 18px;
  }

  .how-it-works,
  .who-section {
    padding: 80px 0 60px;
  }

  .bottom-cta {
    padding: 80px 0 80px;
  }

  .bottom-cta .cta-subtext {
    font-size: 18px;
    padding: 0 20px;
  }
}
