/* ─────────────────────────────────────────────────────────────────────────────
   pricing.css — Pricing page styles
   Pixel-faithful translation of Figma node 4:677
   ───────────────────────────────────────────────────────────────────────────── */

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

:root {
  /* Brand */
  --primary:         #076476;
  --primary-dark:    #054e5c;
  --primary-deep:    #004b59;
  /* Text */
  --text-heading:    #1a1c1c;
  --text-body:       #3f484b;
  --text-secondary:  #64748b;
  --white:           #ffffff;
  /* Backgrounds */
  --bg-hero:         #f9f9f9;
  --bg-faq:          #f9f9f9;
  /* Card */
  --card-border:     #e5e7eb;
  --card-shadow:     0 8px 15px rgba(31, 41, 55, 0.08);
  --card-radius:     4px;
  /* Fonts */
  --font-display:    'Manrope', sans-serif;
  --font-body:       'Inter', sans-serif;
}

/* ── Base ───────────────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-display);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Nav ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #f3f4f6;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo img {
  height: 32px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-link--active {
  color: var(--primary) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  list-style: none;
  background: var(--white);
  border-top: 1px solid #f3f4f6;
  padding: 8px 0;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
}

.nav-mobile a:hover { color: var(--primary); }

/* ── Hero ───────────────────────────────────────────────────────────────────── */

.pricing-hero {
  background: var(--bg-hero);
  padding: 80px 192px;
  text-align: center;
}

.pricing-hero-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0;
}

.pricing-hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.96px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.pricing-hero-subtitle {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Pricing Tiers ──────────────────────────────────────────────────────────── */

.tiers-section {
  background: var(--bg-hero);
  padding: 48px 0 80px;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1232px;
  margin: 0 auto;
}

/* Wrapper used to scale the featured (Gold) card up 5% */
.tier-card-wrapper {
  display: contents;
}

.tier-card-wrapper--featured {
  display: block;
  transform: scale(1.05);
  transform-origin: center center;
}

.tier-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 40px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tier-card--gold {
  border: 2px solid var(--primary);
}

.tier-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.tier-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-heading);
}

.tier-desc {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.5;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tier-price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.96px;
  line-height: 1;
}

.tier-price-period {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-body);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.tier-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.4;
}

.tier-feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Tier Buttons ───────────────────────────────────────────────────────────── */

.btn-tier {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--card-radius);
  padding: 13px 17px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}

.btn-tier--outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-tier--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-tier--solid {
  background: var(--primary);
  border: 1.5px solid var(--primary);
  color: var(--white);
}

.btn-tier--solid:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ── FAQ ────────────────────────────────────────────────────────────────────── */

.faq-section {
  background: var(--bg-faq);
  padding: 80px 256px 160px;
}

.faq-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 25px;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq-answer {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--primary-deep);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}

.footer-logo img {
  height: 36px;
  display: block;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-primary:hover { background: var(--primary-dark); }

.footer-links {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: flex-end;
}

.footer-col { display: flex; flex-direction: column; gap: 16px; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copy {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover { color: var(--white); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .pricing-hero { padding: 80px 80px; }
  .faq-section  { padding: 80px 80px 120px; }
}

@media (max-width: 900px) {
  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .tier-card-wrapper--featured {
    transform: none;
  }

  .pricing-hero { padding: 64px 32px; }
  .faq-section  { padding: 64px 32px 96px; }
  .faq-inner    { max-width: 100%; }
}

@media (max-width: 768px) {
  .pricing-hero-title  { font-size: 36px; }
  .pricing-hero-subtitle { font-size: 16px; }
  .faq-title           { font-size: 26px; }
  .faq-question        { font-size: 20px; }

  .footer-top   { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; justify-content: flex-start; }

  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .pricing-hero-title { font-size: 28px; }
  .tier-price-amount  { font-size: 40px; }

  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal  { flex-wrap: wrap; justify-content: center; }
}
