:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #10b981;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --bg-color: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    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: 700;
    color: var(--text-color);
}

.nav-links a {
    margin-left: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
}

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

/* Hero Section */
.hero {
    background-color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* App Showcase */
.app-showcase {
    max-width: var(--max-width);
    margin: 4rem auto;
    padding: 0 2rem;
}

.app-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .app-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
}

.app-icon-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

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

.app-features {
    list-style: none;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.app-features li {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.app-features li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.app-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.github-link {
    background-color: #24292e;
    color: white;
}

.github-link:hover {
    background-color: #000;
    color: white;
}

/* Privacy Policy Page */
.policy-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.policy-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.policy-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.policy-content p, .policy-content ul {
    margin-bottom: 1rem;
    color: #4b5563;
}

.policy-content ul {
    padding-left: 1.5rem;
}

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

/* Footer */
footer {
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid #e5e7eb;
    color: var(--light-text);
}

footer a {
    color: var(--light-text);
    text-decoration: underline;
}

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