/* ================================================
   HERO CTA BUTTON - Completely New Design
   ================================================ */

.hero-cta-main {
    /* Layout */
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    
    /* Sizing */
    padding: 24px 50px 24px 45px;
    margin: 30px 0;
    
    /* Typography */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    
    /* Colors */
    color: #000000;
    background: #00FF00;
    
    /* Shape */
    border-radius: 12px;
    border: none;
    
    /* Effects */
    box-shadow: 
        0 10px 30px rgba(0, 255, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -4px 0 rgba(0, 0, 0, 0.2);
    
    /* Animation */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    cursor: pointer;
    overflow: hidden;
    z-index: 10;
    
    /* Prevent text selection */
    user-select: none;
    -webkit-user-select: none;
}

/* Background animated layer */
.cta-bg-layer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
    z-index: 1;
}

/* Text container */
.cta-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Icon */
.cta-icon {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   HOVER STATE
   ================================================ */

.hero-cta-main:hover {
    transform: translateY(-4px) scale(1.02);
    background: #00FF88;
    box-shadow: 
        0 15px 40px rgba(0, 255, 0, 0.7),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -4px 0 rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(0, 255, 0, 0.3);
}

.hero-cta-main:hover .cta-bg-layer {
    left: 100%;
}

.hero-cta-main:hover .cta-icon {
    transform: translateX(5px) rotate(-15deg);
    animation: rocket-shake 0.5s ease;
}

@keyframes rocket-shake {
    0%, 100% { transform: translateX(5px) rotate(-15deg); }
    25% { transform: translateX(5px) rotate(-20deg); }
    75% { transform: translateX(5px) rotate(-10deg); }
}

/* ================================================
   ACTIVE STATE (clicking)
   ================================================ */

.hero-cta-main:active {
    transform: translateY(-2px) scale(1);
    box-shadow: 
        0 8px 20px rgba(0, 255, 0, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

/* ================================================
   PULSE ANIMATION (continuous)
   ================================================ */

.hero-cta-main {
    animation: hero-cta-pulse 2.5s ease-in-out infinite;
}

@keyframes hero-cta-pulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(0, 255, 0, 0.5),
            0 5px 15px rgba(0, 0, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            inset 0 -4px 0 rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(0, 255, 0, 0.7),
            0 8px 20px rgba(0, 0, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            inset 0 -4px 0 rgba(0, 0, 0, 0.2),
            0 0 0 5px rgba(0, 255, 0, 0.2);
    }
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

@media (max-width: 768px) {
    .hero-cta-main {
        font-size: 1.1rem;
        padding: 20px 40px 20px 35px;
        letter-spacing: 1px;
    }
    
    .cta-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-cta-main {
        font-size: 1rem;
        padding: 18px 35px 18px 30px;
        letter-spacing: 1px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .cta-icon {
        font-size: 1.2rem;
    }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */

.hero-cta-main:focus {
    outline: none;
    box-shadow: 
        0 10px 30px rgba(0, 255, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -4px 0 rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(0, 255, 0, 0.5);
}

.hero-cta-main:focus-visible {
    outline: 3px solid rgba(0, 255, 0, 0.8);
    outline-offset: 4px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-cta-main,
    .cta-bg-layer,
    .cta-icon {
        animation: none;
        transition: none;
    }
}

