/* Atoms */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    /* Wider */
    font-family: var(--font-family-base);
    font-weight: 500;
    /* Medium weight */
    font-size: 1rem;
    border-radius: var(--radius-md);
    /* Minimal professional corners */
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    /* Shine */
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(0);
}

/* Button Variants */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
    /* Colored shadow match */
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-main);
    backdrop-filter: none;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    color: var(--primary-light);
    border-color: rgba(249, 115, 22, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-secondary);
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-family-base);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: var(--bg-glass-strong);
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
    /* Soft spread */
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 999px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-base);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    /* Green */
    border-radius: 50%;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.4;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    70% {
        transform: scale(3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.section-header .badge:hover {
    background: none;
    transform: none;
    box-shadow: none;
}

/* Trust Badges - Specific sizing for the logos */
.trust-badge-logo {
    height: 20px;
    width: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.trust-badge-brand img[src*="sitejabber"] {
    width: auto;
    height: 22px;
    max-width: 110px;
}

/* Icons */
.icon {
    width: 1.5em;
    height: 1.5em;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Utilities */
.u-hidden-svg {
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
}

/* Badge Icon */
.badge-icon {
    margin-right: 8px;
    color: var(--accent-purple);
}

/* Testimonials Subtitle */
.testimonials-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    opacity: 0.9;
}