html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gradient-bg {
    background: linear-gradient(135deg, #f8f4ff 0%, #ede7f6 50%, #e8e3f3 100%);
}

.hero-gradient {
    background: linear-gradient(135deg, #462984 0%, #5b3497 25%, #663399 50%, #8e44ad 75%, #9b59b6 100%);
    min-height: 100vh;
}

.hero-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(70, 41, 132, 0.15);
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    color: #462984;
}

.btn-primary {
    background: linear-gradient(135deg, #462984 0%, #5b3497 50%, #663399 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b3497 0%, #663399 50%, #8e44ad 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(70, 41, 132, 0.4);
}

.hero-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(70, 41, 132, 0.1) 2px, transparent 0),
        radial-gradient(circle at 75% 75%, rgba(91, 52, 151, 0.08) 1px, transparent 0);
    background-size: 60px 60px, 40px 40px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        background-position: 0% 0%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, -100% -100%;
    }
}

.seal-glow {
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.6));
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.8));
    }
}

.section-enter {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-enter.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    transition-delay: calc(var(--stagger) * 0.1s);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.text-gradient {
    background: linear-gradient(135deg, #462984 0%, #8e44ad 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover {
    transform: scale(1.05) rotate(2deg);
}

.modern-shadow {
    box-shadow:
        0 10px 25px -5px rgba(70, 41, 132, 0.1),
        0 10px 10px -5px rgba(70, 41, 132, 0.04);
}

.blockchain-divider {
    background: #462984;
    width: 100%;
    font-family: 'Orbitron', monospace;
    overflow: hidden;
}

.blockchain-text {
    background: linear-gradient(90deg, transparent 0%, #fff 20%, #fff 80%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: tech-glow 3s ease-in-out infinite alternate;
    letter-spacing: 0.2em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes tech-glow {
    0% {
        filter: brightness(1);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        filter: brightness(1.2);
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.tech-pattern {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: tech-slide 20s linear infinite;
}

@keyframes tech-slide {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

.parallax-section {
    position: relative;
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.parallax-section:not(:first-child) {
    z-index: 2;
}

.parallax-section:nth-child(even) {
    z-index: 3;
}

.parallax-section:nth-child(odd) {
    z-index: 4;
}

body {
    scroll-behavior: smooth;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
    z-index: 1;
    pointer-events: none;
}

#seloContent::after {
    content: '';
    position: absolute;
    top: 250px;
    right: -150px;
    width: 500px;
    height: 500px;
    background-image: url('certificado.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1024px) {
    #selo::after {
        left: -80px;
        width: 400px;
        height: 400px;
        opacity: 0.06;
    }
}

#main-header.header-transparent {
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    backdrop-filter: none !important;
}

#main-header.header-scrolled {
    background: rgba(70, 41, 132, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.nav-link {
    position: relative;
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .nav-bg {
    transform: scale(1);
}

.nav-link.active {
    color: white !important;
    font-weight: 600;
}

.nav-link.active .nav-bg {
    transform: scale(1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0.6;
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link.active {
    transform: translateY(-1px);
}

.pricing-toggle-bg {
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #462984, #5b3497) !important;
}

.pricing-toggle-dot {
    transition: all 0.3s ease;
    transform: translateX(0);
}

#pricing-toggle:checked+.pricing-toggle-bg {
    background: linear-gradient(135deg, #10b981, #06b6d4) !important;
}

#pricing-toggle:checked+.pricing-toggle-bg .pricing-toggle-dot {
    transform: translateX(2rem);
}

.annual-mode .monthly-only {
    display: none;
}

.annual-mode .annual-only {
    display: block;
}

.monthly-mode .annual-only {
    display: none;
}

.monthly-mode .monthly-only {
    display: block;
}

@media (max-width: 768px) {
    #selo::after {
        left: -50px;
        width: 250px;
        height: 250px;
        opacity: 0.04;
    }
}

@media (max-width: 1024px) {
    #parceiros::after {
        right: -80px;
        width: 300px;
        height: 300px;
        opacity: 0.06;
    }
}

@media (max-width: 768px) {
    #parceiros::after {
        right: -50px;
        width: 200px;
        height: 200px;
        opacity: 0.04;
    }
} 