/* ============================================================================
   SIGNALDESK - OFFER SECTION CSS (HOMEPAGE)
   Modular offer cards for the homepage with CSS variables
   ============================================================================ */

.offer-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.offer-section .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--grey-darkest);
    margin-bottom: 1rem;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease-out;
}

.offer-section .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--grey-medium);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: var(--leading-relaxed);
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.offer-card-simple {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-slow);
    position: relative;
    border: 2px solid var(--grey-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offer-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.offer-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.offer-card-simple.featured {
    border-color: var(--primary-blue-light);
    background: linear-gradient(135deg, var(--white) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.offer-card-simple.featured::before {
    background: var(--gradient-primary);
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-blue-light);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.offer-icon-simple {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-4xl);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all var(--transition-base);
}

.offer-card-simple:hover .offer-icon-simple {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.offer-title-simple {
    font-size: var(--font-xl);
    font-weight: 800;
    color: var(--grey-darkest);
    margin-bottom: 1rem;
}

.offer-description-simple {
    color: var(--grey-medium);
    line-height: var(--leading-relaxed);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: var(--font-base);
}

.offer-link {
    color: var(--primary-blue-light);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-base);
}

.offer-link:hover {
    color: var(--primary-blue-dark);
    transform: translateX(4px);
}

.offer-link::after {
    content: '→';
    transition: all var(--transition-base);
}

.offer-link:hover::after {
    transform: translateX(4px);
}

/* ============================================================================
   RESPONSIVE DESIGN FOR OFFER SECTION
   ============================================================================ */

@media (max-width: 1024px) {
    .offer-section {
        padding: var(--spacing-xl) 0;
    }

    .offer-card-simple {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .offer-section {
        padding: var(--spacing-lg) 0;
    }

    .offer-card-simple {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .offer-icon-simple {
        width: 60px;
        height: 60px;
        font-size: var(--font-3xl);
    }

    .offer-badge {
        top: -8px;
        right: 15px;
        padding: 0.4rem 0.8rem;
    }

    .offer-title-simple {
        font-size: var(--font-lg);
    }
}
