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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 0 -20px;
    margin-bottom: 40px;
}

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

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main Content */
main {
    flex: 1;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #34495e;
}

/* Intro Section */
.intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.intro p {
    font-size: 1.1rem;
    color: #666;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.app-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.app-card h3 {
    margin-bottom: 15px;
}

.app-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.app-details {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.age-rating, .platform {
    background: #e9ecef;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

.privacy-link {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.privacy-link:hover {
    background: #0056b3;
}

/* Contact Section */
.contact {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    border-top: 1px solid #e9ecef;
    margin-top: 60px;
}

.last-updated {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Privacy Policy Styles */
.privacy-policy {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.privacy-policy h2 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e9ecef;
}

.privacy-policy h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.privacy-policy p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.privacy-policy ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-policy li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-policy .effective-date {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-weight: 500;
    color: #495057;
}

.privacy-policy .highlight {
    background: #e7f3ff;
    padding: 20px;
    border-left: 4px solid #007bff;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.privacy-policy .check-list {
    list-style: none;
    padding-left: 0;
}

.privacy-policy .check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.privacy-policy .check-list li:before {
    content: "✅";
    position: absolute;
    left: 0;
}

.privacy-policy .x-list {
    list-style: none;
    padding-left: 0;
}

.privacy-policy .x-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.privacy-policy .x-list li:before {
    content: "❌";
    position: absolute;
    left: 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        margin: 0 -15px;
        padding: 40px 15px 30px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .app-card {
        padding: 25px;
    }
    
    .privacy-policy {
        padding: 25px;
    }
    
    .contact {
        padding: 25px;
    }
}