/* affiliate.css — premium, clean, standalone styles
   No inline CSS required anywhere.
*/

:root{
  --af-bg: #0b1020;
  --af-bg2: #0f1630;
  --af-card: rgba(255,255,255,.06);
  --af-card2: rgba(255,255,255,.08);
  --af-border: rgba(255,255,255,.12);
  --af-text: rgba(255,255,255,.92);
  --af-muted: rgba(255,255,255,.72);
  --af-faint: rgba(255,255,255,.58);
  --af-shadow: 0 18px 50px rgba(0,0,0,.35);
  --af-radius: 18px;
  --af-radius2: 26px;
  --af-max: 1100px;

  --af-primary: #6ee7ff;
  --af-primary2: #a78bfa;
  --af-cta: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
}

/* Base wrapper */
.af{
  min-height: 100vh;
  color: var(--af-text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(110,231,255,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(167,139,250,.16), transparent 55%),
    linear-gradient(180deg, var(--af-bg), var(--af-bg2));
}

.af-wrap{
  width: min(var(--af-max), calc(100% - 40px));
  margin: 0 auto;
}

.af-section{
  padding: 64px 0;
}

.af-section--alt{
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Hero */
.af-hero{
  padding: 70px 0 50px;
}

.af-hero__badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--af-muted);
  font-weight: 600;
  letter-spacing: .2px;
}

.af-hero__title{
  margin: 18px 0 10px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.af-hero__sub{
  max-width: 62ch;
  margin: 0;
  color: var(--af-muted);
  font-size: 16px;
  line-height: 1.6;
}

.af-hero__cta{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.af-hero__trust{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.af-hero__offer{
  margin-top: 12px;
  display: grid;
  gap: 6px;
}
.af-offerline{
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.5;
}
.af-offerline strong{
  color: rgba(255,255,255,.95);
}

.af-pill{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

/* Headings */
.af-h2{
  margin: 0 0 18px;
  font-size: 26px;
  letter-spacing: -0.3px;
}

.af-h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.af-p{
  margin: 0;
  color: var(--af-muted);
  line-height: 1.6;
  font-size: 14.5px;
}

.af-small{
  margin: 12px 0 0;
  color: var(--af-faint);
  font-size: 13px;
  line-height: 1.5;
}

/* Cards + grids */
.af-card{
  background: var(--af-card);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 18px;
  box-shadow: var(--af-shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.af-grid3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.af-grid2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Note */
.af-note{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--af-radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.86);
  line-height: 1.55;
}

/* Buttons */
.af-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
}

.af-btn:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.af-btn:active{ transform: translateY(0); filter: brightness(.98); }

.af-btn--primary{
  background: var(--af-cta);
  color: rgba(0,0,0,.88);
  border-color: rgba(255,255,255,.08);
}

.af-btn--ghost{
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
}

.af-btn--full{
  width: 100%;
}
#afSubmitHint { margin-top: 10px; }

/* Apply section layout */
.af-apply{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: start;
}

.af-list{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.80);
  line-height: 1.7;
  font-size: 14px;
}

.af-mini{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--af-radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.af-mini__label{
  color: rgba(255,255,255,.78);
  font-size: 13px;
  margin-bottom: 6px;
}

.af-mini__link{
  color: var(--af-primary);
  font-weight: 700;
  text-decoration: none;
}

.af-mini__link:hover{
  text-decoration: underline;
}

/* Form */
.af-form{
  background: var(--af-card2);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--af-radius2);
  padding: 18px;
  box-shadow: var(--af-shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.af-row{
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.af-label{
  font-size: 13px;
  color: rgba(255,255,255,.80);
  font-weight: 700;
}

.af-input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
  transition: border-color .12s ease, transform .12s ease, filter .12s ease;
}

.af-input:focus{
  border-color: rgba(110,231,255,.55);
  filter: brightness(1.03);
}

.af-textarea{
  resize: vertical;
  min-height: 110px;
}

.af-check{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0 12px;
  color: rgba(255,255,255,.80);
  font-size: 13px;
  line-height: 1.45;
}

.af-check input{
  margin-top: 3px;
}

/* Status messages */
.af-status--ok{ color: rgba(110,231,255,.95); }
.af-status--err{ color: rgba(255,160,160,.95); }

/* FAQ */
.af-faq{
  margin-top: 18px;
}

.af-q{
  margin: 10px 0;
  border-radius: var(--af-radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 12px 14px;
}

.af-q summary{
  cursor: pointer;
  font-weight: 800;
  color: rgba(255,255,255,.90);
}

.af-q p{
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 980px){
  .af-grid3{ grid-template-columns: 1fr; }
  .af-grid2{ grid-template-columns: 1fr; }
  .af-apply{ grid-template-columns: 1fr; }
  .af-hero{ padding-top: 56px; }
}