/* ===================================================================
   ALPHA AI TRADING - Main Public Stylesheet (vFinal Redesign)
   Author: Gemini
   Theme: Professional Light Theme & Animated Interface
   =================================================================== */

/* --- Root Variables & Base Setup --- */
:root {
    --primary: #007bff;
    --primary-hover: #0056b3;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --transition: all 0.3s ease-in-out;
}

body { background-color: var(--bg-light); font-family: var(--font-family); color: var(--text-muted); }
#main { margin-top: var(--header-height); }
.wrapper { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-panel { background-color: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; }

/* --- Animated Background --- */
#plexus-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

/* --- Hero Section --- */
.hero-section { min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; text-align: center; }
.hero-title { font-size: 4rem; font-weight: 700; line-height: 1.2; }
.hero-title .highlight { color: var(--primary); }
.hero-subtitle { font-size: 1.2rem; max-width: 650px; margin: 25px auto 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* --- Feature Cards --- */
.feature-card { padding: 35px; text-align: center; background-color: var(--bg-white); border-radius: 12px; box-shadow: var(--shadow-soft); transition: var(--transition); height: 100%; border: 1px solid var(--border-color);}
.feature-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.card-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* --- Timeline --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 3px; background-color: var(--border-color); top: 0; bottom: 0; left: 50%; margin-left: -1.5px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item .timeline-icon { position: absolute; width: 50px; height: 50px; background-color: var(--bg-panel); border: 3px solid var(--primary); border-radius: 50%; z-index: 1; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; top: 30px; }
.timeline-item:nth-child(odd) .timeline-icon { right: -25px; }
.timeline-item:nth-child(even) .timeline-icon { left: -25px; }
.timeline-content { padding: 25px; background: var(--bg-white); border-radius: 8px; box-shadow: var(--shadow-soft); }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }
.timeline-content h3 { margin-top: 0; }

/* --- Performance Stats --- */
.performance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.performance-stat { text-align: center; }
.performance-stat h3 { font-size: 3.5rem; font-weight: 700; color: var(--primary); }
.performance-stat p { color: var(--text-muted); margin-top: 5px; font-weight: 500; }

/* --- Final CTA --- */
.cta-box { background: var(--text-dark); color: var(--text-light); padding: 70px 50px; border-radius: 20px; text-align: center; }
.cta-box h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--text-light); }
.cta-box p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 30px; opacity: 0.8; }

/* --- Interactive Robot Guide --- */
#robot-guide { position: fixed; z-index: 1000; bottom: -100px; left: 20px; transition: bottom 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
#robot-guide.robot-visible { bottom: 20px; }
.robot-body { width: 50px; height: 70px; background: #fff; border-radius: 25px 25px 15px 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); position: relative; animation: robot-float 4s ease-in-out infinite; }
.robot-eye-socket { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; background: var(--text-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.robot-eye { width: 10px; height: 10px; background: #00f5d4; border-radius: 50%; box-shadow: 0 0 10px #00f5d4, 0 0 15px #00f5d4, inset 0 0 2px #fff; animation: robot-blink 3s infinite 1s; }
.robot-message-box { position: absolute; bottom: 100%; left: 60px; margin-bottom: 15px; width: 280px; padding: 15px; background: var(--bg-white); border-radius: 8px; box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
#robot-guide.show-message .robot-message-box { opacity: 1; visibility: visible; transform: translateY(0); }
.robot-message-box::after { content: ''; position: absolute; left: -10px; top: 20px; border-width: 10px 10px 10px 0; border-style: solid; border-color: transparent var(--bg-white) transparent transparent; }

/* Animations */
@keyframes robot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes robot-blink { 0%, 90% { transform: scale(1); } 95% { transform: scale(0.1); } }

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .timeline::after { left: 25px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item .timeline-icon { left: 0; }
    .timeline-item:nth-child(even) .timeline-content { text-align: left; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-header h2 { font-size: 2.2rem; }
}
