/* Base Styles and Custom Utilities */
:root {
    --brand-blue: #2563eb;
    --dark-bg: #030712;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: white;
}

/* Custom Gradients and Effects */
.text-gradient {
    background: linear-gradient(to right, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-dark {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease-in-out;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 32rem;
    border-radius: 2.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-hidden .modal-content {
    transform: scale(0.9) translateY(20px);
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-20px);
}

.mobile-menu-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-menu-link:active {
    color: #3b82f6;
    padding-left: 0.5rem;
}

/* Pricing Tab Styles */
.pricing-tab-btn {
    padding: 0.6rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .pricing-tab-btn {
        padding: 0.875rem 2.5rem;
        font-size: 0.75rem;
    }
}

.pricing-tab-btn.active {
    background-color: #2563eb !important;
    color: white !important;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.pricing-tab-btn:not(.active) {
    color: #94a3b8 !important;
}

.pricing-tab-btn:not(.active):hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.05);
}

.pricing-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.pricing-pane.active {
    display: grid !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#sites-pane,
#nuvem-pane {
    margin-bottom: 0 !important;
}

/* Contact Form Refinements */
#contact-form input:focus,
#contact-form textarea:focus {
    background-color: white;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

#contact-form label {
    transition: all 0.3s ease;
}

#contact-form input:focus~label,
#contact-form textarea:focus~label {
    color: #2563eb;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 15s linear infinite;
}

/* Custom Systems Section */
.bg-grid {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.systems-badge {
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

.systems-card-frame {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 1.5rem;
}