/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: rgb(103, 223, 110);
    --dark-bg: #000000;
    --light-text: #ffffff;
    --muted-text: #cccccc;
    --border-color: #333333;
    --input-bg: #111111;
    --hover-green: rgba(103, 223, 110, 0.8);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Trading chart background */
.chart-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    background: var(--dark-bg);
}

.chart-background svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.02em;
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light-text) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Upcoming Products Section */
.upcoming-products {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.upcoming-products h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    text-align: center;
}

.product-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(103, 223, 110, 0.1);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-logo:hover {
    transform: scale(1.1);
}

.product-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, rgba(103, 223, 110, 0.8) 100%);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Email signup */
.email-signup {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.email-signup h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.email-signup p {
    color: var(--muted-text);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Form layout */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    min-width: 200px;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(103, 223, 110, 0.1);
}

.input-group input::placeholder {
    color: #666666;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, rgba(103, 223, 110, 0.8) 100%);
    border: none;
    border-radius: 8px;
    color: var(--dark-bg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 223, 110, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: rgba(103, 223, 110, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(103, 223, 110, 0.3);
}

.form-message.error {
    background-color: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .logo h1 {
        font-size: 1.75rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .email-signup {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .input-group {
        min-width: 100%;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .email-signup {
        padding: 1.5rem 1rem;
    }
    
    .email-signup h3 {
        font-size: 1.25rem;
    }
    
    .product-logo {
        width: 60px;
        height: 60px;
    }
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

/* Subtle animations */
.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
