/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --secondary: #10B981;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --text: #334155;
    --text-light: #64748B;
    --border: #E2E8F0;
    --bg-light: #F8FAFC;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --gold: #D4AF37;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    color: var(--dark);
}

.logo-icon {
    font-size: 32px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

.btn-cta-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-cta-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 16px;
    transition: transform 0.3s, background 0.3s;
    min-width: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-value {
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-sub {
    font-size: 12px;
    color: #CBD5E1;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badges .badge {
    font-size: 14px;
    color: #94A3B8;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: #94A3B8;
}

/* ===== Problem Cards ===== */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #FCA5A5;
}

.problem-card p {
    color: #CBD5E1;
    font-size: 15px;
}

.solution-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.solution-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

.solution-box p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Backtest Graph ===== */
.backtest-graph {
    position: relative;
    margin-bottom: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.graph-image {
    width: 100%;
    display: block;
}

.graph-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    text-align: center;
}

.btn-view-report {
    display: inline-block;
    background: white;
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-report:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ===== Results Table ===== */
.results-table-wrapper {
    overflow-x: auto;
    margin-bottom: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.results-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-highlight {
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
}

.result-warning {
    color: #FCA5A5;
    font-weight: 700;
    font-size: 18px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--gold);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.highlight-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--gold);
}

.highlight-box p {
    font-size: 18px;
    line-height: 1.7;
    color: #E2E8F0;
}

/* ===== Steps Grid ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 36px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== ROI Calculator ===== */
.roi-calculator {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.roi-calculator h2 {
    font-size: 32px;
    margin-bottom: 15px;
    text-align: center;
}

.roi-calculator > p {
    text-align: center;
    color: #94A3B8;
    margin-bottom: 40px;
}

.calculator-input {
    margin-bottom: 40px;
}

.calculator-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #E2E8F0;
}

.calculator-input input {
    width: 100%;
    padding: 15px;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
}

.calculator-results {
    display: grid;
    gap: 20px;
}

.calc-result {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-label {
    font-weight: 600;
    color: #94A3B8;
}

.calc-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
}

/* ===== Pricing Grid ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s;
    display: flex; 
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 800;
}

.pricing-tag {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.pricing-price {
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 24px;
    font-weight: 600;
}

.price-current {
    display: flex;
    align-items: flex-start;
}

.price-currency {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
}

.price-amount {
    font-size: 64px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.pricing-monthly {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;  
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto; 
}

.btn-pricing:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.pricing-note {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--gold);
    font-size: 16px;
}

/* ===== Trust Grid ===== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.trust-card p {
    color: #94A3B8;
    font-size: 15px;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.faq-question {
    padding: 25px 30px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    color: var(--dark);
    position: relative;
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

/* ===== CTA Section ===== */
.section-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.7;
}

.footer-copyright {
    text-align: center;
    color: #64748B;
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .price-amount {
        font-size: 48px;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .stat-card {
        padding: 20px 15px;
    }
}

/* Payment Modal Styles - For Integrated Payment Gateway */
.payment-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
}

.payment-modal-content {
    position: relative;
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 600px;
    height: 90vh;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.close-payment {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.close-payment:hover {
    color: #000;
    background: #f5f5f5;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Link Styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}