/* ============================================================
   AFFILIATE PAGE — ZEENEO
   Design system aligné sur la home Zeeneo
   Mise en page inspirée de submagic.co/affiliate
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --green: #1ED760;
  --green-dark: #17B550;
  --green-darker: #0f7d3a;
  --green-light: #DEF6E5;
  --green-bg: #dff9e9;
  --green-deeper: #0a3d1a;

  --dark: #1c1c1c;
  --grey: #707070;
  --grey-light: #b0b0b0;
  --grey-soft: #f3f4f6;
  --white: #ffffff;
  --bg: #f8f9fa;
  --bg-soft: #fafbfc;
  --border: #e5e7eb;

  --radius: 12px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);

  --transition: 0.2s ease;
}

/* ===== RESET ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) { .container { padding: 0 28px; } }

/* ============================================================
   HEADER
   ============================================================ */
.aff-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}
.aff-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.aff-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.aff-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) { .aff-nav { display: flex; } }
.aff-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.aff-nav-link:hover { color: var(--dark); background: var(--bg); }
.aff-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  border: 1.5px solid transparent;
}
.aff-btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}
.aff-btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30, 215, 96, 0.35);
}
.aff-btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 215, 96, 0.45);
}
.aff-btn--secondary {
  background: var(--white);
  color: var(--dark);
  border-color: var(--border);
}
.aff-btn--secondary:hover {
  border-color: var(--dark);
}
.aff-btn--ghost {
  color: var(--dark);
  padding: 8px 16px;
}
.aff-btn--ghost:hover { color: var(--green-dark); }

/* Burger mobile */
.aff-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.aff-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.aff-burger:hover { background: var(--bg); }
@media (min-width: 1024px) { .aff-burger { display: none; } }
@media (max-width: 1023px) {
  .aff-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    padding: 12px;
    z-index: 99;
    display: none;
  }
  .aff-nav.open { display: flex; animation: dropIn 0.2s ease; }
  .aff-nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
  }
  .aff-header-actions .aff-btn--ghost { display: none; }
}
@media (max-width: 540px) {
  .aff-header-actions .aff-btn:not(.aff-burger) { padding: 9px 14px; font-size: 13px; }
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO
   ============================================================ */
.aff-hero {
  position: relative;
  padding: 60px 0 32px;
  text-align: center;
  overflow: hidden;
}
.aff-hero-bg {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(30, 215, 96, 0.18) 0%, rgba(30, 215, 96, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.aff-hero-inner {
  position: relative;
  z-index: 1;
}
.aff-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--green-bg);
  color: var(--green-darker);
  border: 1px solid #c8edcf;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.aff-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 20px;
}
.aff-hl {
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.aff-hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 12px;
  background: rgba(30, 215, 96, 0.18);
  border-radius: 4px;
  z-index: -1;
}
.aff-hero-subtitle {
  font-size: 17px;
  color: var(--grey);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.aff-hero-subtitle strong { color: var(--dark); font-weight: 600; }
.aff-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}
.aff-hero-tag {
  display: inline-block;
  padding: 7px 18px;
  background: #ff6b35;
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
  margin-bottom: 24px;
}

/* ============================================================
   EARNINGS CALCULATOR (Hero)
   ============================================================ */
.aff-calculator {
  max-width: 720px;
  margin: 8px auto 60px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px 24px;
  box-shadow: 0 20px 50px rgba(10, 61, 26, 0.08);
  text-align: left;
}
.aff-calc-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.aff-calc-left { flex: 1; min-width: 0; }
.aff-calc-right { text-align: right; flex: 1; min-width: 0; }
.aff-calc-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--grey);
  margin-bottom: 6px;
}
.aff-calc-affiliates {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.aff-calc-affiliates span {
  color: var(--green-dark);
  font-weight: 800;
}
.aff-calc-aff-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  margin-top: 6px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.aff-calc-value {
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 800;
  color: #ff6b35;
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
}
.aff-calc-sep {
  display: inline-block;
  margin: 0 6px;
  color: var(--grey-light);
  font-weight: 600;
  transform: translateY(-2px);
}
.aff-calc-unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  margin-top: 6px;
}

.aff-calc-slider-wrap {
  position: relative;
  margin: 4px 0 14px;
  height: 44px;
}
.aff-calc-slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--green-bg);
  border-radius: 999px;
  transform: translateY(-50%);
  pointer-events: none;
}
.aff-calc-slider-fill {
  position: absolute;
  height: 100%;
  left: 0;
  width: 12.06%;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 999px;
  transition: width 0.05s linear;
}
.aff-calc-slider {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: 36px;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.aff-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  box-shadow: 0 4px 12px rgba(30, 215, 96, 0.4);
  cursor: grab;
  transition: transform 0.15s ease;
}
.aff-calc-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.aff-calc-slider:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.15); }
.aff-calc-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  box-shadow: 0 4px 12px rgba(30, 215, 96, 0.4);
  cursor: grab;
}
.aff-calc-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--grey-light);
}

.aff-calc-note {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.55;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.aff-calc-note strong { color: var(--green-dark); font-weight: 700; }

@media (max-width: 540px) {
  .aff-calculator { padding: 22px 20px 20px; border-radius: 16px; }
  .aff-calc-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .aff-calc-right { text-align: left; }
  .aff-calc-affiliates { font-size: 20px; }
  .aff-calc-value { font-size: 22px; white-space: normal; }
  .aff-calc-sep { margin: 0 4px; }
}

.aff-trust-badge {
  max-width: 720px;
  margin: -40px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  background: var(--green-bg);
  border: 1px solid rgba(30, 215, 96, 0.25);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark);
  text-align: left;
}
.aff-trust-badge svg { color: var(--green-dark); flex-shrink: 0; margin-top: 1px; }
.aff-trust-badge strong { color: var(--green-dark); font-weight: 700; }
.aff-trust-badge a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: opacity 0.15s ease; }
.aff-trust-badge a:hover { opacity: 0.75; }
.aff-trust-badge-sub { color: var(--grey); }

@media (max-width: 540px) {
  .aff-trust-badge { margin: -32px 16px 0; padding: 12px 14px; font-size: 12px; }
  .aff-trust-badge-sub { display: block; margin-top: 2px; }
}

.aff-hero-illustration {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 61, 26, 0.12);
}
.aff-hero-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .aff-hero { padding: 40px 0 24px; }
  .aff-hero-cta .aff-btn { width: 100%; }
}

/* ============================================================
   SECTIONS GÉNÉRALES
   ============================================================ */
.aff-section {
  padding: 80px 0;
}
@media (max-width: 768px) { .aff-section { padding: 56px 0; } }

.aff-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark);
  margin-bottom: 16px;
}
.aff-section-subtitle {
  font-size: 16px;
  color: var(--grey);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ============================================================
   STEPS
   ============================================================ */
.aff-steps {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.aff-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .aff-steps-grid { grid-template-columns: 1fr; gap: 20px; } }

.aff-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.aff-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.aff-step-illu {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.aff-step-illu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aff-step-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.aff-step-text {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}

/* ============================================================
   PRODUCT — "Comment fonctionne Zeeneo ?"
   (échelle réduite pour rester alignée visuellement avec le reste de la page)
   ============================================================ */
.aff-product {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(30, 215, 96, 0.06), transparent 65%),
    var(--white);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 56px;
  text-align: center;
}

/* Titres de section : même ordre de grandeur que les blocs voisins (étapes, vidéo…) */
.aff-product .aff-section-title {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 10px;
}
.aff-product .aff-section-subtitle {
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.aff-product-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  background: var(--green-bg);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.aff-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 28px auto 0;
  text-align: left;
}
@media (max-width: 960px) {
  .aff-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.aff-product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.aff-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-dark) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.aff-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 215, 96, 0.35);
  box-shadow: 0 12px 28px rgba(30, 215, 96, 0.1);
}
.aff-product-card:hover::before { opacity: 1; }

.aff-product-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(30, 215, 96, 0.28);
}

.aff-product-img {
  width: 100%;
  height: 132px;
  background: linear-gradient(135deg, #f5fcf8 0%, #e7f8ef 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aff-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px 8px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.aff-product-card:hover .aff-product-img img { transform: scale(1.03); }

.aff-product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.aff-product-text {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.58;
}
.aff-product-text strong { color: var(--green-dark); font-weight: 700; }

@media (max-width: 540px) {
  .aff-product { padding: 44px 0 48px; }
  .aff-product .aff-section-title { font-size: clamp(22px, 5vw, 28px); }
  .aff-product .aff-section-subtitle { font-size: 14px; margin-bottom: 22px; }
  .aff-product-grid { margin-top: 22px; }
  .aff-product-card { padding: 16px 14px 14px; }
  .aff-product-number { width: 30px; height: 30px; font-size: 14px; }
  .aff-product-img { height: 118px; }
  .aff-product-title { font-size: 16px; }
  .aff-product-text { font-size: 13px; }
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.aff-video-section { background: var(--white); }
.aff-video-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.aff-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 40%, rgba(30, 215, 96, 0.25), transparent 60%),
    linear-gradient(135deg, #0a3d1a 0%, #0f5c28 50%, #147a36 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aff-video-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  transition: transform var(--transition);
}
.aff-video-play:hover { transform: scale(1.06); }
.aff-video-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

/* ============================================================
   FOR WHO
   ============================================================ */
.aff-forwho { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.aff-forwho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .aff-forwho-grid { grid-template-columns: 1fr; gap: 20px; } }

.aff-persona-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.aff-persona-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.aff-persona-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg);
}
.aff-persona-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aff-persona-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.aff-persona-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.aff-persona-text {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.55;
}

/* ============================================================
   PROMOTE / VIDEO GALLERY
   ============================================================ */
.aff-promote { background: var(--white); }
.aff-promote-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.aff-promote-scroller {
  margin: 0 -20px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.aff-promote-scroller::-webkit-scrollbar { display: none; }
.aff-promote-track {
  display: flex;
  gap: 16px;
  padding: 4px 0 24px;
  min-width: min-content;
}
.aff-promote-card {
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
  cursor: pointer;
}
.aff-promote-card:hover { transform: translateY(-4px); }
.aff-promote-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.aff-promote-platform {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  z-index: 2;
}
.aff-promote-views {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  z-index: 2;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.aff-testimonials { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.aff-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 900px) { .aff-testimonial-grid { grid-template-columns: 1fr; } }

.aff-testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.aff-testimonial-quote {
  color: var(--green-light);
  margin-bottom: 12px;
}
.aff-testimonial-text {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.aff-testimonial-text strong { color: var(--green-dark); font-weight: 700; }
.aff-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.aff-testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-bg);
  flex-shrink: 0;
}
.aff-testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.aff-testimonial-role {
  font-size: 13px;
  color: var(--grey);
  margin-top: 2px;
}

/* ============================================================
   USER REVIEWS CAROUSEL
   ============================================================ */
.aff-reviews {
  background: var(--white);
  overflow: hidden;
}

.aff-reviews-carousel {
  position: relative;
  max-width: 1140px;
  margin: 48px auto 0;
  padding: 0 56px;
}
@media (max-width: 640px) {
  .aff-reviews-carousel { padding: 0 44px; margin-top: 36px; }
}

.aff-reviews-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
  min-width: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  cursor: grab;
}
.aff-reviews-track-wrap::-webkit-scrollbar { display: none; }
.aff-reviews-track-wrap.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}

.aff-reviews-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  min-height: 1px;
}

.aff-review-card {
  box-sizing: border-box;
  flex: 0 0 320px;
  width: 320px;
  max-width: none;
  scroll-snap-align: start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
@media (max-width: 980px) {
  .aff-review-card {
    flex: 0 0 280px;
    width: 280px;
  }
}
@media (max-width: 640px) {
  .aff-review-card {
    flex: 0 0 min(520px, calc(100vw - 100px));
    width: min(520px, calc(100vw - 100px));
    min-height: 0;
    padding: 18px;
  }
}

.aff-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10, 61, 26, 0.06);
  border-color: rgba(30, 215, 96, 0.3);
}

.aff-reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(10, 61, 26, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.aff-reviews-nav:hover:not(:disabled) {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(30, 215, 96, 0.35);
  transform: translateY(-50%) scale(1.05);
}
.aff-reviews-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}
.aff-reviews-nav:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}
.aff-reviews-nav--prev { left: 0; }
.aff-reviews-nav--next { right: 0; }
@media (max-width: 640px) {
  .aff-reviews-nav { width: 38px; height: 38px; }
}

.aff-reviews-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding: 0 16px;
}
.aff-reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(10, 61, 26, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}
.aff-reviews-dot:hover {
  background: rgba(30, 215, 96, 0.45);
  transform: scale(1.15);
}
.aff-reviews-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--green);
}
.aff-reviews-dot:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

.aff-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.aff-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
img.aff-review-avatar {
  object-fit: cover;
  display: block;
}
.aff-review-meta { min-width: 0; }
.aff-review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.aff-review-country {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.aff-review-text {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}
.aff-review-date {
  font-size: 12px;
  color: var(--grey-light);
  margin-top: auto;
}

/* ============================================================
   JOIN COUNTER
   ============================================================ */
.aff-join-counter { background: var(--white); }
.aff-join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .aff-join-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.aff-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .aff-avatars { justify-content: center; } }
.aff-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-left: -12px;
}
.aff-avatar:first-child { margin-left: 0; }
.aff-avatar--more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.aff-join-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.aff-join-label {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 6px;
  font-weight: 500;
}
.aff-join-amount {
  font-size: clamp(48px, 8vw, 78px);
  font-weight: 800;
  color: #ff6b35;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.aff-join-desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}
@media (max-width: 900px) {
  .aff-join-desc { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   FAQ
   ============================================================ */
.aff-faq { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.aff-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aff-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.aff-faq-item:hover { border-color: #d4d8dd; }
.aff-faq-item[open] {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(30, 215, 96, 0.08);
}
.aff-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.aff-faq-item summary::-webkit-details-marker { display: none; }
.aff-faq-icon {
  flex-shrink: 0;
  color: var(--grey);
  transition: transform 0.25s ease, color var(--transition);
}
.aff-faq-item[open] .aff-faq-icon {
  transform: rotate(180deg);
  color: var(--green);
}
.aff-faq-content {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.7;
}
.aff-faq-content strong { color: var(--dark); font-weight: 600; }
.aff-faq-content a { color: var(--green-dark); font-weight: 600; }
.aff-faq-content a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .aff-faq-item summary { padding: 16px 18px; font-size: 14.5px; }
  .aff-faq-content { padding: 0 18px 18px; font-size: 14px; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.aff-final-cta {
  padding: 60px 0 80px;
  background: var(--white);
}
.aff-final-card {
  position: relative;
  background:
    radial-gradient(ellipse at top left, rgba(30, 215, 96, 0.18), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(30, 215, 96, 0.1), transparent 60%),
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 24px;
  padding: 64px 32px 0;
  text-align: center;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.aff-final-logo {
  display: inline-flex;
  margin-bottom: 24px;
}
.aff-final-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}
.aff-final-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  line-height: 1.15;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.aff-final-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
  padding-bottom: 0;
}
.aff-final-phone {
  width: 130px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transition: transform var(--transition);
}
.aff-final-phone--1 { transform: translateY(20px) rotate(-6deg); }
.aff-final-phone--2 { transform: translateY(10px) rotate(-3deg); }
.aff-final-phone--3 { transform: translateY(0) rotate(0deg); }
.aff-final-phone--4 { transform: translateY(10px) rotate(3deg); }
.aff-final-phone--5 { transform: translateY(20px) rotate(6deg); }

@media (max-width: 768px) {
  .aff-final-card { padding: 48px 20px 0; border-radius: 18px; }
  .aff-final-phones { gap: 6px; margin-top: 40px; }
  .aff-final-phone { width: 80px; border-radius: 14px; }
}
@media (max-width: 480px) {
  .aff-final-phone--1, .aff-final-phone--5 { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #0b4420 0%, #072e14 100%);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
  }
}
.footer-brand { max-width: 280px; }
.footer-logo-link { display: inline-block; }
.footer-logo-img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  line-height: 1.5;
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
@media (max-width: 767px) { .footer-nav { gap: 32px; } }
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}
.footer-nav-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-nav-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-nav-col a:hover {
  color: var(--green);
  padding-left: 4px;
}
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 40px 0 0;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
