/* Pricing page — self-contained (Tailwind build does not include pricing.html / injected classes) */

body {
  margin: 0;
  padding: 0;
}

.pricing-page {
  min-height: 100vh;
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  line-height: 1.5;
}

.pricing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #001f3f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pricing-header__inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  position: relative;
}

.pricing-header__burger {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
}

.pricing-header__menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.pricing-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.pricing-logo img {
  height: 3rem;
  width: auto;
}

.pricing-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pricing-nav a {
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.pricing-nav a:hover {
  color: #ffa500;
}

.pricing-nav a.is-active {
  color: #ffa500;
}

.pricing-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 767px) {
  #header-menu.header-menu--open .pricing-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  #header-menu.header-menu--open .pricing-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #header-menu.header-menu--open .pricing-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .pricing-header__menu {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    justify-content: flex-end;
  }
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  min-height: 2.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pricing-btn--ghost {
  background: transparent;
  color: #fff;
}

.pricing-btn--ghost:hover {
  color: #ffa500;
  background: rgba(255, 255, 255, 0.08);
}

.pricing-btn--primary {
  background: #ffa500;
  color: #fff;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-btn--primary:hover {
  background: #ff8c00;
}

.pricing-main {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.pricing-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .pricing-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.pricing-hero {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.pricing-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #001f3f;
  margin: 0 0 1rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .pricing-hero h1 {
    font-size: 3rem;
  }
}

.pricing-hero__lead {
  font-size: 1.25rem;
  color: #4b5563;
  margin: 0;
}

.pricing-hero__login {
  margin-top: 1rem;
  color: #4b5563;
}

.pricing-hero__login a {
  color: #ffa500;
  font-weight: 600;
  text-decoration: none;
}

.pricing-hero__login a:hover {
  text-decoration: underline;
}

.pricing-loading {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}

.pricing-error {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 0.75rem;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.pricing-error.is-visible {
  display: block;
}

/* Center the grid as a block: fixed column widths + max-content width */
.pricing-grid-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-grid {
  display: none;
  box-sizing: border-box;
}

.pricing-grid.is-visible {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 17.75rem));
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  justify-items: stretch;
}

@media (max-width: 520px) {
  .pricing-grid.is-visible {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* Plan card — redesigned */
.plan-card {
  width: 100%;
  max-width: 17.75rem;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.125rem;
  border: 1px solid rgba(0, 31, 63, 0.1);
  box-shadow:
    0 1px 3px rgba(0, 31, 63, 0.05),
    0 10px 28px rgba(0, 31, 63, 0.09);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 12px rgba(0, 31, 63, 0.08),
    0 20px 40px rgba(0, 31, 63, 0.12);
}

.plan-card--popular {
  border-color: rgba(255, 165, 0, 0.5);
  box-shadow:
    0 1px 3px rgba(255, 165, 0, 0.12),
    0 12px 32px rgba(255, 165, 0, 0.16);
}

.plan-card--popular:hover {
  box-shadow:
    0 6px 16px rgba(255, 165, 0, 0.15),
    0 22px 44px rgba(255, 165, 0, 0.2);
}

.plan-card__topbar {
  height: 4px;
  flex-shrink: 0;
  background: linear-gradient(90deg, #001f3f 0%, #0a4d8c 100%);
}

.plan-card--popular .plan-card__topbar {
  height: 5px;
  background: linear-gradient(90deg, #ffb020 0%, #ff8c00 100%);
}

.plan-card__body {
  padding: 1.375rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.plan-card__header {
  margin-bottom: 1rem;
}

.plan-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #001f3f;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}

.plan-card__period {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0.35rem 0 0;
}

.plan-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.plan-card__pill {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.plan-card__pill--popular {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #b45309;
}

.plan-card__pill--free {
  background: #f1f5f9;
  color: #001f3f;
}

.plan-card__price-free {
  font-size: 2rem;
  font-weight: 800;
  color: #001f3f;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
  border-radius: 0.625rem;
  text-align: center;
  border: 1px solid rgba(0, 31, 63, 0.06);
}

.plan-card__price-row {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
  border-radius: 0.625rem;
  text-align: center;
  border: 1px solid rgba(0, 31, 63, 0.06);
}

.plan-card__price-amt {
  font-size: 1.75rem;
  font-weight: 800;
  color: #001f3f;
  letter-spacing: -0.03em;
}

.plan-card__price-unit {
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 500;
}

.plan-card__desc {
  font-size: 0.8125rem;
  color: #475569;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.plan-card__features {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  flex: 1;
  border-top: 1px solid #f1f5f9;
}

.plan-card__features li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: #475569;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f8fafc;
  line-height: 1.4;
}

.plan-card__features li:last-child {
  border-bottom: none;
}

.plan-card__check {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  padding: 2px;
  border-radius: 50%;
  background: rgba(255, 165, 0, 0.18);
  color: #c2410c;
  stroke: currentColor;
}

.plan-card__savings {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #15803d;
  margin-top: 0.5rem;
  text-align: center;
}

.plan-card__cta {
  display: block;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: auto;
  padding: 0.75rem 1.25rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.plan-card__cta:hover {
  transform: translateY(-1px);
}

.pricing-grid.is-visible .plan-card:last-child .plan-card__cta {
  margin-top: 14px;
}

.plan-card__cta--orange {
  background: linear-gradient(180deg, #ffb020 0%, #ffa500 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 165, 0, 0.35);
}

.plan-card__cta--orange:hover {
  background: linear-gradient(180deg, #ffa500 0%, #ff8c00 100%);
  color: #fff;
}

.plan-card__cta--navy {
  background: linear-gradient(180deg, #002952 0%, #001f3f 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.25);
}

.plan-card__cta--navy:hover {
  background: #003366;
  color: #fff;
}

.plan-card__cta--outline {
  background: #fff;
  color: #001f3f;
  border: 2px solid #001f3f;
}

.plan-card__cta--outline:hover {
  background: #f8fafc;
  color: #001f3f;
}

.pricing-faq {
  margin-top: 5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #e5e7eb;
  padding-top: 3rem;
}

.pricing-faq h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #001f3f;
  text-align: center;
  margin: 0 0 2rem;
}

.pricing-faq__item {
  margin-bottom: 1.5rem;
}

.pricing-faq__item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #001f3f;
  margin: 0 0 0.25rem;
}

.pricing-faq__item p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9375rem;
}

.pricing-bottom-cta {
  margin-top: 3.5rem;
  text-align: center;
}

.pricing-bottom-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffa500;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pricing-bottom-cta a:hover {
  background: #ff8c00;
}

/* Footer */
.pricing-footer {
  background: #001f3f;
  color: #fff;
  padding: 4rem 0 2rem;
}

.pricing-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .pricing-footer__inner {
    padding: 0 1.5rem;
  }
}

.pricing-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .pricing-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-footer__grid {
    grid-template-columns: 1fr 1fr 2fr;
  }
}

.pricing-footer__brand img {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.pricing-footer__brand p {
  color: #d1d5db;
  line-height: 1.6;
  margin: 0;
}

.pricing-footer h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffa500;
  margin: 0 0 1rem;
}

.pricing-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-footer__links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

.pricing-footer__links a:hover {
  color: #ffa500;
}

.pricing-footer__contact a {
  color: #d1d5db;
  text-decoration: none;
}

.pricing-footer__contact a:hover {
  color: #ffa500;
}

.pricing-footer__contact p {
  color: #d1d5db;
  margin: 0 0 0.5rem;
}

.pricing-footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pricing-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.pricing-footer__bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
}

.pricing-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.pricing-footer__legal a {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: none;
}

.pricing-footer__legal a:hover {
  color: #ffa500;
}
