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

:root {
    color-scheme: light;
    --primary-green: #4CAF50;
    --primary-green-light: #5cb85c;
    --bg-light: #f5f5f5;
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* Force light mode */
html {
    color-scheme: light !important;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    background: var(--bg-light) !important;
    background-color: #f5f5f5 !important;
    color: var(--text-dark) !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Layout */
.wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.main-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    background: var(--bg-white) !important;
    background-color: #FFFFFF !important;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.app-logo {
    margin-bottom: 32px;
}

.logo-gradient {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.logo-emoji {
    font-size: 60px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Typography */
.app-name {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.app-tagline {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.5;
}

.app-description {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Button */
.download-btn {
    display: inline-block;
    margin-bottom: 40px;
    transition: opacity 0.2s ease;
}

.download-btn:hover {
    opacity: 0.8;
}

.download-btn img {
    height: 50px;
    width: auto;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Footer Links */
.footer-links {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

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

.footer-links .dot {
    margin: 0 12px;
    color: var(--text-light);
    user-select: none;
}

/* Support & Privacy Pages */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-medium);
}

.content-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.content-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.content-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-card p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-card ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-card li {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 24px;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 0.8;
}

/* Contact Section */
.contact-info {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    color: var(--bg-white);
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-info a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s ease;
}

.contact-info a:hover {
    border-color: var(--bg-white);
}

/* Responsive Design */
@media (max-width: 640px) {
    .main-content {
        padding: 48px 32px;
        border-radius: 20px;
    }

    .logo-gradient {
        width: 120px;
        height: 120px;
    }

    .logo-emoji {
        font-size: 56px;
    }

    .app-name {
        font-size: 36px;
    }

    .app-tagline {
        font-size: 18px;
    }

    .app-description {
        font-size: 15px;
    }

    .download-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        font-size: 13px;
        line-height: 2;
    }

    .footer-links .dot {
        display: block;
        margin: 0;
        height: 0;
        visibility: hidden;
    }

    .footer-links a {
        display: inline-block;
        margin: 4px 0;
    }

    .content-card {
        padding: 32px 24px;
    }

    .page-title {
        font-size: 30px;
    }

    .page-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .wrapper {
        padding: 20px 12px;
    }

    .main-content {
        padding: 40px 24px;
    }

    .logo-gradient {
        width: 100px;
        height: 100px;
    }

    .logo-emoji {
        font-size: 48px;
    }

    .app-name {
        font-size: 30px;
    }
}

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

    .main-content {
        box-shadow: none;
    }

    .download-btn {
        display: none;
    }
}
