/* Banners CSS - Seções de destaque e banners especiais */

/* Hero Banner */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(56, 173, 17, 0.05) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(46, 118, 194, 0.05) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e0e0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
}

.hero-title {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green), var(--support-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Stats Banner */
.stats-section {
    background: linear-gradient(135deg, 
        var(--light-gray) 0%, 
        rgba(56, 173, 17, 0.05) 50%, 
        var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 173, 17, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-grid {
    position: relative;
    z-index: 2;
}

/* Business Banner */
.business-section {
    background: linear-gradient(135deg, 
        rgba(46, 118, 194, 0.02) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(255, 204, 42, 0.05) 100%);
    position: relative;
}

.business-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 118, 194, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Social Impact Banner */
.social-impact-section {
    background: linear-gradient(135deg, 
        var(--light-gray) 0%, 
        rgba(46, 118, 194, 0.05) 100%);
    position: relative;
}

.social-impact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        var(--accent-yellow) 50%, 
        var(--support-blue) 100%);
}

/* Browser Connection Banner */
.browser-connection-section {
    background: linear-gradient(135deg, 
        rgba(255, 204, 42, 0.05) 0%, 
        rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.browser-connection-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 40%;
    height: 140%;
    background: linear-gradient(45deg, 
        rgba(255, 204, 42, 0.1) 0%, 
        transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Contact Banner */
.contact-section {
    background: linear-gradient(135deg, 
        rgba(56, 173, 17, 0.02) 0%, 
        rgba(255, 255, 255, 1) 100%);
    position: relative;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(56, 173, 17, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Cookie Banner */
.cookie-banner {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--medium-gray);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        var(--accent-yellow) 50%, 
        var(--support-blue) 100%);
}

/* Promotional Banners */
.promo-banner {
    background: var(--gradient-accent);
    color: var(--text-dark);
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.promo-banner-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.promo-banner-support {
    background: var(--gradient-support);
    color: var(--white);
}

/* Feature Banners */
.feature-banner {
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-banner:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(56, 173, 17, 0.15);
}

.feature-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-banner:hover::before {
    transform: scaleX(1);
}

/* Notification Banners */
.notification-banner {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 400px;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary-green);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification-banner.show {
    transform: translateX(0);
}

.notification-banner-warning {
    border-left-color: var(--warning);
}

.notification-banner-error {
    border-left-color: var(--error);
}

.notification-banner-info {
    border-left-color: var(--info);
}

/* CTA Banners */
.cta-banner {
    background: linear-gradient(135deg, 
        var(--primary-green) 0%, 
        var(--primary-green-light) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-banner .btn {
    position: relative;
    z-index: 2;
}

/* Responsive Banner Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .notification-banner {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .cta-banner {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    
    .promo-banner {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}