/* ValueChecker.ai Inspired Design System */
/* Beautiful blue gradients, diagonal lines, clean professional look */

:root {
    /* ValueChecker Blue Palette */
    --vc-blue-900: #1e3a8a;
    --vc-blue-700: #2563eb;
    --vc-blue-600: #3b82f6;
    --vc-blue-500: #60a5fa;
    --vc-blue-400: #93c5fd;
    --vc-blue-300: #bfdbfe;
    --vc-blue-100: #dbeafe;
    --vc-blue-50: #eff6ff;
    
    /* Accent Colors - Pastel palette like ValueChecker */
    --vc-yellow: #fbbf24;
    --vc-yellow-bg: #fef3c7;
    --vc-green: #10b981;
    --vc-green-bg: #d1fae5;
    --vc-pink: #ec4899;
    --vc-pink-bg: #fce7f3;
    --vc-purple: #8b5cf6;
    --vc-purple-bg: #ede9fe;
    
    /* Neutrals */
    --vc-gray-900: #111827;
    --vc-gray-700: #374151;
    --vc-gray-600: #4b5563;
    --vc-gray-500: #6b7280;
    --vc-gray-400: #9ca3af;
    --vc-gray-300: #d1d5db;
    --vc-gray-200: #e5e7eb;
    --vc-gray-100: #f3f4f6;
    --vc-gray-50: #f9fafb;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius - Rounded like ValueChecker */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows - Subtle like ValueChecker */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--vc-gray-900);
    background: #ffffff;
    line-height: 1.6;
}

/* ValueChecker-style Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--vc-blue-700) 0%, var(--vc-blue-500) 100%);
    padding: var(--spacing-2xl) 0;
    margin-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Diagonal Line Pattern - ValueChecker style */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.08) 35px,
            rgba(255, 255, 255, 0.08) 70px
        );
    pointer-events: none;
}

.hero-section h1 {
    color: white;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

/* Navigation - Clean and minimal */
.navbar {
    background: white;
    border-bottom: 1px solid var(--vc-gray-200);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--vc-gray-900);
    font-size: 1.25rem;
}

.nav-link {
    color: var(--vc-gray-600);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--vc-blue-600);
}

/* Buttons - ValueChecker style */
.btn-primary {
    background: var(--vc-blue-600);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--vc-blue-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--vc-blue-600);
    color: var(--vc-blue-600);
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--vc-blue-600);
    color: white;
}

/* Metric Cards - ValueChecker style */
.metric-card {
    background: white;
    border: 1px solid var(--vc-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.3s;
    height: 100%;
}

.metric-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.metric-icon.blue {
    background: var(--vc-blue-100);
    color: var(--vc-blue-600);
}

.metric-icon.green {
    background: var(--vc-green-bg);
    color: var(--vc-green);
}

.metric-icon.yellow {
    background: var(--vc-yellow-bg);
    color: var(--vc-yellow);
}

.metric-icon.purple {
    background: var(--vc-purple-bg);
    color: var(--vc-purple);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vc-gray-900);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--vc-gray-600);
    font-weight: 500;
}

.metric-change {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.metric-change.positive {
    color: var(--vc-green);
}

.metric-change.negative {
    color: #ef4444;
}

/* Feature Cards - Pastel colored like ValueChecker */
.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.3s;
    border: 1px solid var(--vc-gray-200);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card.blue {
    background: var(--vc-blue-50);
    border-color: var(--vc-blue-200);
}

.feature-card.yellow {
    background: var(--vc-yellow-bg);
    border-color: #fde68a;
}

.feature-card.green {
    background: var(--vc-green-bg);
    border-color: #a7f3d0;
}

.feature-card.pink {
    background: var(--vc-pink-bg);
    border-color: #fbcfe8;
}

.feature-card.purple {
    background: var(--vc-purple-bg);
    border-color: #ddd6fe;
}

/* Product Cards - Clean design */
.product-card {
    background: white;
    border: 1px solid var(--vc-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--vc-blue-300);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--vc-gray-100);
}

.product-content {
    padding: var(--spacing-md);
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--vc-gray-900);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vc-blue-600);
}

/* Forms - Clean minimal design */
.form-control {
    border: 1px solid var(--vc-gray-300);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--vc-blue-600);
    box-shadow: 0 0 0 3px var(--vc-blue-100);
    outline: none;
}

/* Tables - Clean design */
.table {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table thead th {
    background: var(--vc-gray-50);
    color: var(--vc-gray-700);
    font-weight: 600;
    border-bottom: 2px solid var(--vc-gray-200);
    padding: 1rem;
}

.table tbody tr {
    border-bottom: 1px solid var(--vc-gray-200);
}

.table tbody tr:hover {
    background: var(--vc-gray-50);
}

/* Badges */
.badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-primary {
    background: var(--vc-blue-100);
    color: var(--vc-blue-700);
}

.badge-success {
    background: var(--vc-green-bg);
    color: var(--vc-green);
}

/* Footer - ValueChecker blue style */
.footer {
    background: var(--vc-blue-700);
    color: white;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-2xl);
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--vc-yellow);
}

/* Charts */
.chart-container {
    background: white;
    border: 1px solid var(--vc-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, var(--vc-gray-100) 25%, var(--vc-gray-200) 50%, var(--vc-gray-100) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Utilities */
.text-blue { color: var(--vc-blue-600); }
.text-muted { color: var(--vc-gray-600); }
.bg-blue-50 { background: var(--vc-blue-50); }
.bg-white { background: white; }

/* Full-width hero section - ValueChecker style */
.hero-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.hero-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

/* Ensure body doesn't add extra margins */
body {
    margin: 0;
    padding: 0;
}

/* Make sure the content wrapper doesn't constrain hero */
.content {
    padding: 0;
}

.content > .hero-section:first-child {
    margin-top: 0;
}
