﻿.fresh-cards-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fresh-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

    .card-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
    }

.micro-card::before {
    background: #20c997;
}

.mini-card::before {
    background: #007bff;
}

.premium-card::before {
    background: #8b5cf6;
}

.other-card::before {
    background: #f97316;
}

.card-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 4rem;
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.demo-btn {
    display: block;
    padding: 1rem 1.2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .demo-btn.blue {
        background: rgba(0,123,255,0.1);
        color: #007bff;
        border-color: rgba(0,123,255,0.3);
    }

    .demo-btn.purple {
        background: rgba(139,92,246,0.1);
        color: #8b5cf6;
        border-color: rgba(139,92,246,0.3);
    }

    .demo-btn.orange {
        background: rgba(249,115,22,0.1);
        color: #f97316;
        border-color: rgba(249,115,22,0.3);
    }

    .demo-btn:hover {
        color: white !important;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    .demo-btn.blue:hover {
        background: linear-gradient(135deg, #007bff, #0056b3);
    }

    .demo-btn.purple:hover {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    }

    .demo-btn.orange:hover {
        background: linear-gradient(135deg, #f97316, #ea580c);
    }

@media (max-width: 768px) {
    .fresh-cards-section {
        padding: 2rem 1rem;
    }

    .fresh-title {
        font-size: 2.2rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* New */
.card-content.enhanced {
    max-width: 28rem;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: left;
    position: relative;
    overflow: hidden;
}

    .card-content.enhanced::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    }

.card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.75rem 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.card-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead-text {
    text-align:justify !important;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
    margin: 0;
    font-weight: 400;
}

.features-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.feature-tag {
    display: inline-block;
    background: #f8fafc;
    color: #475569;
    padding: 0.375rem 0.75rem;
    margin: 0.125rem 0.25rem 0.125rem 0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

    .feature-tag:hover {
        background: #f1f5f9;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

/* Subtle hover lift */
.card-content.enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Perfect responsive design */
@media (max-width: 640px) {
    .card-content.enhanced {
/*        margin: 1rem;
*/        padding: 2rem 1rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .lead-text {
        font-size: 1rem;
        text-align: justify !important;
    }

    .features-text {
        font-size: 0.9375rem;
    }
}

/* Focus states for accessibility */
.card-content.enhanced:focus-within {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
