/* =============================================
   TRADERZ HUB - LANDING PAGE
   Professional Trading Platform Design
   ============================================= */

/* CSS Variables */
:root {
    --landing-primary: #d1b764;
    --landing-primary-hover: #e6cc7a;
    --landing-dark: #0a0e17;
    --landing-card: rgba(22, 27, 34, 0.8);
    --landing-border: rgba(209, 183, 100, 0.15);
    --landing-text: #f0f6fc;
    --landing-text-muted: #8b949e;
    --landing-gradient: linear-gradient(135deg, #d1b764 0%, #b89c4f 100%);
    --landing-glow: 0 0 40px rgba(209, 183, 100, 0.15);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--landing-dark);
    color: var(--landing-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(209, 183, 100, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.06), transparent),
        radial-gradient(ellipse 50% 30% at 0% 100%, rgba(209, 183, 100, 0.05), transparent),
        linear-gradient(180deg, #0a0e17 0%, #0f1419 50%, #0d1117 100%);
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 4rem;
    background: rgba(10, 14, 23, 0.98);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 45px;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    color: var(--landing-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.05);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(22, 27, 34, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--landing-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(209, 183, 100, 0.1);
    color: var(--landing-primary);
}

.get-started-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--landing-gradient);
    color: #0a0e17;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(209, 183, 100, 0.25);
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(209, 183, 100, 0.35);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(209, 183, 100, 0.1);
    border: 1px solid rgba(209, 183, 100, 0.2);
    border-radius: 50px;
    color: var(--landing-primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--landing-text);
}

.hero-title .highlight {
    background: var(--landing-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--landing-text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--landing-gradient);
    color: #0a0e17;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(209, 183, 100, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(209, 183, 100, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--landing-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--landing-text);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.hero-stat-value span {
    color: var(--landing-primary);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--landing-text-muted);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 3rem;
}

.dashboard-preview {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.dashboard-preview img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(209, 183, 100, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(ellipse, rgba(209, 183, 100, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* Features Section */
.features-section {
    padding: 6rem 4rem;
    background: linear-gradient(180deg, transparent 0%, rgba(22, 27, 34, 0.3) 100%);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(209, 183, 100, 0.1);
    color: var(--landing-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--landing-text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--landing-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--landing-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(209, 183, 100, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(209, 183, 100, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--landing-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--landing-text);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 4rem 4rem 6rem;
    margin-top: -2rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.step-item.reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--landing-gradient);
    color: #0a0e17;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.step-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--landing-text);
}

.step-desc {
    font-size: 1rem;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

.step-visual {
    flex: 1;
}

.step-visual img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* CTA Section */
.cta-section {
    padding: 6rem 4rem;
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(209, 183, 100, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(209, 183, 100, 0.15);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(209, 183, 100, 0.05) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--landing-text);
    position: relative;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--landing-text-muted);
    margin-bottom: 2rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

/* Footer */
.footer {
    padding: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 14, 23, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand .site-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--landing-text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--landing-text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--landing-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--landing-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-text-muted);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(209, 183, 100, 0.1);
    color: var(--landing-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--landing-text-muted);
}

/* Quote Section */
.quote-section {
    padding: 3rem 4rem;
    text-align: center;
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--landing-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--landing-primary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--landing-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 1rem;
    color: var(--landing-primary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        padding: 7rem 2rem 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-item, .step-item.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-section {
        padding: 6rem 1.5rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-section, .how-it-works, .cta-section {
        padding: 4rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}
