/* Terms and Conditions Page Styles */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --accent-color: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    margin-bottom: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

/* Main Content */
.main-content {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.content-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.section-content ul,
.section-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.section-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.section-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.highlight-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.contact-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-section p {
    margin-bottom: 0.5rem;
}

.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Footer */
.page-footer {
    background: var(--text-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-card {
        padding: 2rem 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media print {
    .page-header,
    .page-footer {
        display: none;
    }

    .content-card {
        box-shadow: none;
        padding: 0;
    }

    body {
        background: white;
    }
}