/**
 * Peak Button System - Standalone CSS
 * Self-contained button styles for all button blocks
 */

.peak-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.peak-btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* PRIMARY: Blue Glassmorphic */
.peak-btn-primary {
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.95) 0%,
        rgba(59, 130, 246, 0.9) 35%,
        rgba(99, 102, 241, 0.85) 70%,
        rgba(124, 58, 237, 0.8) 100%);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    color: white;
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.3),
        inset 0 2px 2px rgba(255, 255, 255, 0.3),
        inset 0 -2px 2px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.peak-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    border-radius: 8px 8px 100px 100px;
}

.peak-btn-primary:hover {
    background: linear-gradient(135deg,
        rgba(29, 78, 216, 1) 0%,
        rgba(59, 130, 246, 0.95) 35%,
        rgba(109, 112, 251, 0.9) 70%,
        rgba(139, 92, 246, 0.85) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(59, 130, 246, 0.4),
        inset 0 2px 3px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(29, 78, 216, 0.35);
    color: white;
}

/* SECONDARY: Orange/Amber Glassmorphic */
.peak-btn-secondary {
    background: linear-gradient(135deg,
        rgba(255, 235, 59, 0.9) 0%,
        rgba(255, 193, 7, 0.85) 35%,
        rgba(255, 152, 0, 0.8) 70%,
        rgba(245, 124, 0, 0.75) 100%);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    color: #1A1A1A;
    box-shadow:
        0 8px 32px rgba(255, 193, 7, 0.25),
        inset 0 2px 2px rgba(255, 255, 255, 0.5),
        inset 0 -2px 2px rgba(245, 124, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.peak-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    border-radius: 8px 8px 100px 100px;
}

.peak-btn-secondary:hover {
    background: linear-gradient(135deg,
        rgba(255, 241, 118, 0.95) 0%,
        rgba(255, 202, 40, 0.9) 35%,
        rgba(255, 167, 38, 0.85) 70%,
        rgba(251, 140, 0, 0.8) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(255, 193, 7, 0.35),
        inset 0 2px 3px rgba(255, 255, 255, 0.6),
        inset 0 -2px 3px rgba(245, 124, 0, 0.15);
    color: #0A0A0A;
}

.peak-btn-secondary .peak-btn-icon {
    color: #6B4423;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.5));
}

/* ACCENT: Transparent Glassmorphic */
.peak-btn-accent {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px) saturate(180%) contrast(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(180%) contrast(1.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #1F2937;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.peak-btn-accent:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    color: #111827;
}

/* CTA Phone Animation */
.peak-cta-call {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Header Specific */
#main-header .peak-btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .peak-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
}
