/* Terms & Conditions Specific Styles */

.terms-hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    color: white;
    text-align: center;
}

.terms-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.effective-date {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.terms-content {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.terms-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.terms-intro {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    margin-bottom: 3rem;
}

.terms-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1e40af;
    margin: 0;
}

.terms-intro a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.terms-intro a:hover {
    text-decoration: underline;
}

.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.terms-section:last-of-type {
    border-bottom: none;
}

.terms-section h2 {
    color: #1f2937;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.section-number {
    color: #2563eb;
    font-weight: 700;
}

.terms-section h3 {
    color: #374151;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.terms-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1rem;
}

.terms-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.terms-section ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.terms-section ul li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0.5rem;
}

.terms-section strong {
    color: #1f2937;
    font-weight: 600;
}

.terms-subsection {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 3px solid #f59e0b;
}

.terms-subsection h3 {
    color: #d97706;
    margin-top: 0;
}

.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    border-bottom: none;
}

.highlight h2 {
    color: #92400e;
}

.highlight ul li {
    color: #78350f;
}

.highlight ul li::before {
    color: #f59e0b;
}

.privacy-guarantee {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: 2px solid #10b981;
}

.privacy-guarantee h3 {
    color: #059669;
    margin-top: 0;
    font-size: 1.3rem;
}

.privacy-guarantee ul li {
    color: #065f46;
    font-weight: 500;
}

.privacy-guarantee ul li::before {
    color: #10b981;
}

.warning-text {
    background: #fef2f2;
    color: #991b1b;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border-left: 3px solid #ef4444;
    font-weight: 500;
    margin-top: 1rem;
}

.contact-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 2rem;
    border-radius: 8px;
    border-bottom: none;
}

.contact-section h2 {
    color: #1e40af;
}

.contact-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-box h3 {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.contact-box a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.contact-box a:hover {
    color: #f59e0b;
}

.terms-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .terms-footer,
    .hamburger {
        display: none;
    }

    .terms-hero {
        margin-top: 0;
        padding: 2rem 0;
        background: white;
        color: black;
    }

    .terms-wrapper {
        box-shadow: none;
        padding: 0;
    }

    .terms-section {
        page-break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-hero {
        padding: 6rem 0 3rem;
    }

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

    .effective-date {
        font-size: 1rem;
    }

    .terms-wrapper {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .terms-section ul li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }

    .terms-footer {
        flex-direction: column;
        align-items: center;
    }

    .terms-footer .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-box {
        padding: 1.5rem;
    }
}

/* Accessibility */
.terms-section:focus-within {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Link styles within terms */
.terms-section a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.terms-section a:hover {
    border-bottom-color: #2563eb;
}
