@import "style.css";

/*==================== PAGE SPECIFIC STYLES ====================*/

.page-section {
    padding: 120px 0 100px;
    min-height: 80vh;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a2e;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #4361ee;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #6b7280;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.faq-answer p {
    padding: 24px;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid #e5e7eb;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #4361ee;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* Privacy & Terms Styles */
.privacy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    color: #4b5563;
    line-height: 1.8;
}

.privacy-content h3,
.terms-content h3 {
    color: #1a1a2e;
    margin: 3rem 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.privacy-content p,
.terms-content p {
    margin-bottom: 1.5rem;
}

.privacy-content ul,
.terms-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-content li,
.terms-content li {
    margin-bottom: 0.8rem;
}

.last-updated {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 3rem;
}

/* Tutorials Grid */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer for subpages (using footer class from style.css) */
.footer-new {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-new .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-new .footer-brand .logo span {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4361ee, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-new .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 1rem 0;
}

.footer-new .footer-brand .legal {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-new .footer-links {
    display: contents;
}

.footer-new .footer-column h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-new .footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-new .footer-column a:hover {
    color: #fff;
}

.footer-new .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-new .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}
