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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1976d2;
}

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

.nav-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1976d2;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Main Content */
main {
    padding: 3rem 20px;
}

.feature-section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-section h2 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.feature-section p {
    margin-bottom: 1rem;
}

.feature-section ul, .feature-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.feature-section li {
    margin-bottom: 0.5rem;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
}

.feature h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

/* Steps List */
.steps {
    counter-reset: step-counter;
    list-style: none;
    margin-left: 0;
}

.steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #1976d2;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Button */
.btn {
    display: inline-block;
    background-color: #1976d2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #1565c0;
}

/* Policy Pages */
.policy-page {
    background-color: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

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

.policy-page h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.policy-page p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-page ul, .policy-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-page li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.policy-page strong {
    color: #1976d2;
}

.policy-page code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.policy-page a {
    color: #1976d2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.policy-page a:hover {
    border-bottom-color: #1976d2;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

    .policy-page {
        padding: 2rem 1.5rem;
    }

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

    main {
        padding: 2rem 10px;
    }
}

@media (max-width: 480px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

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

    .feature-section {
        padding: 1.5rem;
    }
}
