/* ========== LEGAL PAGES SPECIFIC STYLES (Privacy Policy & Terms) ========== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Legal Content Sections */
.terms-section, .policy-section {
    padding: 40px 0;
}

.terms-content, .policy-content {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.terms-content h2, .policy-content h2 {
    font-size: 1.6rem;
    color: #2d3436;
    margin-top: 25px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff6b6b;
    display: inline-block;
}

.terms-content h3, .policy-content h3 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-content p, .policy-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.terms-content ul, .terms-content ol,
.policy-content ul, .policy-content ol {
    margin: 10px 0 10px 25px;
    color: #555;
    line-height: 1.6;
}

.terms-content li, .policy-content li {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

/* Last Updated Box */
.last-updated {
    background: #f0f0f0;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.table-of-contents h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.table-of-contents ul {
    columns: 2;
    column-gap: 30px;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 6px;
}

.table-of-contents a {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 0.9rem;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Highlight Box */
.highlight {
    background: #ff6b6b10;
    padding: 15px 20px;
    border-left: 4px solid #ff6b6b;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 15px 0;
    color: #856404;
    border-radius: 0 8px 8px 0;
}

/* Legal Pages Responsive */
@media (max-width: 992px) {
    .table-of-contents ul {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .terms-content, .policy-content {
        padding: 20px;
    }
    .terms-content h2, .policy-content h2 {
        font-size: 1.3rem;
    }
    .terms-content p, .policy-content p {
        font-size: 0.9rem;
    }
}