*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media(min-width:640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media(min-width:1024px) {
    .container {
        padding: 0 2rem;
    }
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 5rem;
}

.hero-gradient {
    background: linear-gradient(135deg, #1391a5, #162d89);
    min-height: 92vh;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.font-heading {
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.text-primary-500 {
    color: #162d89;
}

.text-primary-600 {
    color: #0b6bd3;
}

.text-primary-700 {
    color: #004289;
}

.bg-primary-500 {
    background-color: #162d89;
}

.bg-primary-600 {
    background-color: #0b6bd3;
}

.text-white {
    color: #fff;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-600 {
    color: #4b5563;
}

.btn-primary {
    background-color: #162d89;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    transform: scale(1);
}

.btn-primary:hover {
    background-color: #0b6bd3;
    transform: scale(1.05);
}

.cta-primary {
    background: #162d89;
    border: 2px solid transparent;
}

.cta-primary:hover {
    background: #0b6bd3;
}

.plan-max-stream {
    position: relative;
    transform: scale(1.05);
    background: linear-gradient(135deg, #162d89, #0b6bd3);
    z-index: 10;
}

.plan-max-stream::before {
    content: 'MAIS POPULAR';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 15px rgba(22, 45, 137, 0.5);
    }

    100% {
        box-shadow: 0 0 30px rgba(22, 45, 137, 0.8), 0 0 50px rgba(22, 45, 137, 0.4);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

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

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40%,
    43% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.pricing-gradient {
    background: linear-gradient(-45deg, #1391a5, #162d89);
}

.client-logo img {
    transition: opacity 0.3s ease-in-out;
}

@media (hover: none) and (pointer: coarse) {
    .group:hover {
        transform: none;
    }

    .hover\:scale-105:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-loading {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #162d89, #0b6bd3);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(22, 45, 137, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    border: none;
    cursor: pointer;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 45, 137, 0.4);
    background: linear-gradient(135deg, #0b6bd3, #004289);
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}