/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Background animado com gradiente */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Partículas flutuantes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 0, 0, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 0, 0, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 0, 0, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 0, 0, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 0, 0, 0.3), transparent);
    background-size: 200% 200%;
    animation: particlesFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particlesFloat {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.container {
    width: 100%;
    max-width: 700px;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.landing-page {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção de Título */
.title-section {
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
    line-height: 1.2;
}

.title-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Logo com efeitos melhorados */
.logo-container {
    margin-bottom: 80px;
    animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    position: relative;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }
    60% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Glow effect atrás da logo */
.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.3) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
    filter: blur(30px);
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.logo {
    width: 380px;
    max-width: 85vw;
    height: auto;
    border-radius: 20%;
    filter:
        drop-shadow(0 10px 25px rgba(255, 0, 0, 0.4))
        contrast(1.1)
        brightness(1.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    transform: scale(1.03) translateY(-3px);
    border-radius: 22%;
    filter:
        drop-shadow(0 15px 35px rgba(255, 0, 0, 0.6))
        contrast(1.15)
        brightness(1.1);
}

/* Botão CTA - Verde Claro */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #25D366 0%, #1ea952 50%, #25D366 100%);
    background-size: 200% 200%;
    color: #fff;
    padding: 22px 70px;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 60px;
    margin: 60px 0 30px;
    box-shadow:
        0 15px 40px rgba(37, 211, 102, 0.4),
        0 0 60px rgba(37, 211, 102, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: buttonEntrance 1s ease-out 0.3s both;
    border: 3px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

@keyframes buttonEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Shimmer effect no botão */
.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%,
        transparent
    );
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 20px 60px rgba(37, 211, 102, 0.6),
        0 0 80px rgba(37, 211, 102, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.4),
        0 0 40px rgba(37, 211, 102, 0.3);
}

.button-text {
    font-size: 30px;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* Removido button-icon já que não tem mais seta */

/* Pulsação removida - botão sem animação contínua */
.cta-button {
    animation: buttonEntrance 1s ease-out 0.3s both;
}

/* Legenda melhorada */
.subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    margin-top: 35px;
    animation: fadeIn 1s ease-out 0.6s both;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .title-section {
        margin-bottom: 40px;
    }

    .main-title {
        font-size: 32px;
    }

    .title-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    .logo-container {
        margin-bottom: 60px;
    }

    .logo {
        width: 300px;
    }

    .cta-button {
        padding: 20px 60px;
        font-size: 24px;
        margin: 50px 0 25px;
    }

    .button-text {
        font-size: 26px;
    }

    .subtitle {
        font-size: 15px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 26px;
    }

    .title-subtitle {
        font-size: 14px;
    }

    .title-section {
        margin-bottom: 35px;
    }

    .logo {
        width: 260px;
    }

    .cta-button {
        padding: 18px 50px;
        font-size: 22px;
        margin: 40px 0 20px;
    }

    .button-text {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .logo-container {
        margin-bottom: 50px;
    }

    .subtitle {
        font-size: 14px;
    }
}

/* Efeito de loading ao clicar */
.cta-button.loading {
    pointer-events: none;
    opacity: 0.8;
    animation: loadingPulse 1s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.98);
    }
}
