/* Enhanced Buttons for Hero Section */
.hero__actions {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    position: relative;
    z-index: 5;
}

.hero__cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Main CTA Button - Enhanced Create Now */
.btn--create {
    background: linear-gradient(135deg, var(--gold-light), var(--color-accent));
    color: var(--color-dark);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    box-shadow: 
        0 10px 25px rgba(212, 175, 55, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn--create::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.btn--create:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 15px 35px rgba(212, 175, 55, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--create:hover::before {
    opacity: 0.3;
    transform: scale(1);
    animation: pulse 1.5s infinite;
}

.btn--create:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 
        0 5px 15px rgba(212, 175, 55, 0.5),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--create .btn-icon {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn--create:hover .btn-icon {
    transform: rotate(15deg) scale(1.2);
}

/* Secondary Button - Demo Button */
.btn--demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-light);
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 30px;
    transition: all 0.4s ease;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.btn--demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.1),
        rgba(255, 255, 255, 0.05),
        rgba(212, 175, 55, 0.1));
    transform: translateX(-100%);
    transition: all 0.6s ease;
}

.btn--demo:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--demo:hover::before {
    transform: translateX(100%);
}

.btn--demo .btn-icon {
    transition: all 0.3s ease;
    color: var(--color-accent);
}

.btn--demo:hover .btn-icon {
    transform: scale(1.2);
    color: var(--gold-light);
}

.btn--demo .btn-text,
.btn--create .btn-text {
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Button glow and pulse animations */
@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
}

/* Sparkle animation for create button */
.sparkle {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    z-index: 2;
    animation: sparkle 600ms ease-in-out forwards;
}

@keyframes sparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.8;
        box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8), 
                    0 0 20px 6px rgba(212, 175, 55, 0.4);
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Icon pulse animation */
.btn-icon.pulsing {
    animation: iconPulse 800ms ease-in-out;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); color: var(--gold-light); }
    100% { transform: scale(1); }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    pointer-events: none;
    animation: rippleEffect 600ms linear;
    z-index: 1;
}

@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.6;
        width: 0;
        height: 0;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
        width: 150px;
        height: 150px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero__cta {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        gap: 1rem;
    }
    
    .btn--create, .btn--demo {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .btn--create, .btn--demo {
        min-width: 180px;
    }
}

/* Accessibility - Focus States */
.btn--create:focus-visible, 
.btn--demo:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 2px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .btn--create::before,
    .btn--demo::before {
        animation: none !important;
        transition: none !important;
    }
    
    .btn--create:hover::before {
        animation: none !important;
    }
    
    .btn--create, 
    .btn--demo {
        transition: none !important;
    }
}
