/* ============================================
   SUBPAGE STYLES (DUK, Privatumo politika, Taisyklės)
   ============================================ */

/* Back button in nav */
.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-back:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

/* Subpage main */
.subpage {
    padding: 120px 0 80px;
    min-height: calc(100vh - 80px);
}
.subpage h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #0C2C56;
    margin-bottom: 40px;
}
.subpage .gold-text {
    background: linear-gradient(135deg, #C9983D, #E8C76B, #F5E29A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
}
.faq-item {
    border-bottom: 1px solid rgba(12, 44, 86, 0.08);
    margin-bottom: 0;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0C2C56;
    transition: color 0.3s ease;
    gap: 16px;
}
.faq-question:hover {
    color: #FFA419;
}
.faq-question i {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #FFA419;
    transition: transform 0.3s ease;
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 0;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 0 20px 0;
}
.faq-answer p {
    color: #4E5F70;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
}
.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 10px;
}
.faq-answer li {
    color: #4E5F70;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 6px;
}
.faq-answer a {
    color: #FFA419;
    font-weight: 600;
    text-decoration: underline;
}

/* Legal content */
.legal-content {
    max-width: 800px;
}
.legal-updated {
    font-size: 0.85rem;
    color: #7F8C9B;
    margin-bottom: 30px;
    font-style: italic;
}
.legal-content h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0C2C56;
    margin: 30px 0 12px;
    padding-top: 10px;
}
.legal-content p {
    color: #4E5F70;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}
.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.legal-content li {
    color: #4E5F70;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 6px;
}
.legal-content a {
    color: #FFA419;
    font-weight: 600;
    text-decoration: underline;
}

/* Footer mini */
.footer-mini {
    background: #0A1929;
    padding: 24px 0;
    text-align: center;
}
.footer-mini p {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}
.footer-mini a {
    color: #FFA419;
    text-decoration: none;
    font-weight: 500;
}
.footer-mini a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .subpage {
        padding: 100px 0 60px;
    }
    .subpage h1 {
        font-size: 1.8rem;
    }
    .faq-question {
        font-size: 0.9rem;
        padding: 16px 0;
    }
    .legal-content h2 {
        font-size: 1.1rem;
    }
}