/* ===== SHARED STYLES FOR SUBPAGES ===== */
/* Uses variables and base styles from styles.css */

/* ===== SOLID HEADER (for subpages without hero bg) ===== */
.header-solid {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-solid .logo {
  color: var(--purple);
}

/* ===== PAGE HERO BANNER ===== */
.page-hero {
  background: var(--lavender);
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
}
.page-hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-text);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== PAGE SECTION ===== */
.page-section {
  padding: 60px 0 80px;
}

/* ===== CTA INNER (reuse from index) ===== */
.cta-inner {
  text-align: center;
}
.cta-text {
  font-size: 16px;
  color: var(--gray-text);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta .cta-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 12px;
}

/* ===== FOOTER GRID (supplement missing styles) ===== */
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 24px;
}
.footer-brand .logo {
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-column a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-column a:hover {
  color: var(--green);
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* =========================================
   BLOG PAGE
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.blog-card-body {
  padding: 28px 24px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.blog-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  background: var(--lavender);
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-date {
  font-size: 13px;
  color: var(--gray-light);
}
.blog-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 12px;
}
.blog-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-text);
  margin-bottom: 20px;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-read-more:hover {
  color: var(--green);
}

/* =========================================
   PRICING PAGE
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px 32px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.pricing-card-highlight {
  border-color: var(--purple);
  border-width: 2px;
  box-shadow: 0 8px 40px rgba(74, 58, 186, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pricing-card-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-tier-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}
.pricing-amount {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: var(--navy);
  line-height: 1;
}
.pricing-period {
  font-size: 16px;
  color: var(--gray-light);
  font-weight: 500;
}
.pricing-tier-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-text);
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  border-bottom: 1px solid #F3F4F6;
}
.pricing-feature:last-child {
  border-bottom: none;
}
.pricing-feature svg {
  flex-shrink: 0;
}
.pricing-feature.excluded {
  color: var(--gray-light);
}
.pricing-card .btn {
  display: block;
  text-align: center;
  width: 100%;
}
.btn-outline-pricing {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
  padding: 14px 40px;
  border-radius: 8px;
}
.btn-outline-pricing:hover {
  background: var(--purple);
  color: var(--white);
}

/* Feature Comparison Table */
.comparison-section {
  margin-top: 80px;
}
.comparison-title {
  text-align: center;
  margin-bottom: 32px;
}
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #F3F4F6;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}
.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 20px;
}
.comparison-table thead th:first-child {
  border-radius: 11px 0 0 0;
  color: var(--white);
}
.comparison-table thead th:last-child {
  border-radius: 0 11px 0 0;
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.comparison-table tbody tr:hover {
  background: #FAFBFC;
}
.highlight-col {
  background: rgba(74, 58, 186, 0.04);
}
.comparison-table thead .highlight-col {
  background: var(--purple);
}
.comparison-table td {
  color: var(--gray-text);
}
.comparison-table td svg {
  display: inline-block;
  vertical-align: middle;
}

/* =========================================
   LEGAL PAGES (Privacy, Terms)
   ========================================= */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-text);
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 24px;
  padding: 0;
}
.legal-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-text);
  margin-bottom: 6px;
}
.legal-content a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}
.legal-content a:hover {
  color: var(--green);
  text-decoration: underline;
}
.legal-content strong {
  color: var(--navy);
}

/* =========================================
   HELP CENTER / FAQ PAGE
   ========================================= */
.faq-section {
  margin-bottom: 48px;
}
.faq-section:last-of-type {
  margin-bottom: 0;
}
.faq-section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--lavender);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--purple);
}
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-light);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--purple);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 18px;
}
.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-text);
  margin: 0;
}
.faq-answer a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}
.faq-answer a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Help Contact Box */
.help-contact-box {
  margin-top: 60px;
  background: var(--lavender);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.help-contact-box h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}
.help-contact-box p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 40px 0 36px;
  }
  .page-hero-title {
    font-size: 28px;
  }
  .page-section {
    padding: 40px 0 60px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  .faq-question {
    font-size: 15px;
    padding: 14px 0;
  }
  .legal-content h2 {
    font-size: 19px;
  }
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
  .help-contact-box {
    padding: 28px 20px;
  }

  /* Mobile nav for subpages */
  .header-solid .nav {
    display: none;
  }
  .header-solid .btn-outline-green {
    display: none;
  }
  .header-solid .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
  }
  .header-solid .mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: 0.2s;
  }
}
