/* ========================================
   Landing Page Styles - Algorithmical
   Modern, professional design for investors
   ======================================== */

/* CSS Variables */
:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --dark-gradient: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #0e7490 100%);
}

/* Global */
.landing-page {
    background: #fff;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
.main-container { width: 100%; }
section, [id] { scroll-margin-top: 80px; }

/* ===== NAVIGATION ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.brand-name {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links { gap: 28px; }

.nav-link-custom {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}
.nav-link-custom:hover { color: var(--primary); }

.btn-nav-ghost {
    background: transparent !important;
    border: 1.5px solid var(--border-light) !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}
.btn-nav-ghost:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-nav-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-nav-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* ===== HERO ===== */
.hero-section {
    padding: 7rem 0 5rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
}

.btn-hero-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: white !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
    transition: all 0.3s ease;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.45);
    color: white !important;
}

.btn-hero-secondary {
    background: transparent !important;
    border: 2px solid var(--text-primary) !important;
    color: var(--text-primary) !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
    background: var(--text-primary) !important;
    color: white !important;
}

/* Hero Stats */
.hero-stat-box { text-align: center; padding: 12px; }
.hero-stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Hero Visual */
.hero-visual-container {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-portfolio-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 28px;
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border-light);
}

.hero-live-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.hero-chart-bars {
    height: 130px;
    background: linear-gradient(180deg, rgba(79,70,229,0.04) 0%, rgba(79,70,229,0.01) 100%);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    gap: 6px;
}
.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.hero-pos-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.hero-float-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 12px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
    animation: floatAnim 4s ease-in-out infinite;
}
.fc-top { top: 20px; right: -10px; animation-delay: 0s; }
.fc-bottom { bottom: 40px; left: -20px; animation-delay: 1.5s; }
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== SECTION COMMON ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-label-light { color: var(--accent-light) !important; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

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

/* ===== STRATEGY ===== */
.strategy-section {
    padding: 6rem 0;
    background: #fff;
}

.strat-card {
    background: var(--gray-50);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--border-light);
    height: 100%;
    transition: all 0.3s;
}
.strat-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.1);
}

.strat-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.strat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.strat-text {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== PERFORMANCE ===== */
.performance-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: #fff;
    border-radius: 0;
}

.perf-stat-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}
.perf-stat-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.perf-val {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.perf-green { color: var(--success); }
.perf-blue { color: var(--accent-light); }
.perf-purple { color: var(--primary-light); }
.perf-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.perf-table-wrapper {
    overflow-x: auto;
}

.perf-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}
.perf-table th {
    text-align: left;
    padding: 14px 20px;
    background: rgba(255,255,255,0.03);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}
.perf-table td {
    padding: 14px 20px;
    font-size: 0.9rem;
    border-top: 1px solid var(--dark-border);
    color: #e2e8f0;
}
.perf-table tr:hover td { background: rgba(255,255,255,0.02); }
.perf-table .text-success { color: var(--success) !important; }

.perf-disclaimer {
    padding: 16px 20px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.perf-disclaimer .text-warning,
.perf-disclaimer i { color: var(--warning) !important; }

/* ===== PRICING ===== */
.pricing-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.price-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 28px;
    border: 1px solid var(--border-light);
    height: 100%;
    transition: all 0.3s;
    position: relative;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.price-card-featured {
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.12);
}

.price-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.price-tier {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 8px;
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}
.price-features li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.price-features li i {
    color: var(--success);
    font-size: 0.82rem;
}

.btn-price-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-price-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-price-secondary {
    background: transparent !important;
    border: 1.5px solid var(--border-light) !important;
    color: var(--text-secondary) !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
}
.btn-price-secondary:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 6rem 0;
    background: #fff;
}

.faq-accordion .accordion-item {
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #fff;
    padding: 18px 24px;
    box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--gray-50);
    color: var(--primary);
}
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body {
    padding: 0 24px 20px;
}
.faq-answer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== RISKS ===== */
.risks-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.risk-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border-left: 4px solid var(--warning);
    height: 100%;
    transition: all 0.3s;
}
.risk-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.risk-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.risk-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0;
}

.risk-disclaimer {
    padding: 20px 24px;
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 14px;
    text-align: center;
}
.risk-disclaimer-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===== CTA ===== */
.cta-section {
    padding: 3rem 0;
}

.cta-card {
    background: var(--dark-gradient) !important;
    border-radius: 24px !important;
    overflow: hidden;
    position: relative;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.btn-cta-outline {
    border: 2px solid rgba(255,255,255,0.4) !important;
    color: #fff !important;
    background: transparent !important;
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.6) !important;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-list li { margin-bottom: 8px; }

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--primary-light); }

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2rem 0;
}

.footer-copyright,
.footer-location {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
    .hero-section { padding: 5rem 0 3rem; text-align: center; }
    .hero-subtitle { margin: 0 auto 1.5rem; }
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
    }
    .section-title { font-size: 2rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.2rem; }
    .nav-links { gap: 12px; }
    .nav-link-custom { font-size: 0.82rem; }
    .section-title { font-size: 1.75rem; }
    .hero-stat-num { font-size: 1.4rem; }
    .perf-val { font-size: 1.5rem; }
    .price-amount { font-size: 2.2rem; }
}
