/* PRICING PAGE STYLES */

/* Base Variables (from design system) */
:root {
  --bg: #FAF8F5;
  --bg-alt: #F0EDE8;
  --bg-parchment: #E8E4DD;
  --surface: #FFFFFF;
  --primary: #1B3D2F;
  --primary-muted: #4A6358;
  --accent: #C67B5C;
  --accent-hover: #B36A4D;
  --text-headline: #2C2C2C;
  --text-body: #2C2C2C;
  --text-secondary: #6B6560;
  --text-muted: #9A9590;
  --border: #E8E4DD;
  --shadow-card: 0 2px 8px rgba(44,44,44,0.04), 0 8px 24px rgba(44,44,44,0.06);
  --shadow-hover: 0 4px 12px rgba(44,44,44,0.06), 0 16px 32px rgba(44,44,44,0.08);
  --stripe-purple: #635BFF;
}

body {
  background-color: var(--bg);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Layout Helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.text-center { text-align: center; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-16 { margin-top: 16px; }
.mt-4 { margin-top: 4px; }
.mt-64 { margin-top: 64px; }
.bg-alt { background-color: var(--bg-alt); }

/* Typography */
.display-title {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -0.015em;
  color: var(--text-headline);
  margin-bottom: 24px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.005em;
  color: var(--text-headline);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 16px 32px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: #2a4f3f;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

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

.btn-inverted-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-inverted-secondary:hover {
  background: #ffffff;
  color: var(--primary);
}

.full-width {
  width: 100%;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.pricing-hero {
  padding: 160px 0 64px;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 30px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Toggle Section */
.pricing-toggle-section {
  padding: 0 0 64px;
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.toggle-label {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.toggle-label.active {
  color: var(--text-headline);
  font-weight: 500;
}

.save-badge {
  position: absolute;
  top: -24px;
  right: -20px;
  background-color: var(--bg-parchment);
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.billing-toggle {
  width: 56px;
  height: 32px;
  background-color: var(--bg-parchment);
  border-radius: 16px;
  border: none;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding: 0;
}

.billing-toggle[aria-checked="true"] {
  background-color: var(--primary);
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background-color: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.billing-toggle[aria-checked="true"] .toggle-slider {
  transform: translateX(24px);
}

.toggle-note {
  font-size: 14px;
  color: var(--text-muted);
}

/* Pricing Card Section */
.pricing-card-section {
  padding: 0 0 120px;
}

.pricing-card {
  background-color: var(--surface);
  border-radius: 2px;
  box-shadow: var(--shadow-card);
  padding: 48px;
  max-width: 600px;
  margin: 0 auto 48px;
  border-top: 4px solid var(--primary);
}

.card-header {
  text-align: center;
  margin-bottom: 32px;
}

.plan-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 16px;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 8px;
}

.currency {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-headline);
  position: relative;
  top: -16px;
  margin-right: 4px;
}

.amount {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 1;
  color: var(--text-headline);
}

.period {
  font-size: 16px;
  color: var(--text-secondary);
  margin-left: 4px;
}

.price-subtext {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-desc {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 32px;
}

.features-heading {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-headline);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 24px;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--primary);
  font-weight: bold;
}

.card-footer-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Seat Selector (Inside Card) */
.seat-selector-container {
  margin: 24px 0 32px;
  text-align: center;
}

.seat-selector-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.seat-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
}

.seat-control-btn {
  width: 40px;
  height: 40px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seat-control-btn:hover {
  background-color: var(--bg-alt);
  color: var(--primary);
}

.seat-control-btn:first-child {
  border-radius: 2px 0 0 2px;
  border-right: none;
}

.seat-control-btn:last-child {
  border-radius: 0 2px 2px 0;
  border-left: none;
}

.seat-input {
  width: 60px;
  height: 40px;
  border: 1px solid var(--border);
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-headline);
  -moz-appearance: textfield;
  border-radius: 0;
}

.seat-input::-webkit-outer-spin-button,
.seat-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.seat-input:focus {
  outline: none;
  border-color: var(--primary);
  z-index: 1;
}

.calc-equation {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Comparison Table */
.comparison-section {
  padding: 120px 0;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
  background: var(--surface);
  border-radius: 2px;
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
}

.compare-table th {
  font-weight: 500;
  color: var(--text-headline);
  background-color: var(--bg-parchment);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table .highlight-col {
  background-color: rgba(27, 61, 47, 0.04);
  color: var(--primary);
}

.compare-table th.highlight-col {
  background-color: var(--primary);
  color: #FFFFFF;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .spacer-row td {
  padding: 8px;
  background-color: var(--bg-alt);
}

.table-note {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 22px;
}

/* Features Grid */
.features-grid-section {
  padding: 120px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--surface);
  padding: 32px;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
  border-top: 2px solid var(--bg-parchment);
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-headline);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
}

/* Trust Section */
.trust-section {
  padding: 120px 0;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  opacity: 0.6;
}

.trust-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--text-headline);
  letter-spacing: 0.02em;
}

.testimonial-block {
  max-width: 700px;
  margin: 64px auto 0;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 36px;
  color: var(--text-headline);
  margin-bottom: 24px;
}

.author-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-headline);
}

.author-title {
  font-size: 14px;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  padding: 120px 0;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-headline);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.accordion-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-icon::after {
  transform: scaleY(0);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px; /* Arbitrary large number for animation */
}

.accordion-content p {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
  margin: 0;
}

/* Enterprise CTA */
.enterprise-cta {
  background-color: var(--primary);
  padding: 120px 0;
  color: #FFFFFF;
}

.enterprise-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 16px;
}

.enterprise-subtitle {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
}

.enterprise-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.enterprise-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.enterprise-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  position: relative;
  padding-left: 16px;
}

.enterprise-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Final CTA */
.final-cta {
  padding: 120px 0;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* NAV */
.feature-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.feature-nav.scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
}

.nav-inner {
  width: min(calc(100% - 80px), 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.wordmark {
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-headline);
}

.nav-link.active {
  color: var(--text-headline);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  border-bottom: 1px solid var(--text-headline);
}

.nav-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-mobile-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile-panel {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  display: grid;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.nav-mobile-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile-panel a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* FOOTER */
.feature-footer {
  background: var(--primary);
  color: var(--bg);
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--bg);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.footer-tagline {
  margin: 0;
  max-width: 240px;
  font-size: 14px;
  line-height: 22px;
  color: rgba(250, 248, 245, 0.6);
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bg);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0 0 10px;
}

.footer-links a {
  color: rgba(250, 248, 245, 0.65);
  font-size: 14px;
  line-height: 2.2;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 248, 245, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-copy,
.footer-bottom-links {
  font-size: 13px;
  line-height: 20px;
  color: rgba(250, 248, 245, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--bg);
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-inner {
    width: min(calc(100% - 48px), 1200px);
  }
  .nav-center {
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .display-title { font-size: 56px; line-height: 64px; }
  .section-title { font-size: 40px; line-height: 48px; }
  .pricing-card { padding: 32px; }
}

@media (max-width: 768px) {
  .nav-inner {
    width: calc(100% - 40px);
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .nav-center,
  .nav-cta-wrap {
    display: none;
  }
  .nav-mobile-toggle {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .display-title { font-size: 44px; line-height: 52px; }
  .section-title { font-size: 32px; line-height: 40px; }
  
  .pricing-hero { padding: 120px 0 48px; }
  .pricing-card-section { padding: 0 0 80px; }
  .comparison-section, .features-grid-section, .trust-section, .faq-section, .enterprise-cta, .final-cta {
    padding: 80px 0;
  }
  
  .features-grid { grid-template-columns: 1fr; }
  .enterprise-actions { flex-direction: column; }
  .enterprise-features { flex-direction: column; align-items: center; gap: 12px; }
  
  .amount { font-size: 56px; }
}
