/* Legal Pages (Privacy & Terms) Styles */

/* Main Content Container */
.legal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 200px);
    padding: 60px 0;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Header Section */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #667eea;
}

.legal-header h1 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header .effective-date {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 500;
    display: inline-block;
    padding: 8px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.legal-header .effective-date strong {
    color: #2c3e50;
}

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.table-of-contents h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents h3::before {
    content: "📋";
    font-size: 24px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 12px;
}

.table-of-contents a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 8px;
}

.table-of-contents a::before {
    content: "→";
    font-weight: bold;
    transition: transform 0.3s ease;
}

.table-of-contents a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #764ba2;
    transform: translateX(5px);
}

.table-of-contents a:hover::before {
    transform: translateX(5px);
}

/* Content Section */
.legal-section {
    margin-bottom: 45px;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    padding-left: 15px;
    border-left: 5px solid #667eea;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-section h2::before {
    content: attr(data-icon);
    font-size: 28px;
}

.legal-section p {
    color: #495057;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.legal-section strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Lists */
.legal-section ul,
.legal-section ol {
    margin: 20px 0;
    padding-left: 40px;
}

.legal-section ul li,
.legal-section ol li {
    color: #495057;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 12px;
    position: relative;
}

.legal-section ul li::marker {
    color: #667eea;
    font-weight: bold;
}

.legal-section ol li::marker {
    color: #667eea;
    font-weight: bold;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe4b5 100%);
    border-left: 5px solid #ffd700;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.highlight-box p {
    margin: 0;
    color: #856404;
}

.highlight-box strong {
    color: #533f03;
}

/* Important Notice Box */
.important-notice {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
    border-left: 5px solid #dc3545;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.important-notice::before {
    content: "⚠️ Important: ";
    font-weight: bold;
    color: #721c24;
}

.important-notice p {
    margin: 0;
    color: #721c24;
    display: inline;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f2 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-section p {
    margin: 0;
    font-size: 16px;
}

.contact-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Last Updated */
.last-updated {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
    color: #7f8c8d;
    font-size: 14px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 0;
    }

    .legal-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-header .effective-date {
        font-size: 14px;
    }

    .table-of-contents {
        padding: 20px;
    }

    .legal-section h2 {
        font-size: 24px;
        padding-left: 10px;
    }

    .legal-section p,
    .legal-section ul li,
    .legal-section ol li {
        font-size: 15px;
    }

    .legal-section ul,
    .legal-section ol {
        padding-left: 25px;
    }
}

@media (max-width: 576px) {
    .legal-header h1 {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .table-of-contents h3 {
        font-size: 18px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .legal-content {
        background: white;
    }

    .legal-wrapper {
        box-shadow: none;
        padding: 20px;
    }

    .table-of-contents {
        display: none;
    }

    .legal-header {
        border-bottom-color: #000;
    }
    
    .back-to-top {
        display: none;
    }
}

/* Contact Page Specific Styles */
.contact-method {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #9DBC98;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-method h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-method h3 i {
    color: #9DBC98;
    font-size: 22px;
}

.contact-method p {
    margin-bottom: 10px;
}

.contact-detail {
    font-weight: 600;
}

.contact-detail a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #9DBC98;
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-item p {
    margin: 0;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.social-link i {
    font-size: 20px;
}
