/* Terms of Service Page Styles */

.terms-main {
    min-height: calc(100vh - 200px);
}

.terms-hero {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.terms-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.terms-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.terms-subtitle {
    font-size: 1.375rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.terms-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.9;
}

.terms-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-content {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
}

.terms-article {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.terms-section {
    margin-bottom: 3.5rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #ed8936;
    display: inline-block;
}

.terms-section h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-section p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}

.terms-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: #4a5568;
    line-height: 1.8;
}

.terms-section ul li {
    margin-bottom: 0.875rem;
}

.terms-section ul li::marker {
    color: #ed8936;
}

.terms-section strong {
    color: #2d3748;
    font-weight: 600;
}

.info-box {
    background: linear-gradient(135deg, #ebf4ff 0%, #e6f2ff 100%);
    border-left: 5px solid #4299e1;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 15px rgba(66, 153, 225, 0.15);
}

.info-box.warning {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border-left-color: #ed8936;
    box-shadow: 0 2px 15px rgba(237, 137, 54, 0.15);
}

.info-box-icon {
    font-size: 2.5rem;
    color: #4299e1;
    flex-shrink: 0;
}

.info-box.warning .info-box-icon {
    color: #dd6b20;
}

.info-box-content h4 {
    font-size: 1.375rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-box-content p {
    color: #4a5568;
    margin-bottom: 0;
    font-size: 1.0625rem;
}

.contact-info {
    background: #f7fafc;
    padding: 1.75rem;
    border-radius: 10px;
    margin: 2rem 0;
    border: 2px solid #e2e8f0;
}

.contact-info p {
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: #ed8936;
    width: 24px;
    font-size: 1.125rem;
}

.contact-info a {
    color: #ed8936;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.related-links {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2.5rem;
    border: 2px solid #e2e8f0;
}

.related-links h3 {
    font-size: 1.375rem;
    color: #2d3748;
    margin-bottom: 1.25rem;
}

.related-links ul {
    list-style: none;
    margin: 0;
    display: flex;
    padding: 0;
}

.related-links ul li {
    margin-bottom: 0.875rem;
    padding-left: 0;
}

.related-links ul li:last-child {
    margin-bottom: 0;
}

.related-links ul li a {
    color: #ed8936;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.related-links ul li a:hover {
    background: var(--white);
    padding-left: 1rem;
}

.terms-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3 i {
    color: #ed8936;
}

.sidebar-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-toc li {
    margin-bottom: 0.75rem;
}

.sidebar-toc li a {
    color: #718096;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.9375rem;
}

.sidebar-toc li a:hover {
    background: #f7fafc;
    color: #ed8936;
    padding-left: 1rem;
}

.sidebar-cta {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.sidebar-cta h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--white);
    color: #ed8936;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 968px) {
    .terms-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .terms-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .related-links ul {
        flex-direction: column;
    }
    .terms-hero {
        padding: 3rem 1.5rem;
    }

    .terms-hero h1 {
        font-size: 2.25rem;
    }

    .terms-subtitle {
        font-size: 1.0625rem;
    }

    .terms-meta {
        font-size: 0.875rem;
        gap: 1rem;
        flex-direction: column;
    }

    .terms-content {
        padding: 3rem 1rem;
    }

    .terms-article {
        padding: 2rem 1.25rem;
    }

    .terms-section {
        margin-bottom: 2.5rem;
    }

    .terms-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .terms-section h3 {
        font-size: 1.125rem;
        margin-top: 1.5rem;
    }

    .terms-section p {
        font-size: 1rem;
    }

    .terms-section ul {
        /* padding-left: 1.5rem; */
    }

    .info-box {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .info-box-icon {
        font-size: 2rem;
    }

    .info-box-content h4 {
        font-size: 1.125rem;
    }

    .info-box-content p {
        font-size: 0.9375rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .related-links {
        padding: 1.5rem;
    }

    .related-links h3 {
        font-size: 1.125rem;
    }

    .sidebar-card,
    .sidebar-cta {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .terms-hero {
        padding: 2.5rem 1rem;
    }

    .terms-hero h1 {
        font-size: 1.875rem;
    }

    .terms-subtitle {
        font-size: 1rem;
    }

    .terms-content {
        padding: 2rem 0.75rem;
    }

    .terms-article {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .terms-section h2 {
        font-size: 1.375rem;
    }

    .terms-section h3 {
        font-size: 1.0625rem;
    }

    .terms-section p,
    .info-box-content p {
        font-size: 0.9375rem;
    }

    .info-box {
        padding: 1.25rem;
    }

    .contact-info,
    .related-links {
        padding: 1.25rem;
    }
}
