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

/* Dynamic Theme Variables - Using your unique Green (#00ff88) */
:root[data-theme="dark"] {
    --bg-color: #03070d;
    --text-color: #c9d1d9;
    --heading-color: #ffffff;
    --accent-color: #00ff88;
    --card-bg: rgba(20, 25, 35, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] {
    --bg-color: #f0f4f8;
    --text-color: #2d3748;
    --heading-color: #1a202c;
    --accent-color: #00b35e;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* Global Fixes for Mobile */
html, body { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
    scroll-behavior: smooth; 
    width: 100vw; 
    overflow-x: hidden; 
    background-color: var(--bg-color); 
    color: var(--text-color); 
}

*, *::before, *::after { box-sizing: inherit; }

h1, h2, h3, h4 { color: var(--heading-color); }
p { color: var(--text-color); }

/* Custom High-End Splash Screen */
#splash-screen {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #03070d;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-out;
}
.splash-logo { text-align: center; }
.hexagon {
    width: 100px; height: 110px;
    background: transparent;
    border: 3px solid var(--accent-color);
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    animation: pulse-hex 2s infinite alternate;
}
.hexagon span {
    color: var(--accent-color);
    font-size: 2.5rem; font-weight: 800;
    text-shadow: 0 0 10px var(--accent-color);
}
.splash-text {
    font-size: 2rem; color: #fff; letter-spacing: 5px; margin-bottom: 5px;
    overflow: hidden; white-space: nowrap;
    border-right: 2px solid var(--accent-color);
    width: 0;
    animation: typing 1.5s steps(20, end) forwards 0.5s, blink 0.75s step-end infinite;
}
.splash-sub { color: var(--accent-color); font-size: 1rem; opacity: 0; animation: fadeIn 1s forwards 2s; }

@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink { from, to { border-color: transparent } 50% { border-color: var(--accent-color); } }
@keyframes pulse-hex { from { transform: scale(0.9); box-shadow: 0 0 10px rgba(0, 255, 136, 0.2); } to { transform: scale(1.1); box-shadow: 0 0 40px rgba(0, 255, 136, 0.8); } }
@keyframes fadeIn { to { opacity: 1; } }

/* Top Scroll Progress */
#scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 4px; background: var(--accent-color); z-index: 10000; box-shadow: 0 0 10px var(--accent-color); }

/* Ticker Fix for Mobile */
.market-ticker { width: 100%; background: #000; color: #fff; padding: 5px 0; overflow: hidden; position: relative; z-index: 1001; font-size: 0.8rem; font-weight: 600; }
.ticker-content { display: inline-flex; white-space: nowrap; animation: ticker 25s linear infinite; }
.ticker-content span { margin-right: 30px; }
.ticker-up { color: #00ff88; } .ticker-down { color: #ff3333; }
@keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* Clean Mobile Navbar */
header { position: fixed; top: 30px; width: 100%; padding: 15px 20px; background: transparent; z-index: 1000; transition: 0.4s; }
header.scrolled { top: 0; background: var(--card-bg); backdrop-filter: blur(15px); box-shadow: 0 4px 20px rgba(0,0,0,0.3); padding: 10px 20px; }
.nav-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 22px; font-weight: 700; color: var(--heading-color); }
.logo span { color: var(--accent-color); }
.theme-btn { background: transparent; border: 2px solid var(--accent-color); color: var(--accent-color); padding: 5px 12px; border-radius: 20px; cursor: pointer; transition: 0.3s; font-size: 14px; }
.theme-btn:hover { background: var(--accent-color); color: #000; }

.nav-menu { margin-top: 10px; width: 100%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nav-menu::-webkit-scrollbar { display: none; }
.nav-links { list-style: none; display: flex; gap: 15px; justify-content: center; padding: 0; margin: 0; }
.nav-links li a { color: var(--heading-color); text-decoration: none; font-weight: 600; font-size: 13px; text-transform: uppercase; }

/* Video Hero Section */
.hero { position: relative; height: 100vh; width: 100vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 0 20px; background-color: #000; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: -2; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3, 7, 13, 0.7); z-index: -1; }
.hero-content { z-index: 1; width: 100%; max-width: 800px; }
.hero-content h1 { font-size: 2.8rem; margin-bottom: 15px; text-shadow: 0 0 20px var(--accent-color); line-height: 1.2; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; color: #fff; text-shadow: 0 2px 5px #000; }

.btn { display: inline-block; padding: 12px 25px; background: rgba(0, 255, 136, 0.1); color: var(--accent-color); border: 2px solid var(--accent-color); border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s; cursor: pointer; }
.btn:hover { background: var(--accent-color); color: #000; box-shadow: 0 0 20px var(--accent-color); }

/* Global Layout & Cards */
.section-padding { padding: 80px 20px; text-align: center; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.section-title { font-size: 2.2rem; margin-bottom: 10px; text-transform: uppercase; }
.section-subtitle { margin-bottom: 40px; color: var(--text-color); font-size: 1rem; }

/* Grid fix for Mobile */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; width: 100%; }

.card { background: var(--card-bg); padding: 30px 20px; border-radius: 12px; border: 1px solid var(--glass-border); text-align: center; transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--accent-color); box-shadow: 0 10px 20px rgba(0,255,136,0.1); }
.card h3 { color: var(--heading-color) !important; margin-bottom: 15px; font-size: 1.3rem; }
.card p, .card ul { color: var(--text-color) !important; font-size: 0.95rem; }
.card i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 15px; }

/* Stats */
.stat-box h2, .stat-box span { font-size: 2.5rem; color: var(--accent-color); display: inline-block; margin: 0; }
.stat-box p { margin: 5px 0 0 0; }

/* ROI Calculator */
.calc-box { max-width: 500px; margin: 0 auto; padding: 30px 20px; }
.slider { width: 100%; margin: 20px 0; accent-color: var(--accent-color); }
.highlight-text { font-size: 2.5rem; color: var(--heading-color); margin: 10px 0; }
.highlight-text-green { font-size: 2rem; color: var(--accent-color); margin: 5px 0; }
.roi-results { margin-top: 15px; border-top: 1px solid var(--glass-border); padding-top: 15px; }
.disclaimer { font-size: 0.75rem; color: #888; margin-top: 15px; }

/* Pricing */
.currency-toggle { display: flex; justify-content: center; gap: 5px; margin-bottom: 30px; background: rgba(0,0,0,0.3); padding: 5px; border-radius: 30px; border: 1px solid var(--glass-border); flex-wrap: wrap; }
.curr-btn { background: transparent; border: none; color: var(--text-color); padding: 8px 15px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; }
.curr-btn.active { background: var(--accent-color); color: #000; }
.pricing-card h2 { font-size: 2.5rem; color: var(--accent-color); margin: 15px 0; }
.pricing-card ul { list-style: none; margin-bottom: 25px; padding: 0; }
.pricing-card ul li { margin-bottom: 8px; }
.pro-card { border: 2px solid var(--accent-color); position: relative; }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-color); color: #000; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

/* Floating Buttons Fixed for Mobile */
.floating-ai-btn { position: fixed; bottom: 20px; left: 20px; background: var(--accent-color); color: #000; width: 50px; height: 50px; border-radius: 50%; border: none; font-size: 22px; z-index: 9999; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.chatbot-window { position: fixed; bottom: 80px; left: 20px; width: calc(100vw - 40px); max-width: 300px; background: var(--bg-color); border: 2px solid var(--accent-color); border-radius: 12px; z-index: 9999; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.chatbot-window.active { display: block; }
.chat-header { background: var(--accent-color); color: #000; padding: 12px; display: flex; justify-content: space-between; border-radius: 10px 10px 0 0; font-weight: bold; }
.chat-header button { background: none; border: none; font-size: 16px; color: #000; }
.chat-body { padding: 15px; }
.bot-msg { background: var(--card-bg); padding: 10px; border-radius: 8px; font-size: 0.9rem; border-left: 3px solid var(--accent-color); margin: 0; }
.chat-footer { padding: 15px; text-align: center; }
.chat-wa-btn { background: #25d366; color: #fff; padding: 8px 15px; border-radius: 20px; text-decoration: none; font-weight: bold; font-size: 0.9rem; display: inline-block; }

.whatsapp-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; }
.whatsapp-btn { background: #25d366; color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 28px; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }

/* Centered Footer */
.footer { background: #010308; padding: 50px 20px 20px; border-top: 1px solid var(--glass-border); text-align: center; width: 100vw; }
.footer-info h3 { margin-bottom: 15px; font-size: 1.2rem; }
.footer-info p { margin-bottom: 8px; font-size: 0.9rem; }
.footer-info i { color: var(--accent-color); margin-right: 8px; }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 15px; margin-top: 25px; font-size: 0.8rem; color: #666; }

/* Simple Fade Animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }