/* Bootstrap Custom Styles for Velero Dashboard */

/* Font Family */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent sections from overflowing */
section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Custom Colors - Override Bootstrap defaults */
:root {
    --bs-primary: #4F46E5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-success: #10B981;
}

.btn-primary {
    background-color: #4F46E5;
    border-color: #4F46E5;
}

.btn-primary:hover {
    background-color: #4338CA;
    border-color: #4338CA;
}

.btn-outline-primary {
    color: #4F46E5;
    border-color: #4F46E5;
}

.btn-outline-primary:hover {
    background-color: #4F46E5;
    border-color: #4F46E5;
}

.text-primary {
    color: #4F46E5 !important;
}

.bg-primary {
    background-color: #4F46E5 !important;
}

.border-primary {
    border-color: #4F46E5 !important;
}

.badge.bg-primary {
    background-color: #4F46E5 !important;
}

/* Hero Section with Gradient */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}



/* Feature Cards Hover Effect */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    width: 48px;
    height: 48px;
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card-featured {
    margin-top: 0.75rem;
}

@media (min-width: 992px) {
    .pricing-card-featured {
        transform: scale(1.05);
    }

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

/* Dashboard Preview */
.dashboard-preview {
    min-height: 350px;
}

.preview-dot {
    width: 12px;
    height: 12px;
}

.preview-sidebar {
    width: 80px;
}

.preview-content {
    min-height: 300px;
}

.preview-card {
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.85;
}

/* CTA Section with Gradient */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for sticky navbar */
    overflow-x: hidden;
}

/* Navbar Enhancement */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Animation for scroll-in effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card,
.card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1),
.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2),
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3),
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Mobile Navbar Fix */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
    }

    .nav-item .btn {
        margin-top: 0.5rem;
        width: 100%;
    }
}

/* Link hover effects */
a {
    transition: all 0.2s ease;
}

/* Footer link hover */
footer a:hover {
    color: #fff !important;
}

/* Button focus states */
.btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}
