/* ===== INNER PAGE STYLES =====
   Shared styles for feature, use-case, solution, integration,
   comparison, and blog pages. Reuses existing design tokens from style.css.
*/

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(180deg, #FFF7F3 0%, #FFFFFF 100%);
}

.page-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid #eee;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: var(--grey);
  font-weight: 600;
}

.page-hero h1 {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--hero-title);
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero .page-subtitle {
  font-size: 18px;
  color: #6b7280;
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.page-hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.page-hero .hero-cta:hover {
  background: var(--accent-dk);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content-section h2 {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--hero-title);
  margin-bottom: 16px;
  line-height: 1.3;
}

.content-section h3 {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--hero-title);
  margin-bottom: 12px;
  margin-top: 32px;
  line-height: 1.3;
}

.content-section p {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 18px;
}

.content-section ul,
.content-section ol {
  margin: 16px 0 24px 24px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.8;
}

.content-section li {
  margin-bottom: 8px;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.feature-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(20,30,50,0.08);
  transform: translateY(-2px);
}

.feature-card .card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FFF2EC, #FFE0D0);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--hero-title);
  margin-bottom: 10px;
  margin-top: 0;
}

.feature-card p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #142444 0%, #1e3a5f 100%);
  text-align: center;
  padding: 72px 24px;
  margin: 0;
}

.cta-banner h2 {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.cta-banner .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-banner .hero-cta:hover {
  background: var(--accent-dk);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
}

.comparison-table thead th {
  background: var(--hero-title);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}

.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #e6e9ef;
  color: #4b5563;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.comparison-table .check {
  color: #16a34a;
  font-weight: 700;
  font-size: 18px;
}

.comparison-table .cross {
  color: #dc2626;
  font-weight: 700;
  font-size: 18px;
}

/* ===== BLOG / INSIGHTS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(20,30,50,0.08);
  transform: translateY(-2px);
}

.blog-card .card-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #FFF2EC, #E8F0FE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.blog-card .card-body {
  padding: 24px;
}

.blog-card .card-tag {
  display: inline-block;
  background: #FFF2EC;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--hero-title);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ===== INTERNAL LINKS SECTION ===== */
.related-links {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  border-top: 1px solid #e6e9ef;
}

.related-links h3 {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--hero-title);
  margin-bottom: 16px;
}

.related-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  display: inline-block;
  padding: 8px 18px;
  background: #f9fafb;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.related-links a:hover {
  background: #FFF2EC;
  border-color: var(--accent);
}

/* ===== FAQ SECTION (inner page) ===== */
.page-faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.page-faq h2 {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--hero-title);
  margin-bottom: 24px;
  text-align: center;
}

.page-faq .faq-item {
  border-bottom: 1px solid #e6e9ef;
  padding: 20px 0;
}

.page-faq .faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--hero-title);
  margin: 0 0 8px;
  cursor: pointer;
}

.page-faq .faq-item p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 14px;
  color: #9ca3af;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-hero {
    padding: 80px 16px 40px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero .page-subtitle {
    font-size: 16px;
  }

  .content-section {
    padding: 40px 16px;
  }

  .content-section h2 {
    font-size: 26px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding: 24px 16px 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    padding: 24px 16px 40px;
  }

  .cta-banner {
    padding: 48px 16px;
  }

  .cta-banner h2 {
    font-size: 26px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 26px;
  }

  .related-links ul {
    flex-direction: column;
  }

  .related-links a {
    display: block;
    text-align: center;
  }
}
