/* TradeQuoteAI - Landing Page Styles */

:root {
    --bg-primary: #09090b;
    --bg-secondary: #18181b;
    --bg-tertiary: #27272a;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-primary: #6366f1;
    --accent-secondary: #10b981;
    --accent-purple: #a78bfa;
    --accent-warning: #f59e0b;
    --accent-danger: #f43f5e;
    --accent-cyan: #06b6d4;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== NAVBAR ========== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.nav-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.nav-links {
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-actions .btn {
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(39, 39, 42, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 39, 42, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.15);
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(167, 139, 250, 0.1);
    bottom: 10%;
    right: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-actions .btn {
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 600;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #4f46e5);
    border: none;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: left;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Mock Dashboard */
.hero-visual {
    position: relative;
    z-index: 1;
}

.mock-dashboard {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mock-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mock-header {
    background: var(--bg-primary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-dots span:nth-child(1) { background: #f43f5e; }
.mock-dots span:nth-child(2) { background: #f59e0b; }
.mock-dots span:nth-child(3) { background: #10b981; }

.mock-url {
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 4px 12px;
    border-radius: 6px;
    flex: 1;
    text-align: center;
}

.mock-body {
    padding: 20px;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mock-stat {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ms-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.mock-stat.blue .ms-icon { background: rgba(99, 102, 241, 0.15); color: var(--accent-primary); }
.mock-stat.green .ms-icon { background: rgba(16, 185, 129, 0.15); color: var(--accent-secondary); }
.mock-stat.amber .ms-icon { background: rgba(245, 158, 11, 0.15); color: var(--accent-warning); }

.ms-num { font-size: 1.1rem; font-weight: 700; }
.ms-label { font-size: 0.65rem; color: var(--text-secondary); }

.mock-chart {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 20px;
    height: 140px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100%;
}

.chart-bars .bar {
    flex: 1;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
    animation: growBar 1.5s ease-out forwards;
}

.chart-bars .bar.active {
    background: linear-gradient(to top, var(--accent-primary), var(--accent-purple));
}

@keyframes growBar {
    from { height: 0 !important; }
}

/* ========== SECTIONS ========== */
.section-header {
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FEATURES ========== */
.features-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.feature-icon.blue { background: rgba(99, 102, 241, 0.15); color: var(--accent-primary); }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--accent-secondary); }
.feature-icon.purple { background: rgba(167, 139, 250, 0.15); color: var(--accent-purple); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-warning); }
.feature-icon.red { background: rgba(244, 63, 94, 0.15); color: var(--accent-danger); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ========== HOW IT WORKS ========== */
.how-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    right: 24px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.06);
    line-height: 1;
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== FREE TRIAL BANNER ========== */
.trial-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(167, 139, 250, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.trial-banner-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.trial-banner-text {
    flex: 1;
}

.trial-banner-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.trial-banner-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.trial-banner .btn {
    white-space: nowrap;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .trial-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== PRICING ========== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, var(--bg-secondary) 50%);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    color: #fff;
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i.fa-check {
    color: var(--accent-secondary);
    font-size: 0.75rem;
}

.pricing-features li i.fa-times {
    color: var(--bg-tertiary);
    font-size: 0.75rem;
}

.pricing-features li.disabled {
    color: var(--bg-tertiary);
}

.pricing-card .btn {
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.stars {
    color: var(--accent-warning);
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.author-trade {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========== FAQ ========== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-item {
    margin-bottom: 12px;
}

.faq-section .accordion-item {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 12px !important;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 24px;
    box-shadow: none;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-primary);
}

.faq-section .accordion-button::after {
    filter: invert(1) brightness(0.6);
}

.faq-section .accordion-button:not(.collapsed)::after {
    filter: invert(1) brightness(0.8);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-primary);
}

.faq-section .accordion-body {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0 24px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-section .accordion-collapse {
    border-top: 1px solid var(--bg-tertiary);
}

/* ========== CTA ========== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* ========== FOOTER ========== */
.landing-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-stats {
        gap: 24px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
}
