/* Inter Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
* {
    font-family: 'Inter', sans-serif;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #264D3C 0%, #1a3528 50%, #0f1f15 100%);
}

/* Card Styles */
.modern-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(38, 77, 60, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 64px rgba(38, 77, 60, 0.15);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(38, 77, 60, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(38, 77, 60, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(38, 77, 60, 0.12);
}

/* Gradient Backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-bg-6 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes animate-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: animate-slide-up 0.6s ease-out forwards;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Button Styles */
.modern-button {
    background: #264D3C;
    color: white;
    border-radius: 16px;
    padding: 16px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(38, 77, 60, 0.3);
}

.modern-button:hover {
    background: #1a3528;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(38, 77, 60, 0.4);
}

.modern-button-outline {
    background: transparent;
    color: #264D3C;
    border: 2px solid #264D3C;
    border-radius: 16px;
    padding: 14px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modern-button-outline:hover {
    background: #264D3C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(38, 77, 60, 0.3);
}

/* Tag Styles */
.tag {
    background: rgba(38, 77, 60, 0.1);
    color: #264D3C;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.tool-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Status Styles */
.status-available {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-coming-soon {
    background: rgba(251, 146, 60, 0.1);
    color: #ea580c;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Flash Sale Timer */
.flash-sale-timer {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Price Styles */
.price-old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 18px;
}

.price-discount {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Author Avatar */
.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #264D3C;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(38, 77, 60, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.scroll-to-top:hover {
    background: #1a3528;
    transform: translateY(-2px) scale(1);
    box-shadow: 0 8px 30px rgba(38, 77, 60, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-to-top.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}