/* Modern, Premium Responsive Styles for Privacy Policy */
:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-color: #2563eb;
    --accent-light: #eff6ff;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0f172a;
        --card-bg: #1e293b;
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --accent-color: #3b82f6;
        --accent-light: rgba(59, 130, 246, 0.12);
        --border-color: #334155;
        --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    padding: 24px 16px;
    position: relative;
    min-height: 100vh;
}

/* Background Ambient Glow */
.background-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 350px;
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Section */
.app-header {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
}

.app-header h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.app-header .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
}

.meta-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    background-color: var(--card-bg);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* Main Card */
.content-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.intro-box {
    background: var(--accent-light);
    border-left: 4px solid var(--accent-color);
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 36px;
    font-size: 15px;
    color: var(--text-secondary);
}

.intro-box p {
    margin: 0;
}

/* Sections */
.policy-section {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

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

.policy-section h2 {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-section h2 span {
    color: var(--accent-color);
}

.policy-section p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-size: 15px;
}

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

.policy-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.policy-section ul li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 8px;
}

.policy-section ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--accent-color);
    font-weight: bold;
}

/* Grid Layout for Section 1 Items */
.grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 640px) {
    .grid-list {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-item {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.grid-item .item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.grid-item .icon {
    font-size: 16px;
}

.grid-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact Section Box */
.contact-box {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background-color: var(--accent-light);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-box svg {
    color: var(--accent-color);
}

.contact-box a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Footer */
.app-footer {
    text-align: center;
    margin-top: 32px;
    padding-bottom: 24px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Mobile Responsiveness Fine-Tuning */
@media (max-width: 480px) {
    body {
        padding: 16px 12px;
    }
    
    .app-header h1 {
        font-size: 22px;
    }
    
    .content-card {
        padding: 24px 18px;
    }

    .policy-section h2 {
        font-size: 17px;
    }
}
