/* AEO - AI Engine Optimization Styles */

/* Summary Block */
.aeo-product-summary {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #0078d4;
    border-radius: 4px;
}

.aeo-one-liner {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #333;
}

.aeo-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aeo-highlights li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: #555;
}

.aeo-highlights li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Section Titles */
.aeo-section-title {
    font-size: 1.4em;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
    color: #333;
}

/* Why Recommend Block */
.aeo-why-recommend {
    margin: 20px 0;
}

.aeo-recommendation {
    background: #f0f7ff;
    border-left: 4px solid #0078d4;
    padding: 20px;
    margin: 0;
    border-radius: 4px;
    font-style: italic;
    line-height: 1.6;
    color: #444;
}

/* Rich Content Block */
.aeo-rich-content {
    margin: 20px 0;
}

.aeo-best-for p,
.aeo-use-cases-text {
    line-height: 1.6;
    color: #555;
}

/* FAQ Block */
.aeo-product-faq {
    margin: 20px 0;
}

.aeo-faq-list {
    margin: 0;
}

.aeo-faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}

.aeo-faq-question {
    padding: 15px 40px 15px 15px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    background: #fafafa;
    position: relative;
    transition: background 0.2s;
}

.aeo-faq-question:hover {
    background: #f0f0f0;
}

.aeo-faq-question::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
    color: #666;
    transition: transform 0.2s;
}

.aeo-faq-question[aria-expanded="true"]::after {
    content: "\2212";
}

.aeo-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
}

.aeo-faq-answer.aeo-faq-answer--open {
    max-height: 500px;
    padding: 15px;
    border-top: 1px solid #e5e5e5;
}

/* Comparison Table */
.aeo-product-comparison {
    margin: 20px 0;
}

.aeo-comparison-table-wrapper {
    overflow-x: auto;
}

.aeo-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.aeo-comparison-table th,
.aeo-comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e5e5e5;
    vertical-align: top;
}

.aeo-comparison-table thead th {
    background: #f5f5f5;
    font-weight: 600;
}

.aeo-compare-label {
    font-weight: 600;
    background: #fafafa;
    white-space: nowrap;
    width: 150px;
}

.aeo-compare-current {
    background: #f0f7ff !important;
}

.aeo-compare-badge {
    display: inline-block;
    background: #0078d4;
    color: #fff;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 5px;
    font-weight: normal;
}

.aeo-comparison-table a {
    color: #0078d4;
    text-decoration: none;
}

.aeo-comparison-table a:hover {
    text-decoration: underline;
}
