/* Terms & Privacy Page Specific Styles */

/* Terms Hero */
.terms-hero,
.privacy-hero {
    padding: 8rem 0 4rem 0;
    text-align: center;
}

.terms-title,
.privacy-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-yellow), var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.terms-subtitle,
.privacy-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.last-updated {
    display: inline-block;
    background: rgba(250, 204, 21, 0.1);
    color: var(--primary-yellow);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    margin-top: 1rem;
    border: 1px solid rgba(250, 204, 21, 0.2);
}

/* Terms Content */
.terms-content,
.privacy-content {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Document Navigation */
.document-nav {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    position: sticky;
    top: 2rem;
    z-index: 10;
}

.document-nav h3 {
    color: var(--primary-yellow);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-bottom: 0.5rem;
}

.nav-list a {
    color: var(--text-gray-300);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-yellow);
    border-left-color: var(--primary-yellow);
    transform: translateX(8px);
}

/* Document Sections */
.document-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.02));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(250, 204, 21, 0.1);
}

.section-title {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(250, 204, 21, 0.2);
}

.section-content h3 {
    color: var(--text-white);
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.section-content h4 {
    color: var(--primary-yellow);
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
}

.section-content p {
    color: var(--text-gray-300);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.section-content ul,
.section-content ol {
    color: var(--text-gray-300);
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.7;
}

.section-content li {
    margin-bottom: 0.8rem;
}

.section-content li strong {
    color: var(--text-white);
}

.section-content a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-content a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Important Notices */
.important-notice {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(251, 191, 36, 0.05));
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-notice .notice-icon {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.important-notice h4 {
    color: var(--primary-yellow) !important;
    margin: 0 0 0.5rem 0 !important;
    display: flex;
    align-items: center;
}

.important-notice p {
    margin: 0;
    color: var(--text-gray-200) !important;
}

/* Contact Information */
.contact-info-box {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.contact-info-box h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.contact-info-box p {
    color: var(--text-gray-300);
    margin-bottom: 0.5rem;
}

.contact-info-box a {
    color: var(--primary-yellow);
    font-weight: 600;
}

/* Table of Contents */
.table-of-contents {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(250, 204, 21, 0.1);
}

.table-of-contents h4 {
    color: var(--primary-yellow);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.5rem;
}

.table-of-contents a {
    color: var(--text-gray-300);
    text-decoration: none;
}

.table-of-contents a:hover {
    color: var(--primary-yellow);
}

/* Definition Lists */
.definition-list {
    margin: 2rem 0;
}

.definition-list dt {
    color: var(--primary-yellow);
    font-weight: 700;
    margin: 1.5rem 0 0.5rem 0;
}

.definition-list dd {
    color: var(--text-gray-300);
    margin: 0 0 1rem 1.5rem;
    line-height: 1.6;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, var(--primary-yellow), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-title,
    .privacy-title {
        font-size: 2rem;
    }
    
    .terms-subtitle,
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .document-nav {
        position: static;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .document-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-content ul,
    .section-content ol {
        margin-left: 1.5rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}
