/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --section-bg: #f9fafb;
    --border-color: #e5e7eb;
    --accent-color: #dbeafe;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.effective-date {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Main Content */
main {
    background: var(--background);
}

section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--section-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

section:nth-child(even) {
    background: var(--background);
    border-left-color: var(--secondary-color);
}

/* Typography */
h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-dark);
}

ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

li {
    margin-bottom: 8px;
    color: var(--text-dark);
}

strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Third-Party Services */
.third-party-service {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.third-party-service h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.third-party-service ul {
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 2px solid var(--accent-color);
    margin-top: 15px;
}

.info-box p {
    margin-bottom: 12px;
}

.info-box ul {
    margin-bottom: 12px;
}

/* Google Play Section */
.google-play-section {
    background: var(--accent-color);
    border-left-color: var(--primary-color);
}

/* Contact Email */
.contact-email {
    font-size: 1.1rem;
}

.contact-email a {
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 2px solid var(--border-color);
    color: var(--text-light);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 2rem;
    }

    .effective-date {
        font-size: 0.85rem;
    }

    section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    body {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    section {
        padding: 15px 12px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    header {
        background: white;
        color: var(--text-dark);
        box-shadow: none;
    }

    section {
        page-break-inside: avoid;
        border-left: none;
        border: 1px solid var(--border-color);
    }

    a {
        color: var(--text-dark);
        text-decoration: underline;
    }
}
