/* ========================================
   TRADE MANAGER LANDING PAGE - CSS
   Modular Structure
   ======================================== */

/* Buttons */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    animation: buttonPulse 1.5s ease-in-out infinite;
}

.btn-primary:hover > * {
    color: #FFFFFF !important;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
    color: inherit;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.15), 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.25), 0 0 40px rgba(0, 0, 0, 0.4);
    }
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn-outline:hover > * {
    color: #FFFFFF !important;
}

.btn-outline > * {
    position: relative;
    z-index: 1;
    color: inherit;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
