:root {
    --primary-color: #87CEEB; /* Sky Blue */
    --secondary-color: #000080; /* Navy Blue */
    --bg-color: #F0F4F8;
    --card-bg: #FFFFFF;
    --text-main: #2D3748;
    --text-muted: #718096;
    --privacy-accent: #4FD1C5;
    --terms-accent: #63B3ED;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Dynamic Header with Gradient */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: clamp(40px, 8vw, 60px) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.app-icon {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: clamp(60px, 15vw, 80px);
    height: clamp(60px, 15vw, 80px);
    border-radius: clamp(16px, 4vw, 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: clamp(30px, 8vw, 40px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}

h1 {
    margin: 0;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.last-updated {
    display: inline-block;
    background: rgba(0,0,0,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 15px;
    color: rgba(255,255,255,0.9);
}

/* Layout */
.container {
    width: 100%;
    max-width: 900px;
    margin: -20px auto 40px;
    padding: 0 16px;
    position: relative;
    z-index: 10;
}

.content-card {
    background-color: var(--card-bg);
    padding: clamp(20px, 5vw, 40px);
    border-radius: clamp(16px, 4vw, 24px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Sections */
section {
    margin-bottom: clamp(24px, 5vw, 40px);
    padding-bottom: clamp(20px, 4vw, 30px);
    border-bottom: 1px solid #E2E8F0;
}

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

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.section-icon {
    width: clamp(30px, 8vw, 36px);
    height: clamp(30px, 8vw, 36px);
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: clamp(16px, 4vw, 18px);
    flex-shrink: 0;
}

h2 {
    color: var(--secondary-color);
    margin: 0;
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    font-weight: 700;
}

p {
    margin: 0 0 15px 0;
    color: var(--text-main);
    word-break: break-word;
}

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

li {
    margin-bottom: 10px;
    word-break: break-word;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 16px;
    background-color: white;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Desktop */
@media (min-width: 768px) {
    .container {
        margin: -40px auto 60px;
        padding: 0 20px;
    }
    footer {
        padding: 40px 20px;
        gap: 20px;
    }
    .footer-links { gap: 30px; }
}
