
/* ========================================
   Yazeed English — Affiliate Homepage
   Uses the existing style.css design tokens
======================================== */

.section-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 25px;
}

.text-accent {
  color: var(--indigo);
}

.hero {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding-block: 75px 85px;
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  letter-spacing: 0;
}

.hero-eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  max-width: 580px;
  margin: 22px 0 17px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -1px;
}

.hero-description {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
}

.hero-cta {
  gap: 10px;
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 12px;
  font-size: 15px;
}

.hero-cta svg,
.hero-secondary svg {
  width: 18px;
  height: 18px;
}

.hero-secondary {
  gap: 8px;
  min-height: 50px;
  padding: 12px 17px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-note svg {
  width: 17px;
  height: 17px;
  color: var(--success);
  flex-shrink: 0;
}

/* Commission visual */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 370px;
  isolation: isolate;
}

.visual-glow {
  position: absolute;
  z-index: -1;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(0, 104, 155, 0.09);
  filter: blur(35px);
}

.commission-card {
  width: min(100%, 390px);
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.commission-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.commission-icon,
.benefit-icon,
.feature-icon,
.step-icon,
.cta-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--indigo);
  background: rgba(0, 104, 155, 0.10);
}

.commission-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
}

.commission-icon svg {
  width: 22px;
  height: 22px;
}

.commission-label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.commission-number {
  margin-block: 13px 17px;
  color: var(--indigo);
  font-size: clamp(54px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -2px;
}

.commission-divider {
  height: 1px;
  margin-bottom: 19px;
  background: var(--line);
}

.commission-benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-block: 9px;
}

.benefit-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
}

.benefit-icon svg {
  width: 19px;
  height: 19px;
}

.commission-benefit > div {
  min-width: 0;
  flex: 1;
}

.commission-benefit strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.commission-benefit p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.benefit-check {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--success);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
}

.floating-badge svg {
  width: 17px;
  height: 17px;
  color: var(--indigo);
}

.badge-top {
  top: 20px;
  right: -5px;
}

.badge-bottom {
  bottom: 20px;
  left: -8px;
}

/* Section headings */

.section-heading {
  max-width: 650px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.final-cta h2 {
  margin: 12px 0;
  font-size: clamp(27px, 3.5vw, 37px);
  font-weight: 900;
  line-height: 1.5;
}

.section-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

/* Benefits */

.benefits-section {
  padding-block: 45px 100px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.benefit-card h3,
.step-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 900;
}

.benefit-card p,
.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

/* How it works */

.steps-section {
  padding-block: 80px 90px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 48%, var(--paper));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  position: relative;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 21px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  opacity: 0.7;
  direction: ltr;
}

.step-icon {
  width: 47px;
  height: 47px;
  margin-bottom: 21px;
  border-radius: 14px;
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

/* Final call to action */

.final-cta-section {
  padding-block: 85px;
}

.final-cta {
  padding: clamp(28px, 5vw, 55px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 17px;
}

.cta-icon svg {
  width: 26px;
  height: 26px;
}

.final-cta h2 {
  margin-block: 12px;
}

.final-cta > p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.final-cta .primary-btn {
  display: inline-flex;
}

/* Footer */

.site-footer {
  padding-top: 0;
}

.site-footer .footer-links a {
  line-height: 1.8;
}

/* Reveal animations */

.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 25px;
    padding-block: 60px 70px;
  }

  .hero h1 {
    font-size: clamp(35px, 5vw, 47px);
  }

  .hero-description {
    font-size: 15px;
  }

  .commission-card {
    padding: 21px;
  }

  .badge-top {
    right: 0;
  }

  .badge-bottom {
    left: 0;
  }
}

@media (max-width: 700px) {
  .section-wrap {
    padding-inline: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 53px 65px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero h1 {
    margin-top: 19px;
    font-size: clamp(35px, 8vw, 46px);
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    justify-content: center;
  }

  .hero-visual {
    min-height: 350px;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  .benefits-section {
    padding-block: 30px 70px;
  }

  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .benefit-card,
  .step-card {
    padding: 23px;
  }

  .steps-section {
    padding-block: 65px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .final-cta-section {
    padding-block: 60px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    width: 100%;
  }

  .commission-card {
    padding: 19px;
  }

  .badge-top {
    top: 4px;
  }

  .badge-bottom {
    bottom: 4px;
  }

  .floating-badge {
    padding: 9px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal,
  .js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .benefit-card {
    transition: none;
  }

  .benefit-card:hover {
    transform: none;
  }
}
