/* =========================================================================
   AQL Pricing — dark-gold house style (matches home.html design tokens)
   ========================================================================= */

:root {
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(242, 212, 136, 0.22); color: #fff; }

/* Golden 8-point star lattice — fixed ambient backdrop (same as home.html). */
.star-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: screen;
}
.page, .section-separator { position: relative; z-index: 1; }

/* ---------------- Hero / header ---------------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #241d12 0%, #140f0a 45%, #070504 100%);
  padding: clamp(28px, 4.5vh, 46px) clamp(24px, 5vw, 72px) clamp(10px, 2vh, 20px);
  text-align: center;
}

.hero-inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.headline .em {
  font-style: italic;
  background: linear-gradient(180deg, #f7e3a8 0%, #d9b25a 58%, #b9883c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Toggle ---------------- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.pricing-toggle-capsule {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(217,178,90,0.08);
  border: 1px solid rgba(217,178,90,0.35);
}
.pricing-toggle-btn {
  font-family: "Spectral", serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 26px;
  background: transparent;
  color: rgba(243,234,214,0.62);
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.pricing-toggle-btn:hover { color: var(--cream); }
.pricing-toggle-btn.is-active {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 65%, #b9883c 100%);
  color: #2a1e08;
  box-shadow: 0 0 22px -4px rgba(242,212,136,0.6);
}

/* ---------------- Pricing section ---------------- */
.section-block {
  position: relative;
  width: 100%;
  padding: clamp(20px, 3vh, 36px) clamp(24px, 5vw, 72px) clamp(24px, 4vh, 44px);
}
.section-inner { max-width: 1240px; margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 12px;
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------------- Cards ---------------- */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  background: linear-gradient(180deg, rgba(32,24,16,0.96) 0%, rgba(17,13,9,0.96) 100%);
  border: 1px solid rgba(217,178,90,0.16);
  transition: border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.pricing-card::before {
  /* faint top sheen */
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,212,136,0.4), transparent);
  opacity: 0.6;
}
/* Hover: border glow only (uniform, no drop offset) — like 4olive. */
.pricing-card:hover {
  border-color: rgba(242,212,136,0.4);
  box-shadow: 0 0 40px rgba(217,178,90,0.28);
}

.pricing-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
}
.pricing-tagline {
  font-size: 0.92rem;
  color: rgba(243,234,214,0.5);
  margin-top: 5px;
  margin-bottom: 18px;
  font-style: italic;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
}
.pricing-price-big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3.25rem;
  line-height: 1;
  color: var(--cream);
}
.pricing-currency {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--cream);
  line-height: 1;
}
.pricing-price-small {
  font-size: 0.88rem;
  color: rgba(243,234,214,0.46);
  margin-bottom: 6px;
  min-height: 1.2em;
  transition: opacity 0.3s var(--ease-smooth);
}

/* "X% better value" shimmer line (4olive style) — always rendered. */
.pricing-value-save {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 12px;
  background: linear-gradient(
    100deg,
    var(--gold-deep) 0%,
    var(--gold-deep) 38%,
    var(--gold-soft) 50%,
    var(--gold-deep) 62%,
    var(--gold-deep) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-value 6s ease-in-out infinite;
  min-height: 1.2em;
}

@keyframes shimmer-value {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}
.pricing-features li {
  font-size: 0.95rem;
  color: rgba(243,234,214,0.68);
  padding: 5px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.4;
}
.pricing-features li.annual-only,
.pricing-features li.monthly-only {
  display: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}
.pricing-features li.annual-only.show,
.pricing-features li.monthly-only.show {
  display: flex;
  opacity: 1;
}
.pricing-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* ---------------- CTA button ---------------- */
.pricing-btn {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 16px;
  border: 1px solid rgba(217,178,90,0.4);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s, background 0.25s;
  overflow: hidden;
}
.pricing-btn:hover {
  border-color: var(--gold-bright);
  color: #fff;
  background: rgba(217,178,90,0.08);
  box-shadow: 0 0 30px -6px rgba(242,212,136,0.7);
}
.pricing-btn--ghost { color: rgba(243,234,214,0.8); }

/* ---------------- Featured (Commander) ---------------- */
.pricing-card--featured {
  border-color: rgba(242,212,136,0.45);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(217,178,90,0.14) 0%, rgba(20,15,10,0) 60%),
    linear-gradient(180deg, rgba(40,30,19,0.97) 0%, rgba(20,15,9,0.97) 100%);
  /* Border glow only (uniform ring, no drop offset). */
  box-shadow: 0 0 0 1px rgba(242,212,136,0.35), 0 0 45px rgba(217,178,90,0.3);
}
.pricing-card--featured:hover {
  box-shadow: 0 0 0 1px rgba(242,212,136,0.55), 0 0 60px rgba(242,212,136,0.45);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #241a06;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  padding: 7px 14px;
  box-shadow: 0 0 22px -4px rgba(242,212,136,0.8);
}

.pricing-btn--featured {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 65%, var(--gold-deep) 100%);
  color: #2a1e08;
  border-color: var(--gold-bright);
  box-shadow: 0 0 22px -4px rgba(242,212,136,0.6);
}
.pricing-btn--featured:hover {
  filter: brightness(1.08);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 65%, var(--gold-deep) 100%);
  color: #2a1e08;
  box-shadow: 0 0 48px -4px rgba(242,212,136,0.9);
}

/* ---------------- Free-tier strip (Seeker) ---------------- */
.pricing-seeker-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 24px;
  border: 1px solid rgba(217,178,90,0.22);
  background: rgba(217,178,90,0.05);
  text-align: left;
}
.pricing-seeker-name {
  font-family: "Spectral", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--gold-bright);
  margin-right: 12px;
}
.pricing-seeker-desc { font-size: 0.92rem; font-style: italic; color: rgba(243,234,214,0.6); }
.pricing-seeker-strip .pricing-btn { width: auto; padding: 9px 26px; flex-shrink: 0; }

/* ---------------- Section separator (gold) — kept for reuse ---------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
