/**
 * Feature Content Sections
 * Shared styles for feature content below wizard forms on public pages.
 * Used by: /ask-me-anything, /daily, /monthly, /varshaphal, etc.
 */

.feature-section { padding: 5rem 0; border-bottom: 1px solid #f5e8d2; }
.feature-section:last-child { border-bottom: none; }
.section-label { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #d42020; margin-bottom: 0.75rem; }
.section-label::before, .section-label::after { content: ''; width: 24px; height: 2px; background: #d42020; }
.section-title { font-family: "Exo 2", sans-serif; font-size: 2rem; font-weight: 700; color: #1a1a1a; margin-bottom: 1rem; line-height: 1.3; text-align: center; }
.section-desc { font-size: 1.0625rem; color: #57534e; line-height: 1.8; max-width: 42rem; text-align: center; margin-left: auto; margin-right: auto; }
.section-header { text-align: center; margin-bottom: 2.5rem; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.timeline-step { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 1rem; transition: all 0.3s ease; }
.timeline-step:hover { border-color: rgba(212, 32, 32, 0.25); box-shadow: 0 8px 24px rgba(212, 32, 32, 0.08); }
.timeline-num { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #d42020 0%, #b91c1c 100%); color: #ffffff; font-family: 'IBM Plex Mono', monospace; font-size: 0.875rem; font-weight: 700; border-radius: 12px; }
.timeline-content { flex: 1; }
.timeline-title { font-size: 1.0625rem; font-weight: 600; color: #1a1a1a; margin-bottom: 0.375rem; }
.timeline-desc { font-size: 0.875rem; color: #57534e; line-height: 1.7; margin: 0; }

/* Output Cards */
.output-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.output-card { padding: 1.75rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 1rem; transition: all 0.3s ease; }
.output-card:hover { border-color: rgba(212, 32, 32, 0.25); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(212, 32, 32, 0.08); }
.output-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; background: rgba(212, 32, 32, 0.08); color: #d42020; }
.output-card h4 { font-size: 1rem; font-weight: 600; color: #1a1a1a; margin-bottom: 0.5rem; }
.output-card p { font-size: 0.85rem; color: #57534e; line-height: 1.65; margin: 0; }

/* Advantage Rows */
.advantage-row { display: flex; align-items: center; gap: 3rem; padding: 2.5rem 0; border-bottom: 1px solid #f5e8d2; }
.advantage-row:last-child { border-bottom: none; }
.advantage-row:nth-child(even) { flex-direction: row-reverse; }
.advantage-icon-box { flex-shrink: 0; width: 120px; height: 120px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, rgba(254, 243, 199, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%); border: 2px solid #f5e8d2; }
.advantage-content h4 { font-family: "Exo 2", sans-serif; font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin-bottom: 0.625rem; }
.advantage-content p { font-size: 0.95rem; color: #57534e; line-height: 1.75; margin: 0; }

/* Quality Section */
.quality-section { background: linear-gradient(135deg, #d42020 0%, #b91c1c 100%); border-radius: 1.5rem; padding: 3rem 2rem; margin-top: 2rem; position: relative; overflow: hidden; }
.quality-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); pointer-events: none; }
.quality-section .section-label { color: rgba(255, 255, 255, 0.8); }
.quality-section .section-label::before, .quality-section .section-label::after { background: rgba(255, 255, 255, 0.5); }
.quality-section .section-title { color: #ffffff; }
.quality-section .section-desc { color: rgba(255, 255, 255, 0.85); }
.quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; position: relative; }
.quality-item { padding: 1.5rem 1rem; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 1rem; text-align: center; }
.quality-value { font-family: 'IBM Plex Mono', monospace; font-size: 2rem; font-weight: 700; color: #ffffff; line-height: 1; }
.quality-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); margin-top: 0.5rem; font-weight: 500; }

/* FAQ */
.faq-list { margin-top: 2rem; }
.faq-item { border: 2px solid #f5e8d2; border-radius: 1rem; margin-bottom: 0.75rem; overflow: hidden; background: #ffffff; transition: border-color 0.2s; }
.faq-item:hover { border-color: rgba(212, 32, 32, 0.2); }
.faq-item[open] { border-color: rgba(212, 32, 32, 0.25); }
.faq-item summary { padding: 1.25rem 1.5rem; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #1a1a1a; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 300; color: #57534e; }
.faq-item[open] summary::after { content: '-'; }
.faq-answer { padding: 0 1.5rem 1.5rem; font-size: 0.9rem; line-height: 1.75; color: #57534e; }

/* CTA */
.feature-cta { background: linear-gradient(135deg, rgba(212, 32, 32, 0.06) 0%, rgba(254, 243, 199, 0.3) 100%); border: 2px solid rgba(212, 32, 32, 0.12); border-radius: 1.5rem; padding: 3.5rem 2rem; text-align: center; margin-top: 3rem; }
.feature-cta h3 { font-family: "Exo 2", sans-serif; font-size: 1.75rem; font-weight: 700; color: #1a1a1a; margin-bottom: 0.75rem; }
.feature-cta p { font-size: 1rem; color: #57534e; margin-bottom: 1.75rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.cta-btn { display: inline-flex; align-items: center; gap: 0.625rem; padding: 1rem 2rem; background: #d42020; color: #ffffff; border-radius: 0.75rem; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.25s ease; }
.cta-btn:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(212, 32, 32, 0.25); }

/* Related Features */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.related-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 0.875rem; text-decoration: none; transition: all 0.2s ease; }
.related-card:hover { border-color: rgba(212, 32, 32, 0.2); transform: translateX(4px); }
.related-card i { font-size: 1.25rem; color: #d42020; }
.related-card span { font-size: 0.9rem; font-weight: 500; color: #1a1a1a; }

/* Question Examples (Ask Me) */
.question-examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.question-example { padding: 1.25rem 1.5rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 1rem; font-size: 0.9rem; color: #57534e; font-style: italic; transition: all 0.3s ease; position: relative; padding-left: 3rem; }
.question-example::before { content: '\201C'; position: absolute; left: 1rem; top: 0.75rem; font-size: 2rem; color: #d42020; font-family: "Exo 2", sans-serif; line-height: 1; }
.question-example:hover { border-color: rgba(212, 32, 32, 0.25); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 32, 32, 0.06); }

/* Prashna Type Cards */
.prashna-types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.prashna-type-card { padding: 1.5rem 1rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 1rem; text-align: center; transition: all 0.3s ease; }
.prashna-type-card:hover { border-color: rgba(212, 32, 32, 0.25); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(212, 32, 32, 0.08); }
.prashna-type-card i { font-size: 2rem; color: #d42020; margin-bottom: 0.75rem; display: block; }
.prashna-type-card h4 { font-size: 0.9rem; font-weight: 600; color: #1a1a1a; margin: 0; }

/* Life Area Cards */
.life-area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; margin-top: 2rem; }
.life-area-card { padding: 1.25rem 0.75rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 1rem; text-align: center; transition: all 0.3s ease; }
.life-area-card:hover { border-color: rgba(212, 32, 32, 0.25); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(212, 32, 32, 0.06); }
.life-area-card i { font-size: 1.75rem; color: #d42020; margin-bottom: 0.5rem; display: block; }
.life-area-card h4 { font-size: 0.8rem; font-weight: 600; color: #1a1a1a; margin: 0; }

/* Remedy Type Cards */
.remedy-types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-top: 2rem; }
.remedy-type-card { padding: 1.5rem 1rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 1rem; text-align: center; transition: all 0.3s ease; }
.remedy-type-card:hover { border-color: rgba(212, 32, 32, 0.25); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(212, 32, 32, 0.08); }
.remedy-type-card i { font-size: 2rem; color: #d42020; margin-bottom: 0.75rem; display: block; }
.remedy-type-card h4 { font-size: 0.9rem; font-weight: 600; color: #1a1a1a; margin-bottom: 0.25rem; }
.remedy-type-card p { font-size: 0.75rem; color: #57534e; margin: 0; }

/* Sade Sati Phase Cards */
.phase-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.phase-card { padding: 2rem 1.5rem; background: #ffffff; border: 2px solid #f5e8d2; border-radius: 1rem; text-align: center; transition: all 0.3s ease; }
.phase-card:hover { border-color: rgba(212, 32, 32, 0.25); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(212, 32, 32, 0.08); }
.phase-card-icon { font-size: 2.5rem; color: #d42020; margin-bottom: 1rem; }
.phase-card h4 { font-size: 1.125rem; font-weight: 700; color: #1a1a1a; margin-bottom: 0.5rem; }
.phase-card .phase-duration { font-size: 0.8rem; font-weight: 600; color: #d42020; margin-bottom: 0.75rem; }
.phase-card p { font-size: 0.85rem; color: #57534e; line-height: 1.65; margin: 0; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .advantage-row, .advantage-row:nth-child(even) { flex-direction: column; text-align: center; }
    .advantage-icon-box { width: 100px; height: 100px; font-size: 2.5rem; }
    .section-title { font-size: 1.5rem; }
    .quality-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-section { padding: 2rem 1.5rem; }
    .phase-cards { grid-template-columns: 1fr; }
}
