/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Header styles */
header {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 2rem;
    border-radius: 20px;
    position: relative;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 300;
}

.back-button {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Main content */
main {
    padding: 2rem;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Section styles */
section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

h3 {
    font-size: 1.3rem;
    color: #34495e;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
}

ul {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact info styling */
.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.3rem;
    text-align: left;
}

.last-updated {
    font-style: italic;
    color: #7f8c8d;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    text-align: center;
    padding: 2rem;
    margin: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .back-button {
        position: static;
        margin-bottom: 1rem;
        display: inline-block;
    }
    
    main {
        padding: 1rem;
    }
    
    .terms-content {
        padding: 2rem;
        margin: 0;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    footer {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 1rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .terms-content {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    ul {
        margin-left: 1.5rem;
    }
}

