/* QuantCraft Custom Styles - Pixel Perfect Replica of AppearOnAI Design */

/* CSS Variables for Exact Color Matching */
:root {
    --primary-blue: #2563eb;
    --primary-purple: #9333ea;
    --gradient-primary: linear-gradient(to right, #2563eb, #9333ea);
    --text-dark: #020817;
    --text-secondary: #111827;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --border-light: #e5e7eb;
    --success-color: #10b981;
    --white: #ffffff;
}

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

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Top Banner */
.top-banner {
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    position: relative;
    z-index: 1000;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: white;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-blue);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1.1rem;
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.text-purple {
    color: var(--primary-purple);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-intro {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Dashboard Mockup */
.dashboard-mockup {
    position: relative;
    margin-top: 2rem;
}

.card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.card-header {
    background: var(--gradient-primary) !important;
    border: none;
    padding: 1rem 1.5rem;
}

.dashboard-tabs .nav-tabs {
    background: var(--bg-light);
    padding: 0 1.5rem;
}

.dashboard-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 1rem 1.5rem;
    background: transparent;
}

.dashboard-tabs .nav-link.active {
    background: white;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

.dashboard-tabs .badge {
    font-size: 0.7rem;
}

/* Metric Cards */
.metric-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    height: 100%;
}

.progress-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.circle-progress {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--success-color) 85%, var(--border-light) 85%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-progress::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
}

.circle-progress .percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    z-index: 1;
}

.circle-progress .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    z-index: 1;
}

.platform-badge {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-light);
}

.bg-primary-light {
    background: rgba(37, 99, 235, 0.1) !important;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.benefit-icon i {
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: white;
    padding: 80px 0;
}

/* Trust Section */
.trust-section {
    margin-top: 3rem;
}

.trust-logo {
    padding: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background: #1f2937 !important;
}

.footer h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .text-muted {
    color: #9ca3af !important;
}

.footer a:hover {
    color: var(--primary-blue) !important;
}

.contact-info p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-blue);
    width: 16px;
}

/* Executive Summary */
.executive-summary {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .dashboard-mockup {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .top-banner {
        font-size: 12px;
        text-align: center;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .dashboard-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Success States */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
    border-radius: 8px;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

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

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.price-period {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    width: 16px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background: var(--primary-blue) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}
