/* Design System Variables */
:root {
    /* Colors - Using HSL for consistency */
    --bs-body-bg: hsl(220, 25%, 98%);
    --bs-body-color: hsl(222, 47%, 11%);
    
    --bs-primary: hsl(225, 73%, 57%);
    --bs-primary-rgb: 70, 115, 216;
    --bs-primary-glow: hsl(225, 73%, 67%);
    
    --bs-secondary: hsl(220, 17%, 93%);
    --bs-secondary-rgb: 232, 235, 239;
    
    --bs-light: hsl(220, 17%, 95%);
    --bs-muted: hsl(220, 9%, 46%);
    
    --bs-border-color: hsl(220, 17%, 88%);
    --bs-card-bg: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(225, 73%, 57%), hsl(225, 73%, 67%));
    --gradient-accent: linear-gradient(135deg, hsl(176, 70%, 45%), hsl(198, 70%, 50%));
    --gradient-hero: linear-gradient(180deg, hsl(220, 25%, 98%), hsl(220, 30%, 96%));
    
    /* Shadows */
    --shadow-sm: 0 2px 8px hsla(222, 47%, 11%, 0.05);
    --shadow-md: 0 4px 16px hsla(222, 47%, 11%, 0.08);
    --shadow-lg: 0 8px 32px hsla(222, 47%, 11%, 0.12);
    --shadow-glow: 0 0 40px hsla(225, 73%, 67%, 0.3);
    
    /* Border Radius */
    --bs-border-radius: 0.75rem;
    --bs-border-radius-lg: 1rem;
    --bs-border-radius-xl: 1.25rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    line-height: 1.6;
}

/* Override Bootstrap Primary Color */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-primary {
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
    background-color: rgba(70, 115, 216, 0.1);
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-hero {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.btn-hero:hover {
    box-shadow: var(--shadow-glow);
}

.btn-hero i.bi-arrow-right {
    transition: transform 0.3s ease;
}

.btn-hero:hover i.bi-arrow-right {
    transform: translateX(4px);
}

/* Text Colors */
.text-primary {
    color: var(--bs-primary) !important;
}

.text-muted {
    color: var(--bs-muted) !important;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    position: relative;
}

.min-vh-90 {
    min-height: 90vh;
}

.hero-badge {
    background-color: rgba(70, 115, 216, 0.1);
    border: 1px solid rgba(70, 115, 216, 0.2);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.stat-item {
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-4px);
}

/* Services Section */
.service-card {
    transition: var(--transition-smooth);
    border-radius: var(--bs-border-radius-lg);
    background-color: var(--bs-card-bg);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(70, 115, 216, 0.5) !important;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--bs-border-radius);
    background-color: rgba(70, 115, 216, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Platforms Section */
.platform-card {
    transition: var(--transition-smooth);
    border-radius: var(--bs-border-radius-lg);
    background-color: var(--bs-card-bg);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(70, 115, 216, 0.5) !important;
}

.platform-indicator {
    height: 4px;
    width: 3rem;
    background-color: rgba(70, 115, 216, 0.2);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.platform-card:hover .platform-indicator {
    width: 100%;
    background-color: var(--bs-primary);
}

/* Pricing Section */
.pricing-card {
    transition: var(--transition-smooth);
    border-radius: var(--bs-border-radius-lg);
    background-color: var(--bs-card-bg);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
}

.pricing-card-featured {
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.07) translateY(-4px);
}

.pricing-card .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* CTA Section */
.cta-overlay {
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

/* Cards */
.card {
    border-radius: var(--bs-border-radius-lg);
    border: 1px solid var(--bs-border-color);
}

/* Badges */
.badge {
    border-radius: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-weight: 500;
}

/* Links */
a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--bs-primary);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    position: relative;
}

/* Background Colors */
.bg-light {
    background-color: hsl(220, 17%, 97%) !important;
}

/* List Styling */
ul.list-unstyled li {
    padding: 0.5rem 0;
}

/* Icon Sizing */
.bi {
    vertical-align: middle;
}

/* Hover Effects */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Container Max Width */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.rounded-lg {
    border-radius: var(--bs-border-radius-lg) !important;
}

.rounded-xl {
    border-radius: var(--bs-border-radius-xl) !important;
}

/* Focus States */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(70, 115, 216, 0.25);
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Print Styles */
@media print {
    .btn,
    .badge {
        border: 1px solid #000;
    }
}

