:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent-cyan: #1de2e0;
    --accent-cyan-dark: #0891b2;
    --accent-magenta: #e01de2;
    --accent-magenta-dark: #c026d3;
    --accent-yellow: #e2e01d;
    --accent-yellow-dark: #ca8a04;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body.science-theme {
    --primary-color: #e01de2;
    --primary-dark: #c026d3;
    --primary-light: #f472b6;
}

body.science-theme .version-toggle {
    background: rgba(224, 29, 226, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

body.science-theme .hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 50%, var(--accent-yellow) 100%);
}

body.science-theme .hero::before {
    background: radial-gradient(circle at 30% 20%, rgba(139,92,246,0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(226,224,29,0.15) 0%, transparent 40%);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    height: 2.2rem;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.version-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-cyan-dark) 50%, var(--accent-yellow-dark) 100%);
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(29,226,224,0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(226,224,29,0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.8);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.launch-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.launch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    width: 160px;
    flex-shrink: 0;
}

.launch-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.launch-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.launch-item span:last-child {
    font-weight: 600;
    opacity: 1;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
}

.preview {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.preview h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.preview-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.preview-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.preview-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.timeline {
    padding: 6rem 0;
    background-color: var(--background-white);
}

.timeline h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.timeline-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--border-color) 100%);
    border-radius: 1px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-marker.current {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    border: 3px solid white;
}

.timeline-marker.upcoming {
    background-color: white;
    border: 3px solid var(--border-color);
}

.timeline-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.timeline-info p {
    color: var(--text-light);
}

.early-access {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(29, 226, 224, 0.05) 0%, white 100%);
}

.early-access-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.early-access h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.early-access p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.early-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row:last-of-type {
    grid-template-columns: 1fr;
}

.early-form input,
.early-form select,
.early-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background-white);
}

.early-form input:focus,
.early-form select:focus,
.early-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.early-form textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 1.5rem;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.footer-logo {
    height: 1.8rem;
    width: auto;
    filter: invert(1);
}

.footer-brand-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-info p {
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .version-toggle .toggle-text {
        display: none;
    }

    .version-toggle {
        padding: 0.5rem;
        min-width: auto;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-content h2::after {
        width: 40px;
        height: 3px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .launch-info {
        gap: 1.5rem;
        margin-top: 0;
    }

    .launch-item {
        padding: 1.2rem 0.8rem;
        width: 140px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 1rem 4rem;
    }

    .preview,
    .timeline,
    .early-access {
        padding: 4rem 0;
    }

    .early-form {
        padding: 2rem 1.5rem;
    }
}