/**
 * Terms of Service Page Styles
 * Clean, readable layout with proper typography and spacing
 */

/* ===================================
   TOS Page Layout
   =================================== */
.tos-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.tos-main {
    padding: 20px 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.tos-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 50px 60px;
    margin: 0 auto;
}

/* ===================================
   Header Styles
   =================================== */
.tos-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f3f5;
}

.tos-title {
    color: #2d3748;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.tos-subtitle {
    color: #718096;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* ===================================
   Section Styles
   =================================== */
.tos-section {
    margin-bottom: 45px;
}

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

.tos-section-title {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F28120;
    display: inline-block;
}

.tos-subsection-title {
    color: #4a5568;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.tos-content-text {
    color: #4a5568;
    line-height: 1.8;
    font-size: 16px;
}

.tos-content-text p {
    margin-bottom: 20px;
}

.tos-content-text p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Lists and Links
   =================================== */
.tos-list {
    margin: 20px 0;
    padding-left: 25px;
}

.tos-list li {
    color: #4a5568;
    margin-bottom: 12px;
    line-height: 1.7;
}

.tos-list li:last-child {
    margin-bottom: 0;
}

.tos-link {
    color: #F28120;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.tos-link:hover {
    color: #E67300;
    border-bottom-color: #E67300;
}

.tos-link:focus {
    outline: 2px solid #F28120;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ===================================
   Contact Information
   =================================== */
.tos-contact-info {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.tos-contact-info p {
    margin-bottom: 15px;
}

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

.tos-contact-info strong {
    color: #2d3748;
    font-weight: 600;
}

/* ===================================
   Footer Styles
   =================================== */
.tos-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.tos-footer-text {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* ===================================
   Mobile Responsive Design
   =================================== */
@media (max-width: 768px) {
    .tos-page {
        padding: 20px 0;
    }
    
    .tos-content {
        padding: 30px 25px;
        border-radius: 8px;
    }
    
    .tos-title {
        font-size: 32px;
    }
    
    .tos-section-title {
        font-size: 20px;
    }
    
    .tos-subsection-title {
        font-size: 16px;
    }
    
    .tos-content-text {
        font-size: 15px;
    }
    
    .tos-list {
        padding-left: 20px;
    }
    
    .tos-contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .tos-content {
        padding: 25px 20px;
    }
    
    .tos-title {
        font-size: 28px;
    }
    
    .tos-section-title {
        font-size: 18px;
    }
    
    .tos-content-text {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .tos-list {
        padding-left: 18px;
    }
    
    .tos-list li {
        margin-bottom: 10px;
    }
    
    .tos-contact-info {
        padding: 15px;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .tos-page {
        background: #ffffff;
        padding: 0;
    }
    
    .tos-content {
        box-shadow: none;
        border: none;
        padding: 0;
        max-width: 100%;
    }
    
    .tos-link {
        color: #000000;
        text-decoration: underline;
    }
    
    .tos-footer {
        page-break-inside: avoid;
    }
}
