/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 0, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(0, 255, 0, 0.1) 100%);
    background-size: 50px 50px;
    animation: matrix 20s linear infinite;
    opacity: 0.3;
}

@keyframes matrix {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
}

.code-line {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #00ff88;
    white-space: nowrap;
    animation: float 15s ease-in-out infinite;
}

.code-line:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.code-line:nth-child(2) { top: 20%; left: 80%; animation-delay: 2s; }
.code-line:nth-child(3) { top: 30%; left: 20%; animation-delay: 4s; }
.code-line:nth-child(4) { top: 40%; left: 70%; animation-delay: 6s; }
.code-line:nth-child(5) { top: 50%; left: 15%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-20px) rotate(2deg); opacity: 0.3; }
}

/* Container and Layout */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Header */
.header {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff88;
}

.logo i {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
}

.hero-section {
    text-align: center;
    max-width: 800px;
}

/* Title */
.title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle */
.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature:nth-child(1) { animation-delay: 1.2s; }
.feature:nth-child(2) { animation-delay: 1.4s; }
.feature:nth-child(3) { animation-delay: 1.6s; }

.feature:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
}

.feature i {
    font-size: 2rem;
    color: #00ff88;
}

.feature span {
    font-weight: 600;
    color: #ffffff;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    margin-top: 3rem;
}

.email-signup {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.8s forwards;
}

.email-signup h3 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.3rem;
}

.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.button-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

.signup-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.signup-form input::placeholder {
    color: #cccccc;
}

.signup-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.signup-form button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signup-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4);
}

/* Footer */
.footer {
    padding: 2rem 4rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #00ff88;
    color: #000000;
    transform: translateY(-3px);
}

.copyright {
    color: #888888;
    font-size: 0.9rem;
}

/* Loading Bar */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    width: 0%;
    animation: loading 3s ease-out forwards;
}

@keyframes loading {
    to { width: 100%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem 2rem;
    }
    
    .main-content {
        padding: 1rem 2rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .features {
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .signup-form input {
        min-width: auto;
    }
    
    .footer {
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
}

/* Additional Animations */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.8); }
}

.logo:hover {
    animation: glow 2s ease-in-out infinite;
} 