/* Terms of Service - Apple-style Design */

.terms-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.terms-hero .container {
    position: relative;
    z-index: 2;
}

.terms-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.terms-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.terms-hero .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Terms Content */
.terms-content {
    padding: 80px 0;
    background: #f8fafc;
}

.terms-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.terms-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.terms-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-section h2 i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.terms-section p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.terms-section .intro-text {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Timeline Styles */
.payment-timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #e2e8f0;
    border-left-color: #764ba2;
}

.timeline-marker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Contact Information */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.feature-item i {
    color: #667eea;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.feature-item span {
    color: #475569;
    font-weight: 500;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-box i {
    color: #d97706;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.warning-box p {
    color: #92400e;
    margin: 0;
    font-weight: 600;
}

/* Call to Action */
.terms-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
}

.terms-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.terms-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-button {
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #f8fafc;
    color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Footer Info */
.terms-footer {
    background: #1e293b;
    padding: 40px 0;
    text-align: center;
}

.terms-footer p {
    color: #94a3b8;
    margin: 0.5rem 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .terms-hero {
        padding: 80px 0 60px;
    }
    
    .terms-hero h1 {
        font-size: 2.5rem;
    }
    
    .terms-section {
        padding: 24px;
        margin-bottom: 24px;
    }
    
    .terms-section h2 {
        font-size: 1.6rem;
    }
    
    .terms-section h2 i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-marker {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .terms-cta h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .terms-hero {
        background: #667eea !important;
        color: white !important;
        padding: 40px 0 !important;
    }
    
    .terms-section {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        break-inside: avoid;
        margin-bottom: 20px !important;
    }
    
    .terms-cta {
        display: none !important;
    }
    
    .cta-button {
        display: none !important;
    }
}
