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

:root {
    /* App icon-inspired colors */
    --primary-color: #26708A;
    --primary-light: #4C95AF;
    --accent-color: #CD5C2E;
    --accent-light: #ED8152;
    --success-color: #6CAF85;
    --purple-color: #966CA9;

    --text-color: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --section-bg: #f5f5f7;
    --border-color: #d2d2d7;
    --max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin-right: 4px;
}

.logo a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

nav ul a:hover,
nav ul a.active {
    color: var(--primary-color);
    text-decoration: none;
}

/* Main Content */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
}

.hero-logo {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--section-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.feature p {
    color: var(--text-secondary);
}

/* Support Section */
.support {
    text-align: center;
    padding: 4rem 0;
    background: var(--section-bg);
    border-radius: 16px;
    margin: 2rem 0;
}

.support h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.support p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.email {
    margin-top: 1.5rem;
}

.email a {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Links Section */
.links {
    padding: 2rem 0;
    text-align: center;
}

.links h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.links ul {
    list-style: none;
}

.links li {
    margin: 0.5rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Policy Page Styles */
.policy-page {
    max-width: 800px;
}

.policy-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.policy-page section {
    margin-bottom: 2.5rem;
}

.policy-page h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.policy-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.policy-page ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
}

.policy-page li {
    margin-bottom: 0.5rem;
}

.policy-page .email {
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #59A6BF;
        --primary-light: #7BBDD1;
        --text-color: #f5f5f7;
        --text-secondary: #a1a1a6;
        --background: #1c1c1e;
        --section-bg: #2c2c2e;
        --border-color: #38383a;
    }

    header {
        background: rgba(28, 28, 30, 0.8);
    }

    .feature:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }
}
