/* Ambassador landing page styles — scoped .amb-* prefix */

.amb-page {
  --amb-navy:       #1A1A2E;
  --amb-coral:      #E94560;
  --amb-cream:      #F5E6CC;
  --amb-white:      #FFFFFF;
  --amb-text:       #1A1A2E;
  --amb-text-dim:   #5a5a7a;
  --amb-font-display: 'Playfair Display', serif;
  --amb-font-body:    'DM Sans', sans-serif;

  font-family: var(--amb-font-body);
  color: var(--amb-text);
  margin: 0;
  padding: 0;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.amb-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(233, 69, 96, 0.15);
}

.amb-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--amb-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--amb-white);
  text-decoration: none;
}

.amb-nav-links {
  display: flex;
  gap: 32px;
}

.amb-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.amb-nav-links a:hover {
  color: var(--amb-white);
}

.amb-nav-active {
  color: var(--amb-coral) !important;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.amb-hero {
  position: relative;
  background: var(--amb-navy);
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px;
}

.amb-hero-blob {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.amb-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.amb-eyebrow {
  font-family: var(--amb-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amb-coral);
  margin: 0 0 20px;
}

.amb-hero-h1 {
  font-family: var(--amb-font-display);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--amb-white);
  margin: 0 0 24px;
}

.amb-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 230, 204, 0.8);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.amb-btn {
  display: inline-block;
  background: var(--amb-coral);
  color: var(--amb-white);
  font-family: var(--amb-font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

.amb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
}

.amb-btn--full {
  width: 100%;
  text-align: center;
}

.amb-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Section common ─────────────────────────────────────────── */
.amb-section-eyebrow {
  font-family: var(--amb-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amb-coral);
  margin: 0 0 12px;
}

.amb-section-eyebrow--light {
  color: rgba(233, 69, 96, 0.85);
}

.amb-section-h2 {
  font-family: var(--amb-font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--amb-navy);
  margin: 0 0 48px;
}

.amb-section-h2--light {
  color: var(--amb-white);
}

/* ── Benefits ────────────────────────────────────────────────── */
.amb-benefits {
  background: var(--amb-cream);
  padding: 80px 24px;
  text-align: center;
}

.amb-benefits-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.amb-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.amb-benefit-card {
  background: var(--amb-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(26, 26, 46, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.amb-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.12);
}

.amb-benefit-icon {
  display: block;
  font-size: 22px;
  color: var(--amb-coral);
  margin-bottom: 14px;
}

.amb-benefit-title {
  font-family: var(--amb-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--amb-navy);
  margin: 0 0 10px;
}

.amb-benefit-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--amb-text-dim);
  margin: 0;
}

/* ── Steps ───────────────────────────────────────────────────── */
.amb-steps {
  background: var(--amb-white);
  padding: 80px 24px;
  text-align: center;
}

.amb-steps-inner {
  max-width: 900px;
  margin: 0 auto;
}

.amb-steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.amb-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 16px;
}

.amb-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--amb-coral);
  color: var(--amb-coral);
  font-family: var(--amb-font-display);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.amb-step-title {
  font-family: var(--amb-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--amb-navy);
  margin: 0 0 10px;
}

.amb-step-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--amb-text-dim);
  margin: 0;
}

.amb-step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--amb-coral) 0%, rgba(233, 69, 96, 0.25) 100%);
  margin-top: 26px;
  align-self: flex-start;
}

/* ── Join Form ───────────────────────────────────────────────── */
.amb-join {
  background: var(--amb-navy);
  padding: 80px 24px;
  text-align: center;
}

.amb-join-inner {
  max-width: 560px;
  margin: 0 auto;
}

.amb-join-sub {
  font-size: 15px;
  color: rgba(245, 230, 204, 0.7);
  margin: -32px 0 40px;
}

.amb-form-wrap {
  text-align: left;
}

.amb-form {
  background: var(--amb-white);
  border-radius: 16px;
  padding: 36px;
}

.amb-field {
  margin-bottom: 20px;
}

.amb-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--amb-navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.amb-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde0ea;
  border-radius: 8px;
  font-family: var(--amb-font-body);
  font-size: 15px;
  color: var(--amb-text);
  background: #fafafa;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.amb-field input:focus {
  border-color: var(--amb-coral);
  background: var(--amb-white);
}

.amb-required {
  color: var(--amb-coral);
}

.amb-optional {
  font-weight: 400;
  color: var(--amb-text-dim);
}

.amb-form-msg {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.amb-form-msg--error {
  background: #fff1f3;
  color: #c0133b;
  border: 1px solid #f5c6d0;
}

/* ── Success state ───────────────────────────────────────────── */
.amb-success {
  background: var(--amb-white);
  border-radius: 16px;
  padding: 48px 36px;
  text-align: center;
}

.amb-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.amb-success-title {
  font-family: var(--amb-font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--amb-navy);
  margin: 0 0 12px;
}

.amb-success-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--amb-text-dim);
  margin: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.amb-footer {
  background: var(--amb-navy);
  border-top: 1px solid rgba(233, 69, 96, 0.15);
  padding: 32px 24px;
  text-align: center;
}

.amb-footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.amb-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--amb-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--amb-white);
  text-decoration: none;
  margin-bottom: 12px;
}

.amb-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.amb-footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.amb-footer-links a:hover {
  color: var(--amb-white);
}

.amb-footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* ── Utilities ───────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .amb-nav {
    padding: 0 20px;
  }

  .amb-nav-links {
    gap: 20px;
  }

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

  .amb-hero {
    padding: 60px 20px;
    min-height: auto;
  }

  .amb-benefits {
    padding: 60px 20px;
  }

  .amb-benefits-grid {
    grid-template-columns: 1fr;
  }

  .amb-steps {
    padding: 60px 20px;
  }

  .amb-steps-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .amb-step {
    max-width: 100%;
    padding: 0;
  }

  .amb-step-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--amb-coral) 0%, rgba(233, 69, 96, 0.25) 100%);
    margin: 0 auto;
    align-self: center;
  }

  .amb-join {
    padding: 60px 20px;
  }

  .amb-form {
    padding: 24px 20px;
  }
}

/* ── Testimonials ───────────────────────────────────────────── */
.amb-testimonials {
  background: var(--amb-white);
  padding: 80px 24px;
  text-align: center;
}

.amb-testimonials-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.amb-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.amb-testimonial-card {
  background: var(--amb-white);
  border-radius: 16px;
  padding: 40px 32px 32px;
  box-shadow: 0 2px 16px rgba(26, 26, 46, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  border: 1.5px solid #f0eee8;
}

.amb-testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.12);
}

.amb-testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--amb-font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--amb-coral);
  opacity: 0.35;
}

.amb-testimonial-quote {
  font-family: var(--amb-font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--amb-navy);
  margin: 0 0 20px;
}

.amb-testimonial-author {
  font-family: var(--amb-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amb-navy);
  margin-bottom: 4px;
}

.amb-testimonial-role {
  font-family: var(--amb-font-body);
  font-size: 13px;
  color: var(--amb-text-dim);
  margin: 0;
}

/* ── Referral Flow ──────────────────────────────────────────── */
.amb-refer-flow {
  background: var(--amb-cream);
  padding: 80px 24px;
  text-align: center;
}

/* ── Refer-a-Colleague CTA ──────────────────────────────────── */
.amb-refer-cta {
  background: var(--amb-cream);
  padding: 0 24px 80px;
  text-align: center;
}

.amb-refer-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.amb-refer-cta-card {
  background: var(--amb-white);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 2px 16px rgba(26, 26, 46, 0.08);
}

.amb-refer-cta-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--amb-text-dim);
  margin: -32px 0 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.amb-refer-link-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 16px;
}

.amb-refer-link {
  flex: 2;
  padding: 14px 16px;
  border: 1.5px solid #dde0ea;
  border-radius: 8px;
  font-family: var(--amb-font-body);
  font-size: 14px;
  color: var(--amb-text-dim);
  background: #fafafa;
  outline: none;
  text-overflow: ellipsis;
  min-width: 0;
}

.amb-copy-btn {
  flex: 1;
  background: var(--amb-coral);
  color: var(--amb-white);
  font-family: var(--amb-font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
  white-space: nowrap;
  min-width: 96px;
}

.amb-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
}

.amb-copy-btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.amb-reward-hint {
  font-size: 13px;
  color: var(--amb-coral);
  margin: 16px 0 0;
}

/* ── Responsive (new sections) ─────────────────────────────── */
@media (max-width: 768px) {
  .amb-testimonials {
    padding: 60px 20px;
  }

  .amb-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .amb-refer-flow {
    padding: 60px 20px;
  }

  .amb-refer-cta {
    padding: 0 20px 60px;
  }

  .amb-refer-cta-card {
    padding: 32px 20px;
  }

  .amb-refer-link-row {
    flex-direction: column;
  }

  .amb-copy-btn {
    width: 100%;
  }
}
