:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --bg-gradient-start: #eef2ff;
    --bg-gradient-end: #e0e7ff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.2s;
}

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

/* Main Content */
main {
    flex: 1;
    padding: 2rem 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.page-header p {
    color: var(--text-secondary);
    font-size: 1.25rem;
}

.page-icon {
    width: 4rem;
    height: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* About Page */
.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-card i {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.cta-section {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

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

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background: var(--primary-hover);
}

/* Terms & Privacy Pages */
.terms-container,
.privacy-container {
    max-width: 48rem;
    margin: 0 auto;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terms-card,
.policy-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.terms-card h2,
.policy-card h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.terms-card h2 i,
.policy-card h2 i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.terms-card ul,
.policy-card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.terms-card li,
.policy-card li {
    margin-bottom: 0.5rem;
}

.subsection {
    margin-bottom: 1.5rem;
}

.subsection h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-card {
    background: var(--bg-gradient-start);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

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

.contact-email {
    color: var(--primary);
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: white;
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .story-section {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }
}