
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-number {
    position: absolute;
    color: #00ff88;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    animation: float 15s infinite linear;
    opacity: 0.3;
}

.floating-number.red {
    color: #ff4757;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ff88, #0099ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.hero-content .subtitle {
    font-size: 1.4rem;
    color: #a8a8a8;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-content .description {
    font-size: 1.1rem;
    color: #c9c9c9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stock-chart {
    width: 500px;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><path d="M0,180 Q100,120 200,80 T400,20" stroke="%2300ff88" stroke-width="3" fill="none"/><path d="M0,180 Q100,120 200,80 T400,20 L400,200 L0,200 Z" fill="url(%23gradient)"/><defs><linearGradient id="gradient" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%2300ff88;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%2300ff88;stop-opacity:0"/></linearGradient></defs></svg>');
    background-size: cover;
    animation: chartPulse 3s ease-in-out infinite;
}

@keyframes chartPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.features {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:nth-child(even) .feature-content {
    order: 2;
}

.feature-row:nth-child(even) .feature-image {
    order: 1;
}

.feature-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f0f23;
}

.feature-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.feature-list li i {
    color: #00ff88;
    font-size: 1.2rem;
}

.feature-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.feature-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    margin: -3px;
    border-radius: inherit;
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    color: white;
    border-radius: 15px;
    font-weight: 700;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 5px;
}

.rules {
    padding: 100px 20px;
    background: #0f0f23;
    color: white;
}

.rules-container {
    max-width: 1000px;
    margin: 0 auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-10px);
}

.rule-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #00ff88;
    margin-bottom: 20px;
}

.rule-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.final-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-white {
    background: white;
    color: #0f0f23;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Fixed Floating Button */
.fixed-floating-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: floatingPulse 3s ease-in-out infinite;
}

.fixed-floating-btn:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.6);
    background: linear-gradient(135deg, #00ff88, #0099ff, #ff6b9d);
}

.fixed-floating-btn:active {
    transform: translateX(-50%) translateY(-2px);
}

@keyframes floatingPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 255, 136, 0.7);
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile Optimization */
    .hero {
        padding: 20px 0;
        min-height: 90vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .hero-content .description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
        gap: 10px;
    }
    
    /* Stock Chart Mobile */
    .stock-chart {
        width: 100%;
        max-width: 350px;
        height: 250px;
        padding: 20px;
        margin: 0 auto;
    }
    
    /* Features Section Mobile */
    .features {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 50px;
        padding: 0 10px;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .feature-row:nth-child(even) .feature-content,
    .feature-row:nth-child(even) .feature-image {
        order: unset;
    }
    
    .feature-content h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .feature-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .feature-card {
        padding: 25px;
        margin: 0 10px;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Rules Section Mobile */
    .rules {
        padding: 60px 15px;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .rule-card {
        padding: 25px 20px;
    }
    
    .rule-number {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .rule-card h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .rule-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Final CTA Mobile */
    .final-cta {
        padding: 50px 15px;
    }
    
    .final-cta h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .final-cta p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .cta-button-white {
        padding: 15px 25px;
        font-size: 1rem;
        gap: 10px;
    }

    /* Mobile adjustments for floating button */
    .fixed-floating-btn {
        bottom: 20px;
        padding: 14px 28px;
        font-size: 1rem;
        border-radius: 40px;
        max-width: calc(100% - 40px);
        white-space: nowrap;
    }
    
    /* Hide floating numbers on mobile for better performance */
    .floating-elements {
        display: none;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .final-cta h2 {
        font-size: 1.8rem;
    }
    
    .rule-number {
        font-size: 2rem;
    }
    
    .fixed-floating-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
