@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

:root {
    --primary: #0a192f;
    --accent: #64ffda;
    --text: #e6f1ff;
    --text-secondary: #8892b0;
    --background: #0a192f;
    --surface: rgba(255, 255, 255, 0.05);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Noise Effect */
.noise {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAElBMVEUAAAD8/vz08vT09PT8+vz///8YzW0QAAAABXRSTlMoKCh/IH8hqWb6RLEAAAbySURBVBgZBcEJQgrIAADACd1MAAAAAAAAAABwDwCAe1gCAAAAAAAAAAA=') repeat 0 0;
    opacity: 0.05;
    animation: noise .2s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes noise {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

/* Navigation */
.social-nav {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0.7;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--accent);
    opacity: 1;
    transform: translateX(-5px);
}

/* Main Content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.brand {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.accent {
    color: var(--accent);
}

.launch-info {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.status {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-link .icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-link:hover {
    opacity: 0.8;
}

.blog-link:hover .icon {
    transform: translateX(5px);
}

.blog-preview {
    max-width: 800px;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.preview-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Form Styles */
.subscribe-form {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    max-width: 500px;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--surface);
    border-radius: 4px;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.subscribe-form button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    background: var(--accent);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.subscribe-form button .icon {
    transition: transform 0.3s ease;
}

.subscribe-form button:hover .icon {
    transform: translateX(5px);
}

#form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.success {
    color: var(--accent);
}

.error {
    color: #ff6b6b;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
    z-index: 2;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-nav {
        position: static;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
        transform: none;
    }

    .content {
        padding: 2rem;
        text-align: center;
    }

    .footer {
        position: static;
        text-align: center;
        padding: 2rem 0;
    }

    .form-group {
        flex-direction: column;
    }

    .subscribe-form button {
        width: 100%;
        justify-content: center;
    }

    .blog-preview {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 2.5rem;
    }

    .social-nav {
        gap: 1.5rem;
    }

    .preview-text {
        font-size: 1rem;
    }
}
