/* Apple-style Terms and Conditions CSS */

/* Import base styles */
@import url('style.css');

/* Terms-specific styles */
.terms-header {
    background: #f5f5f7;
    border-bottom: 1px solid #d2d2d7;
    padding: 2rem 0;
    margin-top: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(245, 245, 247, 0.95);
}

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 1rem 0 0 0;
    letter-spacing: -0.02em;
}

.back-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.back-link:hover {
    color: #0051a2;
}

.terms-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 3rem 20px;
    color: #1d1d1f;
    font-size: 1rem;
    line-height: 1.75;
}

.terms-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d2d2d7;
}

.last-updated {
    color: #6e6e73;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.1rem;
    color: #1d1d1f;
    font-weight: 400;
}

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

.terms-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    letter-spacing: -0.01em;
}

.terms-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 2rem 0 1rem 0;
}

.terms-section p {
    margin-bottom: 1.25rem;
    color: #1d1d1f;
    font-size: 1rem;
    line-height: 1.75;
}

.terms-section ul {
    margin: 1.25rem 0;
    padding-left: 2rem;
}

.terms-section li {
    margin-bottom: 0.75rem;
    color: #1d1d1f;
    line-height: 1.75;
}

.subsection {
    margin-left: 1.5rem;
    margin-top: 1.5rem;
}

.contact-info {
    background: #f5f5f7;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: #1d1d1f;
    font-weight: 600;
}

.terms-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #d2d2d7;
    text-align: center;
}

.terms-footer p {
    color: #6e6e73;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Footer navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.footer-nav a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #0051a2;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 1.75rem;
    }
    
    .terms-content {
        padding: 2rem 15px;
    }
    
    .terms-section h2 {
        font-size: 1.5rem;
    }
    
    .subsection {
        margin-left: 0.75rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Print styles */
@media print {
    .terms-header {
        position: static;
        background: white;
    }
    
    .back-link,
    footer {
        display: none;
    }
    
    .terms-section {
        page-break-inside: avoid;
    }
    
    .terms-content {
        max-width: 100%;
        font-size: 0.9rem;
    }
}