/* Tabby Vet landing (/vets, /tr/vets). Built on landing.css (same sections as the home page);
   this file only swaps in the clinic's violet theme and adds the dashboard screenshot, pricing
   and clinic waitlist pieces the home page doesn't have. */

.vet {
  --brand-gradient: linear-gradient(135deg, #8b5cf6, #c026d3);
  --vet-deep: #1a1130;
  --shot-shadow: 0 1px 2px rgba(9, 9, 11, 0.06), 0 24px 48px -24px rgba(46, 16, 101, 0.35);
}

.vet .hero {
  --glow-a: rgba(139, 92, 246, 0.18);
  --glow-b: rgba(192, 38, 211, 0.14);
}

.vet .cta-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  font-size: 0.95rem;
}

.vet .cta-links a {
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
}

.vet .cta-links a:hover {
  color: var(--violet);
}

/* Dashboard screenshots: the real screen, cropped, with no fake window around it. */

.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shot-shadow);
}

/* Hero: the Today screen, fading out like the home page's phones, with the owner's phone in front. */

.vet-stage {
  position: relative;
  max-width: 1080px;
  margin: 64px auto 0;
  padding: 0 24px;
  height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.vet-stage .shot {
  border-radius: 20px;
}

.vet-stage app-phone {
  position: absolute;
  right: 8px;
  top: 120px;
  width: 300px;
  zoom: 0.94;
}

/* Feature rows with a dashboard card: the whole card, captured on the dashboard's own grey,
   sitting inside the tinted panel. */

.feature-visual.screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 36px;
  overflow: hidden;
  border-radius: 40px;
  background: var(--tint, var(--violet-soft));
}

.feature-visual.screen::before {
  content: none;
}

.feature-visual.screen .shot {
  flex: none;
  border: 0;
  border-radius: 18px;
}

/* The vet's follow-up card above the same plan in the owner's app. */
.feature-visual.screen.pair {
  gap: 28px;
  max-height: 600px;
  padding-bottom: 0;
}

.feature-visual.screen.pair app-phone {
  flex: none;
  width: 300px;
  zoom: 0.94;
}

/* Phones: the frame's island, bezel and status icons are fixed sizes drawn for a 300px phone, so
   every phone here is 300px and is scaled whole with zoom when it needs to look smaller. */

.vet .gallery.four {
  gap: 16px;
}

.vet .gallery.four figure {
  width: 264px;
}

.vet .gallery.four app-phone {
  width: 300px;
  zoom: 0.8667;
}

.vet .ai-points.three {
  grid-template-columns: repeat(3, 1fr);
}

/* Privacy band: the home page's dark Plus block in the clinic's colours. */

.vet .plus {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(139, 92, 246, 0.5), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(192, 38, 211, 0.3), transparent 70%),
    var(--vet-deep);
}

.vet .plus .checks span {
  display: block;
  margin-top: 2px;
}

/* Pricing */

.founder {
  display: flex;
  justify-content: center;
  margin: -24px 0 40px;
}

.founder span {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 0.92rem;
  font-weight: 700;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

.plan h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-for {
  min-height: 3em;
  margin: 6px 0 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.plan-price {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.plan-price small {
  margin-left: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.plan-sub {
  min-height: 1.5em;
  margin: 6px 0 22px;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan .checks {
  gap: 10px;
  margin-top: 22px;
  font-size: 0.95rem;
}

.plan .checks li {
  padding-left: 30px;
}

.plan .checks li::before {
  width: 20px;
  height: 20px;
  background-size: 12px;
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.plan-featured {
  border-color: transparent;
  background: var(--vet-deep);
  color: #fff;
}

.plan-featured .plan-for,
.plan-featured .plan-sub,
.plan-featured .plan-price small,
.plan-featured .checks li {
  color: rgba(255, 255, 255, 0.72);
}

.plan-featured .checks li::before {
  background-color: var(--violet);
}

.plan-featured .plan-cta {
  border: 0;
  background: #fff;
  color: var(--ink);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.plans-note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Closing: the clinic waitlist form on the brand gradient. */

.vet .closing .waitlist-form {
  max-width: 520px;
  text-align: left;
}

.vet .closing .waitlist-form button {
  background: #fff;
  color: var(--ink);
}

.vet .closing .waitlist-form input {
  border-color: transparent;
}

.vet .closing .waitlist-error {
  color: #fff;
}

.vet .closing .fine {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.vet .closing .waitlist-done {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .vet-stage {
    height: 520px;
  }
  .vet-stage app-phone {
    width: 300px;
    zoom: 0.7;
    top: 120px;
  }
  .vet .ai-points.three {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .vet-stage {
    height: 420px;
    margin-top: 40px;
    padding: 0 16px;
  }
  .vet-stage .shot {
    width: 200%;
    max-width: none;
    border-radius: 14px;
  }
  .vet-stage app-phone {
    display: none;
  }
  .feature-visual.screen {
    padding: 16px;
    border-radius: 28px;
  }
  .feature-visual.screen .shot {
    border-radius: 12px;
  }
  .feature-visual.screen.pair {
    gap: 20px;
    max-height: 520px;
    padding-bottom: 0;
  }
  .feature-visual.screen.pair app-phone {
    width: 300px;
    zoom: 0.8667;
  }
  .vet .ai-points.three,
  .plans {
    grid-template-columns: 1fr;
  }
  .plan-for,
  .plan-sub {
    min-height: 0;
  }
}
