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

:root {
    --primary-color: #007AFF;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --surface: #f5f5f7;
    --border: #d2d2d7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.7;
}

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

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

/* Hero Section */
.hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--background);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 20px;
    text-align: center;
    background: var(--surface);
}

.cta h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Legal Content */
.legal-content {
    padding: 60px 20px 100px;
    background: var(--background);
}

.legal-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 32px;
}

.legal-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-section p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.legal-section a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 60px 20px 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

    .hero-subtitle {
        font-size: 20px;
    }

    .nav-links {
        gap: 20px;
    }

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

    .cta h2 {
        font-size: 36px;
    }

    .legal-content h1 {
        font-size: 36px;
    }

    .legal-section h2 {
        font-size: 28px;
    }

    .legal-section h3 {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
    }

    .nav-links {
        margin-top: 12px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}
