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

:root {
    --primary: #00BCD4;
    --primary-dark: #0097A7;
    --secondary: #00E676;
    --dark: #1A1C1E;
    --surface: #0D1117;
    --text: #E8E8E8;
    --text-secondary: #A0A0A0;
}

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

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

header {
    background: var(--surface);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-btn {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #0D1117 0%, #1a2332 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 188, 212, 0.5);
}

.features {
    padding: 5rem 0;
    background: var(--surface);
}

.features h2, .tests h2, .download h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature {
    background: var(--dark);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

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

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

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

.tests {
    padding: 5rem 0;
}

.test-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.badge {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(0, 230, 118, 0.2));
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.badge:hover {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.3), rgba(0, 230, 118, 0.3));
    transform: scale(1.05);
}

.download {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--dark) 100%);
}

.download p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

footer {
    background: var(--surface);
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 188, 212, 0.1);
}

.legal-page {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.legal-page h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s;
}

.legal-page a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.update-date {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.social-links {
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.faq {
    background: var(--dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    margin-top: 2rem;
}

.legal-hero {
    background: linear-gradient(135deg, var(--surface) 0%, var(--dark) 100%);
    padding: 4rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.legal-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-content {
    padding: 3rem 0;
}

.legal-intro {
    background: var(--dark);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.legal-toc {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.legal-toc h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.legal-toc ol {
    margin-left: 1.5rem;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-toc a:hover {
    color: var(--primary);
}

.legal-section {
    margin-bottom: 4rem;
}

.section-number {
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.info-grid, .permission-grid, .rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card, .permission-card, .right-item {
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    transition: all 0.3s;
}

.info-card:hover, .permission-card:hover, .right-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.info-card h4, .permission-card h4, .right-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.perm-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(0, 230, 118, 0.1));
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.purpose-list {
    margin: 2rem 0;
}

.purpose-item {
    display: flex;
    gap: 1rem;
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.purpose-icon {
    font-size: 2rem;
}

.contact-box {
    background: var(--dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    margin-top: 2rem;
}

.legal-footer-box {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

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

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

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

    .hero p {
        font-size: 1rem;
    }

    .features h2, .tests h2, .download h2 {
        font-size: 2rem;
    }
}
