/* Terms of Service Page - Minimal CSS */

/* Hero Section */
body .hero {
    padding-top: 95px !important;
    padding-bottom: 30px !important;
    background: var(--hero-bg);
    text-align: center;
    min-height: auto !important;
}

.hero h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 8px;
}

.last-updated {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    font-style: italic;
}

/* Terms Content */
.terms-content {
    padding: 80px 0;
    background: var(--about-bg);
}

.terms-document {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.terms-section {
    margin-bottom: 32px;
}

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

.terms-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.terms-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 12px 0;
}

.terms-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
}

.terms-section ul,
.terms-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.terms-section li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 15px;
}

.terms-section li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.attribution-examples {
    background: var(--accent-bg);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.attribution-examples ul {
    margin-bottom: 0;
}

.attribution-examples li {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.attribution-examples li:last-child {
    margin-bottom: 0;
}

.contact-info {
    background: var(--accent-bg);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

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

/* Footer Links Override - All on Same Row */
.footer-links {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px !important;
        padding-bottom: 20px !important;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .terms-document {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .terms-section h2 {
        font-size: 20px;
    }
    
    .terms-section h3 {
        font-size: 16px;
    }
    
    .terms-section p,
    .terms-section li {
        font-size: 14px;
    }
    
    .attribution-examples li {
        font-size: 12px;
    }
    
    /* Keep footer columns on same row for tablet */
    .footer-links {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .terms-content {
        padding: 60px 0;
    }
    
    .terms-document {
        padding: 24px 20px;
        margin: 0 8px;
    }
    
    .terms-section {
        margin-bottom: 24px;
    }
    
    .terms-section h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .terms-section h3 {
        font-size: 15px;
        margin: 16px 0 8px 0;
    }
    
    .attribution-examples,
    .contact-info {
        padding: 16px;
    }
    
    /* Stack footer columns vertically on mobile only */
    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}