/* ============================================================
   FarmTab — CSA Scheduler Page Styles
   Uses the ft-* design system from farmtab-info-styles.css.
   Only CSA-specific components are defined here — all shared
   layout, typography, cards, buttons, and section styles come
   from farmtab-info-styles.css which is loaded globally.
   ============================================================ */

/* ── Anchor nav ── */
.csa-anchor-nav {
  background: var(--ft-white);
  border-bottom: 1px solid var(--ft-border);
  padding: 0.9rem 1.5rem;
  position: sticky;
  top: 72px;
  z-index: 200;
}

.csa-anchor-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.csa-anchor-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: var(--ft-radius-pill);
  border: 1px solid var(--ft-blue-tag);
  background: var(--ft-blue-tag-bg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ft-text);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: var(--ft-font-body);
}

.csa-anchor-nav a:hover {
  background: var(--ft-green-light);
  border-color: var(--ft-green);
  color: var(--ft-green-dark);
  text-decoration: none;
}

/* ── Hero screenshot ── */
.csa-hero-img-wrap {
  margin-top: 3rem;
  border-radius: var(--ft-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--ft-shadow-md);
}

.csa-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Payment screenshots pair ── */
.csa-payment-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.csa-screenshot-wrap {
  border-radius: var(--ft-radius);
  overflow: hidden;
  border: 1px solid var(--ft-border);
  box-shadow: var(--ft-shadow);
  background: var(--ft-white);
}

.csa-screenshot-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Review orders layout ── */
.csa-review-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.csa-review-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ft-radius);
  border: 1px solid var(--ft-border);
  box-shadow: var(--ft-shadow-md);
}

/* CSV badge — sits below the screenshot */
.csa-csv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  background: var(--ft-green-light);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius-pill);
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ft-green-dark);
  font-family: var(--ft-font-body);
}

.csa-csv-badge img {
  height: 24px;
  width: auto;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .csa-anchor-nav__inner {
    gap: 0.4rem;
  }

  .csa-anchor-nav a {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }

  .csa-payment-screenshots {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   Video hero (50/50 video + text, tan background)
   ============================================================ */
.csa-scheduler-page .csa-hero-video {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.csa-scheduler-page .csa-hero-video__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.csa-scheduler-page .csa-hero-video__media {
  width: 100%;
}

/* Square video, rounded corners + subtle shadow, no extra padding */
.csa-scheduler-page .csa-hero-video__player {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--ft-radius);
  box-shadow: var(--ft-shadow-md);
  background: var(--ft-white);
}

.csa-scheduler-page .csa-hero-video__title {
  margin-top: 0.85rem;
  margin-bottom: 1rem;
}

/* The shared eyebrow chip is styled for dark heroes; on this light
   tan hero, use the green-on-light treatment so it stays legible. */
.csa-scheduler-page .csa-hero-video .ft-hero__eyebrow {
  background: var(--ft-green-light);
  border-color: var(--ft-border);
  color: var(--ft-green);
}

.csa-scheduler-page .csa-hero-video__actions {
  margin-top: 1.75rem;
}

@media (max-width: 860px) {
  .csa-scheduler-page .csa-hero-video__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Media below the text on mobile reads better for a hero */
  .csa-scheduler-page .csa-hero-video__media {
    order: 2;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .csa-scheduler-page .csa-hero-video__text {
    order: 1;
    text-align: center;
  }

  .csa-scheduler-page .csa-hero-video__text .ft-hero__eyebrow {
    justify-content: center;
  }

  .csa-scheduler-page .csa-hero-video__actions {
    justify-content: center;
  }
}

/* ============================================================
   Divider between combined Orders + Payments topics
   ============================================================ */
.csa-scheduler-page .csa-combined-divider {
  max-width: 860px;
  margin: 4rem auto;
  height: 1px;
  background: var(--ft-border);
}

/* ============================================================
   Inline pricing (moved into "Everything you need")
   ============================================================ */
.csa-scheduler-page .csa-inline-pricing {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--ft-border);
}
