/* === Pricing pages styles === */

/* ---- Nav (public) ---- */
.pricing-nav {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.pricing-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pricing-logo {
  text-decoration: none;
}
.pricing-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pricing-nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.pricing-nav-link:hover,
.pricing-nav-link.active { color: #f1f5f9; }
.pricing-nav-link.active { background: #1e293b; }

.btn-outline-sm {
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.btn-outline-sm:hover { color: #f1f5f9; border-color: #94a3b8; }

.btn-primary-sm {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  border: none;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.btn-primary-sm:hover { opacity: 0.85; }

/* ---- Hero ---- */
.pricing-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #0f172a 0%, #0f172a 60%, transparent 100%);
}
.pricing-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.pricing-container--narrow {
  max-width: 720px;
}
.pricing-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 9999px;
}
.pricing-path-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 9999px;
}
.pricing-section--gold .pricing-path-eyebrow {
  color: #B8922E;
  background: rgba(184,146,46,0.12);
  border: 1px solid rgba(184,146,46,0.3);
}
.pricing-hero-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.pricing-hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Sections ---- */
.pricing-section {
  padding: 4rem 2rem;
}
.pricing-section--alt {
  background: #0d1117;
}
.pricing-section--gold {
  background-color: #FFF8E7;
  background-image: linear-gradient(180deg, #FFF8E7 0%, #F5E6B0 100%);
  border-top: 1px solid #E8D090;
  border-bottom: 1px solid #E8D090;
}
.pricing-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.pricing-section-title--navy {
  color: #1B2A4A;
}
.pricing-section-sub {
  font-size: 0.95rem;
  color: #94a3b8;
}
.pricing-section-sub--dark {
  color: #4A5568;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #FFF8E7;
  border: 1px solid #D4AA50;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: #B8922E;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.18);
}
.service-card--highlight {
  border-color: #1B2A4A;
  background: linear-gradient(135deg, #FFF8E7, #F5E6B0);
}
.service-card--highlight:hover {
  border-color: #1B2A4A;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.28);
}
.service-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #1B2A4A;
  color: #C9A84C;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.service-header { margin-bottom: 1rem; }
.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.service-tagline {
  font-size: 0.8rem;
  color: #4A5568;
  font-style: italic;
}
.service-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.service-price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1B2A4A;
}
.service-price-note {
  font-size: 0.8rem;
  color: #6B7280;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: #374151;
  min-width: 0;
}
.feature-check { flex-shrink: 0; margin-top: 0.1rem; }
.service-footer { margin-top: auto; }
.btn-service {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #1B2A4A;
  color: #C9A84C;
  border: 2px solid #1B2A4A;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  cursor: pointer;
  font-family: inherit;
  min-height: 44px;
  box-sizing: border-box;
}
.btn-service:hover {
  background: #2D3F5E;
  border-color: #2D3F5E;
  color: #E8C870;
  transform: translateY(-1px);
}
.services-note {
  text-align: center;
  font-size: 0.825rem;
  color: #6B7280;
  margin-top: 2rem;
}
.services-note a { color: #1B2A4A; text-decoration: none; font-weight: 600; }
.services-note a:hover { text-decoration: underline; }

/* ---- Add-to-cart buttons (in-app) ---- */
.btn-add-cart {
  width: 100%;
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,0.3);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  text-align: center;
}
.btn-add-cart:hover {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.6);
  transform: translateY(-1px);
}
.btn-add-cart--highlight {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
  color: #a5b4fc;
}
.btn-add-cart--highlight:hover {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.7);
}
.btn-add-cart.btn-added {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.3);
  color: #22c55e;
  cursor: default;
}
.btn-add-subscription {
  margin-top: auto;
}
.btn-remove-item {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.15s;
  flex-shrink: 0;
}
.btn-remove-item:hover { color: #ef4444; }

/* ---- Subscription Cards (Path A — gold background, navy text) ---- */
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.subscription-card {
  background: #FFF8E7;
  border: 1px solid #D4AA50;
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscription-card:hover {
  border-color: #B8922E;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}
.subscription-card--highlight {
  border-color: #1B2A4A;
  background: linear-gradient(135deg, #FFF8E7, #F5E6B0);
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.25);
}
.subscription-card--highlight:hover {
  border-color: #1B2A4A;
  box-shadow: 0 6px 28px rgba(27, 42, 74, 0.3);
}
.subscription-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #1B2A4A;
  color: #C9A84C;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}
.subscription-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 0.25rem;
}
.subscription-tagline {
  font-size: 0.825rem;
  color: #4A5568;
  margin-bottom: 1.25rem;
}
.subscription-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}
.subscription-price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #1B2A4A;
}
.subscription-price-label {
  font-size: 0.875rem;
  color: #6B7280;
}
.subscription-billing {
  font-size: 0.775rem;
  color: #6B7280;
  margin-bottom: 1.25rem;
}
.subscription-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.subscription-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: #374151;
}
.btn-subscription {
  width: 100%;
  display: block;
  text-align: center;
  background: #1B2A4A;
  color: #C9A84C;
  border: 2px solid #1B2A4A;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  margin-top: auto;
  min-height: 44px;
  box-sizing: border-box;
}
.btn-subscription:hover {
  background: #2D3F5E;
  border-color: #2D3F5E;
  color: #E8C870;
  transform: translateY(-1px);
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.faq-item { }
.faq-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.4rem;
}
.faq-a {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ---- Footer CTA ---- */
.pricing-footer-cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-top: 1px solid #1e293b;
  padding: 5rem 2rem;
  text-align: center;
}
.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary-cta {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary-cta:hover { opacity: 0.85; }
.btn-outline-cta {
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.btn-outline-cta:hover { color: #f1f5f9; border-color: #64748b; }

/* ---- Footer ---- */
.pricing-footer {
  background: #0a0f1a;
  border-top: 1px solid #1e293b;
  padding: 2rem;
}
.pricing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.pricing-footer-logo {
  display: flex;
  align-items: center;
}
.pricing-footer-brand p {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 0.25rem;
}
.pricing-footer-links {
  display: flex;
  gap: 1.5rem;
}
.pricing-footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.825rem;
  transition: color 0.15s;
}
.pricing-footer-links a:hover { color: #94a3b8; }
.pricing-footer-copy {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.775rem;
  color: #475569;
}

/* ---- App nav cart button ---- */
.cart-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  position: relative;
}
.cart-nav-btn:hover {
  color: #f1f5f9;
  background: #1e293b;
  border-color: #334155;
}
.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  padding: 0 0.3rem;
}

/* ---- Checkout notification ---- */
.checkout-notification {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: slideDown 0.2s ease;
}
.notification-success {
  background: #14532d;
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}
.notification-error {
  background: #450a0a;
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.3);
}
.notification-info {
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,0.3);
}

@keyframes slideDown {
  from { top: -60px; opacity: 0; }
  to { top: 1rem; opacity: 1; }
}

/* ---- Cart Summary Bar (floating bottom) ---- */
.cart-summary-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 0.75rem 0;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cart-summary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cart-summary-info {
  font-size: 0.875rem;
  color: #94a3b8;
}
.cart-summary-total strong { color: #f1f5f9; }
.cart-summary-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-cart-summary {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s;
}
.btn-cart-summary:hover { color: #f1f5f9; }
.btn-checkout-summary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.btn-checkout-summary:hover { opacity: 0.85; }

/* ---- Cart Page ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .subscription-grid { grid-template-columns: 1fr; }
  .pricing-hero-title { font-size: 2rem; }
  .cta-title { font-size: 1.75rem; }
  .pricing-nav { padding: 0 1rem; }
  .pricing-nav-inner { gap: 0.5rem; }
  .pricing-nav-links { gap: 0.5rem; }
  .pricing-nav-link { font-size: 0.8rem; padding: 0.3rem 0.5rem; }
  .btn-outline-sm { padding: 0.3rem 0.65rem; font-size: 0.75rem; }
  .btn-primary-sm { padding: 0.3rem 0.65rem; font-size: 0.75rem; }
  .pricing-hero { padding: 3rem 1rem 2.5rem; }
  .pricing-section { padding: 2.5rem 1rem; }
}

/* ---- Bug fixes: mobile service cards and feature list ---- */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }
  .service-card {
    overflow: hidden;
    padding: 1.125rem;
  }
  .service-features {
    overflow: hidden;
  }
  .service-feature {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .pricing-footer-links {
    gap: 0.875rem;
  }
  .pricing-footer-links a {
    font-size: 0.75rem;
  }
}

.cart-items-panel {}
.cart-item-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}
.cart-item-meta { display: flex; gap: 0.5rem; align-items: center; }
.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  flex-shrink: 0;
}

/* ---- Cart Summary Box ---- */
.cart-summary-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.cart-summary-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  color: #94a3b8;
}
.cart-summary-item-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-summary-divider {
  height: 1px;
  background: #334155;
  margin: 0.75rem 0;
}
.cart-subtotal-row { color: #f1f5f9; }
.cart-total-row {
  font-weight: 700;
  font-size: 1rem;
  color: #f1f5f9;
}
.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 1.25rem;
  transition: opacity 0.15s;
}
.btn-checkout:hover:not(:disabled) { opacity: 0.85; }
.btn-checkout:disabled {
  background: #334155;
  color: #64748b;
  cursor: not-allowed;
}
.cart-secure-note {
  text-align: center;
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.75rem;
}

/* ---- Header cart button ---- */
.btn-cart-header {
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 6px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-cart-header:hover {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.6);
}