/* Affiliate page styles - Mobile first */

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

.affiliate-page {
  font-family: Helvetica, Arial, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.affiliate-header {
  background: white;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.affiliate-logo {
  height: 28px;
  width: auto;
}

.affiliate-logo-text {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icons svg {
  width: 18px;
  height: 18px;
  stroke: #999;
  stroke-width: 1.5;
  fill: none;
}

.affiliate-main {
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 28px 20px 20px;
  text-align: center;
  width: 100%;
}

.affiliate-headline {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.affiliate-headline .highlight {
  color: var(--accent-color, #C8102E);
}

.affiliate-subheadline {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
  font-weight: 400;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.step-card {
  background: #f8f8f8;
  border: none;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-number {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--primary-color, #0050AA);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  margin-right: 8px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  display: inline;
}

.step-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-top: 6px;
}

.cta-button {
  display: block;
  background: var(--primary-color, #0050AA);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.cta-button:hover {
  background: var(--primary-dark, #003d82);
  transform: translateY(-1px);
}

.footer-bar {
  background: white;
  border-top: 1px solid #eee;
  padding: 16px 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #333;
}

.footer-copyright {
  color: #bbb;
  font-size: 11px;
}

/* Tablet and up */
@media (min-width: 600px) {
  .affiliate-header {
    padding: 14px 32px;
  }

  .affiliate-logo-text {
    font-size: 18px;
  }

  .header-icons {
    gap: 20px;
  }

  .header-icons svg {
    width: 20px;
    height: 20px;
  }

  .affiliate-main {
    padding: 40px 24px 28px;
    max-width: 700px;
  }

  .affiliate-headline {
    font-size: 36px;
  }

  .affiliate-subheadline {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .steps-container {
    flex-direction: row;
    gap: 16px;
  }

  .step-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    flex: 1;
  }

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

  .step-number {
    display: block;
    margin: 0 auto 8px;
  }

  .step-title {
    display: block;
  }

  .cta-button {
    display: inline-block;
    width: auto;
    padding: 18px 56px;
    font-size: 17px;
  }

  .footer-links {
    gap: 28px;
  }

  .footer-links a {
    font-size: 13px;
  }
}
