/* ========== Content Sections (How It Works, Features, FAQ) ========== */
.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.content-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.content-icon {
    font-size: 2.5rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.content-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #f8fafc;
}

.content-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
}

.content-text p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.content-text h2 {
    font-size: 1.5rem;
    color: #f8fafc;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-text h3 {
    font-size: 1.2rem;
    color: #f59e0b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content-text strong {
    color: #f59e0b;
}

.content-text ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.content-text ul li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.content-text a {
    color: #f59e0b;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.content-text a:hover {
    opacity: 0.8;
}

/* ========== FAQ Section ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.faq-item summary {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f8fafc;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #f59e0b;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 1rem;
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========== Footer Navigation ========== */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links,
.footer-converters {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a,
.footer-converters a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-converters a:hover {
    color: #f59e0b;
}

.footer-converters {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
}

/* ========== Legal Pages ========== */
.legal-page {
    padding-top: 8rem;
}

.legal-updated {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

/* ========== Responsive for Content Sections ========== */
@media screen and (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 3rem 0;
    }

    .faq-item {
        padding: 1.2rem 1.5rem;
    }

    .footer-links,
    .footer-converters {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}