/**
 * Feature Box - Frontend Styles
 */

/* ========================================
   BASE STYLES (shared)
   ======================================== */
.feature-box {
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    font-family: inherit;
}

.feature-box-header {
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-box-header h3 {
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.feature-box-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.feature-box-content {
    padding: 1.5rem 2rem;
}

.feature-box-intro {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.feature-box-intro strong {
    color: #1a1a1a;
}

.feature-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-box-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.65;
    font-size: 1rem;
    color: #333;
    list-style: none !important;
}

.feature-box-list li::marker {
    display: none;
}

.feature-box-list li:last-child {
    margin-bottom: 0;
}

.feature-box-list li::before {
    content: "•";
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: -2px;
    line-height: 1;
}

.feature-box-list li strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ========================================
   PRIMARY VARIATION (Pink/Magenta)
   ======================================== */
.feature-box-primary {
    background: #f7d4df;
    border: 1px solid #ca1d56;
}

.feature-box-primary .feature-box-header {
    background: #ca1d56;
}

.feature-box-primary .feature-box-list li::before {
    color: #2a95a4;
}

/* ========================================
   SECONDARY VARIATION (Teal/Cyan)
   ======================================== */
.feature-box-secondary {
    background: #d4f0f7;
    border: 1px solid #2a95a4;
}

.feature-box-secondary .feature-box-header {
    background: #2a95a4;
}

.feature-box-secondary .feature-box-list li::before {
    color: #ca1d56;
}

/* ========================================
   Dark Mode Support
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Primary Dark */
    .feature-box-primary {
        background: #f7d4df;
        border-color: #ca1d56;
    }
    
    .feature-box-primary .feature-box-header {
        background: #ca1d56;
    }
    
    /* Secondary Dark */
    .feature-box-secondary {
        background: #d4f0f7;
        border-color: #2a95a4;
    }
    
    .feature-box-secondary .feature-box-header {
        background: #2a95a4;
    }
    
    /* Shared Dark Styles */
    .feature-box-content {
        color: #e0e0e0;
    }
    
    .feature-box-intro,
    .feature-box-list li {
        color: #d0d0d0;
    }
    
    .feature-box-intro strong,
    .feature-box-list li strong {
        color: #f0f0f0;
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 600px) {
    .feature-box-header {
        padding: 0.875rem 1.25rem;
    }
    
    .feature-box-header h3 {
        font-size: 1.1rem;
    }
    
    .feature-box-content {
        padding: 1.25rem;
    }
    
    .feature-box-intro {
        font-size: 1rem;
    }
    
    .feature-box-list li {
        font-size: 0.95rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .feature-box {
        border: 2px solid #1a3a2f;
        break-inside: avoid;
    }
    
    .feature-box-header {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
