/* Shared Feature Page Styles */

.feature-page-main {
  flex: 1;
  background: white;
  padding-top: 100px;
}

/* Feature Page Hero Section */
.feature-page-hero {
  background: var(--bg);
  padding: 30px 0 60px;
  text-align: center;
  margin-top: -4px;
}

.feature-page-hero .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-page-hero .hero-breadcrumb {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.feature-page-hero .hero-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.feature-page-hero .hero-breadcrumb a:hover {
  text-decoration: underline;
  color: var(--purple);
}

.feature-page-hero .hero-title {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary);
  line-height: 1.2;
}

.feature-page-hero .hero-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-page-hero .hero-intro:last-child {
  margin-bottom: 0;
}

.feature-page-hero .hero-intro a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}

.feature-page-hero .hero-intro a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .feature-page-hero {
    padding: 20px 0 40px;
    margin-top: -4px;
  }

  .feature-page-hero .hero-title {
    font-size: 2rem;
  }

  .feature-page-hero .hero-intro {
    font-size: 1.05rem;
  }
}

.feature-page-header {
  max-width: 900px;
  margin: 0 auto 80px;
}

.feature-page-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.feature-page-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 25px;
}

.feature-page-intro:last-child {
  margin-bottom: 0;
}

.feature-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-page-grid .feature-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: left;
}

.feature-card-title {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 20px;
  font-weight: 600;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 15px;
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.feature-card ul,
.feature-card ol {
  margin: 15px 0;
  padding-left: 20px;
  text-align: left;
  list-style-position: outside;
}

.feature-card li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card ul.inline-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-left: 0;
  list-style: none;
}

.feature-card ul.inline-bullets li {
  margin-bottom: 0;
}

.feature-card ul.inline-bullets li::before {
  content: "\2022";
  margin-right: 8px;
}

.feature-card ul.inline-bullets.centered {
  justify-content: center;
}

/* Section-based layout (alternative to cards) */
.feature-sections {
  max-width: 900px;
  margin: 0 auto;
}

.feature-section {
  margin-bottom: 50px;
}

.feature-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-section-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
}

.feature-section-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 15px;
}

.feature-section-content p:last-child {
  margin-bottom: 0;
}

.feature-section-content ul,
.feature-section-content ol {
  margin: 15px 0;
  padding-left: 20px;
  list-style-position: outside;
}

.feature-section-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-section-content ul.inline-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-left: 0;
  list-style: none;
}

.feature-section-content ul.inline-bullets li {
  margin-bottom: 0;
}

.feature-section-content ul.inline-bullets li::before {
  content: "\2022";
  margin-right: 8px;
}

.feature-section-content ul.inline-bullets.centered {
  justify-content: center;
}

.feature-section-content .feature-highlight {
  background: var(--light);
  border-left: 4px solid var(--green);
  padding: 20px 25px;
  margin: 20px 0;
  border-radius: 0 12px 12px 0;
}

.feature-section-content .feature-highlight p {
  margin: 0;
  font-style: italic;
}

.feature-section-content .feature-image {
  margin-top: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: white;
}

.feature-section-content .feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

.feature-section-content .feature-image-placeholder {
  margin-top: 25px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  border: 2px dashed #ccc;
  padding: 60px 40px;
  text-align: center;
}

.feature-section-content .feature-image-placeholder span {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

.feature-image {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: white;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

/* Side-by-side layout with image on right */
.feature-section-content.with-side-image {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.feature-section-content.with-side-image .feature-text {
  flex: 1;
}

.feature-section-content.with-side-image .feature-image-side {
  flex-shrink: 0;
  width: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: white;
}

.feature-section-content.with-side-image .feature-image-side img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

@media (max-width: 768px) {
  .feature-section-content.with-side-image {
    flex-direction: column;
  }

  .feature-section-content.with-side-image .feature-image-side {
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0;
  }
}

.feature-image-placeholder {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  border: 2px dashed #ccc;
  padding: 60px 40px;
  text-align: center;
}

.feature-image-placeholder span {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

.feature-link {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}

.feature-link:hover {
  text-decoration: underline;
}

.feature-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--purple);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.feature-cta:hover {
  background: var(--primary);
}

.feature-highlight {
  background: var(--light);
  border-left: 4px solid var(--purple);
  padding: 20px 25px;
  margin: 20px 0;
  border-radius: 0 12px 12px 0;
}

.feature-highlight p {
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .feature-card {
    padding: 30px;
  }

  .feature-card-title {
    font-size: 1.5rem;
  }

  .feature-image-placeholder {
    padding: 40px 20px;
  }
}
