/* Elite Trader Frontend - Premium CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #050816;
    --bg-secondary: #0B1120;
    --bg-card: rgba(15, 23, 42, 0.7);
    --emerald: #00FFB2;
    --electric-blue: #3B82F6;
    --white: #FFFFFF;
    --muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 178, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 178, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--emerald);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 6rem;
    text-align: center;
}

.hero-candles {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    opacity: 0.3;
    z-index: 0;
}

.candlestick {
    width: 4px;
    background: linear-gradient(180deg, var(--emerald) 0%, transparent 100%);
    border-radius: 2px;
    animation: candleGrow 2s ease-in-out infinite;
}

@keyframes candleGrow {
    0%, 100% { height: 40px; opacity: 0.3; }
    50% { height: 80px; opacity: 1; }
}

.market-tickers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.ticker {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

.ticker-label {
    color: var(--muted);
    font-weight: 600;
}

.ticker-value {
    font-weight: 700;
}

.ticker-change {
    font-size: 0.75rem;
}

.ticker-up { color: var(--emerald); }
.ticker-down { color: #FF6B6B; }

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 178, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-premium {
    display: inline-block;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    color: var(--bg-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s;
    box-shadow: 0 0 30px rgba(0, 255, 178, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 178, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--emerald);
    color: var(--emerald);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(0, 255, 178, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 255, 178, 0.3);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--muted);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid var(--emerald);
    box-shadow: 0 0 40px rgba(0, 255, 178, 0.2);
}

.about-text {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.9;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.skill-category:hover {
    border-color: rgba(0, 255, 178, 0.3);
    box-shadow: 0 20px 60px rgba(0, 255, 178, 0.15);
    transform: translateY(-4px);
}

.skill-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--emerald);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
}

.skill-percentage {
    color: var(--emerald);
    font-weight: 700;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald), var(--electric-blue));
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 178, 0.5);
    transition: width 1s ease-out;
}

/* Projects Section */
.projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 178, 0.3);
    box-shadow: 0 20px 60px rgba(0, 255, 178, 0.2);
}

.project-image,
.project-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.2), rgba(59, 130, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    color: var(--bg-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.875rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    background: rgba(59, 130, 246, 0.2);
    color: var(--electric-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-metrics {
    color: var(--emerald);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-project {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    border: 1px solid var(--electric-blue);
    color: var(--electric-blue);
}

.btn-project:hover {
    background: rgba(59, 130, 246, 0.2);
}

.btn-project-primary {
    background: rgba(0, 255, 178, 0.2);
    border-color: var(--emerald);
    color: var(--emerald);
}

/* Performance Section */
.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.metric-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.metric-card:hover {
    border-color: rgba(0, 255, 178, 0.3);
    transform: translateY(-4px);
}

.metric-label {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chart-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

/* Strategies Section */
.strategies {
    background: var(--bg-secondary);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.strategy-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.strategy-card:hover {
    border-color: rgba(0, 255, 178, 0.3);
    transform: translateY(-4px);
}

.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.strategy-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.strategy-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.strategy-badge.fully-auto {
    background: rgba(0, 255, 178, 0.2);
    color: var(--emerald);
}

.strategy-badge.semi-auto {
    background: rgba(59, 130, 246, 0.2);
    color: var(--electric-blue);
}

.strategy-badge.manual {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
}

.strategy-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: var(--muted);
}

.strategy-logic {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.strategy-logic strong {
    color: var(--emerald);
    display: block;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.timeline-line {
    position: absolute;
    left: 9px;
    top: 20px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, var(--emerald), transparent);
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--emerald);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(0, 255, 178, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--emerald);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img,
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar {
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 700;
}

.author-position {
    color: var(--muted);
    font-size: 0.75rem;
}

/* Terminal */
.terminal {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 178, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 178, 0.2);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 178, 0.2);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: #28C940; }

.terminal-title {
    color: var(--muted);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    margin-left: 1rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    color: var(--emerald);
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.terminal-prompt {
    color: var(--electric-blue);
}

.terminal-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-line {
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--emerald);
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.25rem;
}

.contact-item a {
    color: var(--electric-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 255, 178, 0.1);
    border: 1px solid var(--emerald);
    border-radius: 8px;
    color: var(--emerald);
    font-weight: 600;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--emerald);
    color: var(--bg-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--emerald);
    font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(0, 255, 178, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.alert-success-msg,
.alert-error-msg {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success-msg {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6EE7B7;
}

.alert-error-msg {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    text-align: center;
}

.footer-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.footer-copyright {
    color: var(--muted);
    font-size: 0.875rem;
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emerald), var(--electric-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(0, 255, 178, 0.6);
    z-index: 1000;
    animation: float-assistant 3s ease-in-out infinite;
    color: var(--bg-primary);
}

@keyframes float-assistant {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ai-assistant:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image img {
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1.5rem;
        border-top: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .market-tickers {
        flex-direction: column;
        align-items: stretch;
    }
}
