@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary: #e2241b;
    /* Vermelho Minds */
    --secondary: #ff6b00;
    /* Laranja */
    --bg-dark: #050505;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-blue: #00d2ff;
    --neon-purple: #9d50bb;
}

body {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.glass-card {
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Liquid Background Elements */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0a0a0f 0%, #050505 100%);
}

.blob {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--neon-purple));
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.25;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 700px;
    height: 700px;
    top: -15%;
    left: -10%;
    animation: drift 25s infinite alternate ease-in-out;
}

.blob-2 {
    width: 600px;
    height: 600px;
    bottom: -10%;
    right: -10%;
    background: linear-gradient(135deg, #ff4d4d 0%, #e2241b 100%);
    animation: drift 30s infinite alternate-reverse ease-in-out;
    animation-delay: -7s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    top: 30%;
    left: 40%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    animation: drift 35s infinite alternate ease-in-out;
    animation-delay: -15s;
    opacity: 0.15;
}

.blob-4 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: 10%;
    background: linear-gradient(135deg, var(--primary), #ffa07a);
    animation: drift 20s infinite alternate-reverse ease-in-out;
    animation-delay: -5s;
    opacity: 0.1;
}

/* Mouse cursor blob */
#cursor-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(226, 36, 27, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    transition: width 0.3s, height 0.3s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 50% 50% 50%;
    }

    33% {
        transform: translate(5vw, 10vh) scale(1.1) rotate(120deg);
        border-radius: 40% 60% 70% 30%;
    }

    66% {
        transform: translate(-5vw, 20vh) scale(0.9) rotate(240deg);
        border-radius: 60% 40% 30% 70%;
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
        border-radius: 50% 50% 50% 50%;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Button */
.btn-primary {
    background-color: #e2241b;
    color: #ffffff;
    padding: 1.25rem 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(226, 36, 27, 0.6);
    border: none;
}

.btn-primary:hover {
    background-color: #b51d16;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(226, 36, 27, 0.8);
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    color: #000000;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3);
    border: none;
}

.btn-secondary:hover {
    background-color: #e2241b;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(226, 36, 27, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(226, 36, 27, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(226, 36, 27, 0.4);
    }
}

/* Pricing Card Highlight */
.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgb(255 0 0 / 20%);
}

/* FAQ Accordion */
.faq-item {
    padding: 1.5rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item .icon {
    transition: transform 0.3s ease;
}

.faq-item.active .icon {
    transform: rotate(180deg);
}

/* Mobile Sticky Bar Animation */
@keyframes slide-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}