/* Modernized terms.css */
:root {
    --primary-color: #4361ee;
    --primary-light: #4895ef;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --border-radius: 12px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

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

header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: var(--shadow-sm);
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

section {
    padding: 40px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-bottom: 30px;
}

h2 {
    color: var(--primary-color);
    font-size: 1.5em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

h3 {
    color: #495057;
    font-size: 1.25em;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: #4a4a4a;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

ul, ol {
    padding-left: 20px;
    margin-bottom: 20px;
    color: #4a4a4a;
}

li {
    margin-bottom: 10px;
}

li strong {
    color: #333;
}

/* Custom list markers */
ul {
    list-style: none;
}

ul li {
    position: relative;
    padding-left: 15px;
}

ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 0 0 1px var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background-color: var(--card-bg);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    white-space: nowrap;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #f8f9fa;
}

footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.9em;
}

footer a {
    color: var(--text-muted);
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    header {
        border-radius: 0;
        padding: 30px 20px;
    }
    
    section {
        border-radius: 0;
        padding: 25px 20px;
        box-shadow: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    header h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    h3 {
        font-size: 1.1em;
    }
}
