/* ========================================
   COPER VIDA SOS RECICLAGEM - Index Page Styles
   Modern, Compact & Stunning Design v2.1
   ======================================== */

/* ========== HERO - COMPACTO ========== */
.hero-modern {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 30%, #43A047 60%, #66BB6A 100%);
}
.hero-modern .overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0,0,0,0.15) 0%, transparent 50%);
    z-index: 1;
}
.hero-modern .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}
.hero-modern .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 24px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.hero-modern h1 {
    color: white;
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-modern h1 span {
    display: block;
    background: linear-gradient(135deg, #A5D6A7, #E8F5E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-modern p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-modern .hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-modern .btn-hero-primary {
    background: white;
    color: #2E7D32;
    padding: 16px 40px;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-modern .btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    text-decoration: none;
}
.hero-modern .btn-hero-secondary {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    padding: 16px 40px;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-modern .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

/* ========== STEP CARDS ========== */
.step-card-modern {
    flex: 0 0 calc(25% - 15px);
    max-width: 220px;
    position: relative;
    z-index: 1;
}
.step-card-modern .card-inner {
    background: white;
    border-radius: 20px;
    padding: 32px 16px 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: default;
    border: 2px solid transparent;
}
.step-card-modern .card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(46, 125, 50, 0.2);
}
.step-card-modern .step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.3);
    transition: all 0.3s;
}
.step-card-modern .step-icon {
    font-size: 42px;
    margin: 8px 0 12px;
    transition: all 0.3s;
}
.step-card-modern .card-inner:hover .step-icon {
    transform: scale(1.15);
}
.step-card-modern h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.step-card-modern p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
.step-card-modern.active .card-inner {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 56px rgba(46, 125, 50, 0.25);
    border-color: #2E7D32;
}
.step-card-modern.active .card-inner::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ========== GLASS EFFECT ========== */
.glass {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
}
.glass-dark {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== GLOW CARDS - ENHANCED ========== */
.glow-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(46,125,50,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46,125,50,0.08);
}
.glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(46,125,50,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
}
.glow-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}
.glow-card:hover::before {
    opacity: 1;
}
.glow-card:hover::after {
    left: 100%;
}
.glow-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(46,125,50,0.15);
    border-color: rgba(46,125,50,0.15);
}

/* ========== EMERGENCY CARDS - ENHANCED ========== */
.emergency-card {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
}
.emergency-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}
.emergency-card:hover::before {
    opacity: 1;
}
.emergency-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.1);
    border-color: rgba(255,255,255,0.8);
}
.emergency-card .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 22px;
    color: white;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.emergency-card:hover .icon-circle {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ========== PULSE ANIMATION ========== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========== SHIMMER EFFECT ========== */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .step-card-modern {
        flex: 0 0 calc(50% - 10px);
        max-width: 200px;
    }
}
@media (max-width: 768px) {
    .step-card-modern {
        flex: 0 0 calc(50% - 10px);
        max-width: 180px;
    }
    .hero-modern {
        min-height: 65vh;
    }
    .hero-modern .btn-hero-primary,
    .hero-modern .btn-hero-secondary {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
    .hero-modern .hero-buttons {
        flex-direction: column;
    }
    #stepConnector {
        display: none;
    }
    .glow-card {
        padding: 18px 14px;
    }
}
@media (max-width: 480px) {
    .step-card-modern {
        flex: 0 0 100%;
        max-width: 220px;
    }
    .emergency-card {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: 160px !important;
        padding: 14px 10px;
    }
    .hero-modern {
        min-height: 60vh;
    }
    .hero-modern .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
}
