/* Enhanced Global Styles */
:root {
    --primary: #0060B6;
    --secondary: #004c91;
    --accent: #FF6600;
    --dark: #212121;
    --surface: #ffffff;
    --surface-soft: #f4f8ff;
    --muted: #6b7280;
}

* {
    scroll-behavior: smooth;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: radial-gradient(circle at top center, rgba(0, 96, 182, 0.08), transparent 32%), linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
a:hover {
    color: var(--primary);
}

button, input, select, textarea {
    font: inherit;
}

.container {
    width: min(100% - 2rem, 1200px);
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.5rem, 2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 1.75rem;
}

.card {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.glass-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-pill {
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 96, 182, 0.18);
}

.input-glow {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 8px 20px rgba(15, 23, 42, 0.06);
}

.hero-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

.badge-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #e55a00 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-weight: 600;
}

.input:focus, button:focus {
    outline: none;
}

/* Product Image Styling */
.product-img {
    height: 200px;
    object-fit: contain;
    padding: 10px;
    background-color: #f8f9fa;
}

/* Base Card Styling */
.card {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 96, 182, 0.15), 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Premium Shadow Effects */
.shadow-soft {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-medium {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.shadow-strong {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #0060B6 0%, #004c91 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #FF6600 0%, #E55A00 100%);
}

.gradient-light {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f1ff 100%);
}

/* Interactive Button Animations */
.btn-hover {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 96, 182, 0.2);
}

.btn-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.btn-hover:hover::before {
    left: 100%;
}

/* Smooth Transitions */
.transition-smooth {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 102, 0, 0.5);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* Pulse Effect */
@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-soft {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Shine Effect for Images */
@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shine {
    background-size: 200% 100%;
    animation: shine 2s infinite;
}

/* Product Card Enhancements */
.product-card {
    overflow: hidden;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-card .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

/* Badge Styling */
.badge-accent {
    background: linear-gradient(135deg, #FF6600 0%, #E55A00 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, #0060B6 0%, #004c91 100%);
    color: white;
    font-weight: 600;
}

/* Icon Animations */
.icon-bounce {
    display: inline-block;
    transition: all 0.3s ease;
}

.icon-bounce:hover {
    transform: translateY(-3px) scale(1.1);
    animation: bounce 0.6s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-3px) scale(1.1);
    }
    50% {
        transform: translateY(-8px) scale(1.15);
    }
}

/* Header Enhancements */
.header-shadow {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading Spinner Enhancement */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Stagger Animation for List Items */
@keyframes stagger {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-item {
    animation: stagger 0.5s ease-out backwards;
}

.stagger-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Backdrop Blur */
.backdrop-blur-soft {
    backdrop-filter: blur(10px);
}

/* Focus States */
input:focus, button:focus {
    outline: none;
}