:root {
    --primary-color: #ff1a1a;
    --primary-glow: rgba(255, 26, 26, 0.5);
    --secondary-color: #000000;
    --text-color: #ffffff;
    --card-bg: rgba(20, 20, 20, 0.8);
    --grid-color: rgba(255, 26, 26, 0.1);
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes grid-move {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(-100px) translateZ(0px);
    }
    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(0px) translateZ(100px);
    }
}

@keyframes sphere-pulse {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/noise.png');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1100px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
}

.logo-text {
    color: white;
    font-size: 1.25rem;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.2) 0%, transparent 70%);
    filter: blur(8px);
    z-index: -1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: rgb(239, 68, 68);
    color: white;
}

.btn-primary:hover {
    background: rgb(220, 38, 38);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.text-container {
    max-width: 800px;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-gradient-text {
    background: linear-gradient(135deg, var(--primary-color), #ff4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

/* Hero Buttons */
.hero-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.hero-btn.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn.btn-primary:hover {
    background: #ff3333;
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.3);
}

.hero-btn.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.hero-btn svg {
    transition: transform 0.3s ease;
}

.hero-btn:hover svg {
    transform: translateX(4px);
}

/* Terminal com Parallax Leve */
.terminal-wrapper {
    width: 100%;
    max-width: 500px;
    transform-style: preserve-3d;
    will-change: transform;
}

.terminal-container {
    background: rgba(17, 17, 17, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.terminal-header {
    background: rgba(32, 32, 32, 0.6);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red { background-color: #FF5F56; }
.terminal-button.yellow { background-color: #FFBD2E; }
.terminal-button.green { background-color: #27C93F; }

.terminal-title {
    color: #94A3B8;
    font-size: 0.9rem;
    opacity: 0.7;
}

.terminal-content {
    padding: 1.5rem;
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.3);
}

.terminal-prompt {
    color: #27C93F;
    margin-right: 0.5rem;
}

.terminal-command {
    color: #fff;
}

.terminal-output {
    margin-top: 1rem;
}

/* Background Effects */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-glow-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40%;
    height: 80%;
    background: radial-gradient(
        ellipse at right,
        rgba(255, 26, 26, 0.2) 0%,
        rgba(255, 26, 26, 0.1) 40%,
        transparent 80%
    );
    filter: blur(60px);
    opacity: 0.6;
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0.5;
    mask-image: linear-gradient(to left,
        black 0%,
        black 60%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to left,
        black 0%,
        black 60%,
        transparent 100%
    );
}

/* Cards Section */
.cards-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.title-line {
    width: 100px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-glow);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card:hover .card-glow {
    opacity: 0.1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: #999;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    max-width: 900px;
    margin: 0 auto;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 0, 0, 0.1) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-background .grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center;
    opacity: 0.1;
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 70%);
}

.cta-background .glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center,
        rgba(255, 0, 0, 0.15) 0%,
        rgba(255, 0, 0, 0.1) 20%,
        transparent 70%
    );
    filter: blur(60px);
    opacity: 0.5;
}

/* Footer Styles */
footer {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(255, 0, 0, 0.02) 20%,
        rgba(255, 0, 0, 0.02) 80%,
        rgba(0, 0, 0, 0) 100%
    );
}

.footer-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.footer-background .grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0.1;
    mask-image: radial-gradient(circle at 50% 0%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, black 20%, transparent 70%);
}

.footer-glow-sphere {
    position: absolute;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.5;
}

.footer-content-wrapper {
    position: relative;
    overflow: hidden;
}

.footer-content-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 0, 0, 0.1) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.footer-content-wrapper:hover::before {
    opacity: 1;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-2px);
    background: rgba(255, 0, 0, 0.1);
}

.social-icon:hover::before {
    opacity: 1;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .advantage-card-wrapper {
        transform: none !important;
    }
    
    .advantage-card {
        transform: none !important;
    }

    .footer-content-wrapper {
        padding: 2rem;
    }

    .cta-card {
        padding: 2rem !important;
    }
}

/* Features Section */
.features-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(255, 26, 26, 0.03) 40%,
        rgba(255, 26, 26, 0.03) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.features-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-fade {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
}

.features-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 26, 26, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 26, 26, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 26, 26, 0.05) 0%, transparent 70%);
    filter: blur(60px);
}

.features-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255, 26, 26, 0.1) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 26, 26, 0.1) 50%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.3;
}

.glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle at center,
        rgba(255, 26, 26, 0.15) 0%,
        rgba(255, 26, 26, 0.1) 20%,
        transparent 60%
    );
    filter: blur(80px);
    opacity: 0.4;
}

/* Linhas de conexão animadas */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 26, 26, 0.2),
        transparent
    );
    animation: moveLine 8s linear infinite;
}

.connection-line-1 {
    width: 100%;
    height: 1px;
    top: 30%;
    transform-origin: left center;
    transform: rotate(-30deg);
}

.connection-line-2 {
    width: 100%;
    height: 1px;
    top: 70%;
    transform-origin: right center;
    transform: rotate(30deg);
}

.connection-line-3 {
    width: 1px;
    height: 100%;
    left: 30%;
    background: linear-gradient(180deg, 
        transparent,
        rgba(255, 26, 26, 0.2),
        transparent
    );
}

.connection-line-4 {
    width: 1px;
    height: 100%;
    left: 70%;
    background: linear-gradient(180deg, 
        transparent,
        rgba(255, 26, 26, 0.2),
        transparent
    );
}

@keyframes moveLine {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

.features-grid {
    position: relative;
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 26, 26, 0.1);
    border: 1px solid rgba(255, 26, 26, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff1a1a;
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 26, 26, 0.5), transparent);
    opacity: 0.5;
    animation: rotate 4s linear infinite;
}

.connection-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 26, 26, 0.2), transparent);
    transform: translate(-50%, -50%);
}

.connection-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 300px;
    background: linear-gradient(180deg, transparent, rgba(255, 26, 26, 0.2), transparent);
    transform: translate(-50%, -50%);
}

.feature-card {
    background: rgba(17, 17, 17, 0.3);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 26, 26, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.card-border {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(
        var(--border-angle, 0deg),
        rgba(255, 26, 26, 0.3),
        transparent 40%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    color: #ff1a1a;
    background: rgba(255, 26, 26, 0.1);
    border: 1px solid rgba(255, 26, 26, 0.2);
}

.feature-content {
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.advantage-card {
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 0, 0, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.advantage-card:hover::before {
    opacity: 1;
}

.card-connection-lines {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover .card-connection-lines {
    opacity: 1;
}

/* Grid Pattern Background */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center top;
    animation: gridMove 20s linear infinite;
}

/* Connection Grid */
.connection-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    height: 1px;
    width: 100%;
    animation: gridLineMove 4s linear infinite;
}

.grid-line-1 { top: 30%; animation-delay: 0s; }
.grid-line-2 { top: 50%; animation-delay: -1.3s; }
.grid-line-3 { top: 70%; animation-delay: -2.6s; }

@keyframes gridLineMove {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Advantages Section Styles */
.advantages-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(255, 0, 0, 0.03) 40%,
        rgba(255, 0, 0, 0.03) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.advantage-card-wrapper {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.advantage-card {
    transform: translateZ(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    will-change: transform;
    transform-style: preserve-3d;
}

.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 0, 0, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.advantage-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    transform: translateZ(-10px);
}

.advantage-card:hover .card-glow {
    opacity: 0.5;
}

/* Grid Pattern Background */
.advantages-section .grid-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0.15;
    mask-image: linear-gradient(to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
    -webkit-mask-image: linear-gradient(to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
}

/* Glowing Orbs */
.glow-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.2), transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.15), transparent 70%);
    top: 50%;
    right: 15%;
    animation-delay: -2s;
}

.glow-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1), transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: -4s;
}

/* Connection Grid */
.connection-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    height: 1px;
    width: 200%;
    left: -50%;
    animation: gridLineMove 8s linear infinite;
}

.grid-line-1 { top: 30%; animation-delay: 0s; }
.grid-line-2 { top: 50%; animation-delay: -2.6s; }
.grid-line-3 { top: 70%; animation-delay: -5.2s; }


#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.3s ease-out;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
    animation: loader-scale 1s ease-out infinite;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    animation: loader-pulse 1.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader:before {
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.8);
    animation-delay: -0.5s;
}

.loader:after {
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.5);
    animation-delay: 0s;
}

@keyframes loader-scale {
    0%, 100% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
}

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

.loader-text {
    margin-top: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #fff;
    opacity: 0.8;
    font-size: 1rem;
    letter-spacing: 0.05em;
    animation: loader-text-pulse 1s ease-in-out infinite;
}

@keyframes loader-text-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes gridLineMove {
    0% {
        opacity: 0;
        transform: translateX(-50%);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateX(50%);
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .advantage-card-wrapper {
        transform: none !important;
    }
    
    .advantage-card {
        transform: none !important;
    }
}

/* Menu Mobile */
#mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.hamburger-line {
    width: 30px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

#mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Ajustes do dropdown do usuário */
.user-menu .dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 200px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.user-menu.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu .dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    transition: all 0.2s ease;
}

.user-menu .dropdown-menu a:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Executor Selector Styles */
.executor-selector {
    position: relative;
    z-index: 1;
}

.executor-btn {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.executor-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary-color), #ff4444);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.executor-btn.active {
    background: linear-gradient(45deg, var(--primary-color), #ff4444);
    color: white;
}

.executor-btn:not(.active):hover::before {
    opacity: 0.1;
}

/* Pricing Section Styles */
.pricing-section {
    position: relative;
    min-height: 100vh;
    background: #000000;
    overflow: hidden;
}

.pricing-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Glow spots */
.pricing-background::before,
.pricing-background::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.05) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
}

.pricing-background::before {
    top: 10%;
    left: 5%;
    animation: glowPulse 4s ease-in-out infinite;
}

.pricing-background::after {
    bottom: 20%;
    right: 10%;
    animation: glowPulse 4s ease-in-out infinite 2s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.grid-pattern {
    position: absolute;
    inset: -100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(1000px) rotateX(60deg) translateZ(0);
    transform-origin: center top;
    opacity: 0.05;
    animation: gridMove 20s linear infinite;
}

.pricing-card-wrapper {
    transition: transform 0.3s ease;
}

.pricing-card-wrapper:hover {
    transform: translateY(-4px);
}

.pricing-card {
    background: #111111;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 0, 0, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Card Premium (meio) */
.pricing-card.premium {
    background: #1a0000;
    border-color: rgba(255, 0, 0, 0.3) !important;
}

.pricing-card.premium .text-zinc-600 {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card.premium .text-zinc-800,
.pricing-card.premium .text-zinc-900 {
    color: #ffffff;
}

.pricing-card.premium .bg-zinc-100 {
    background: rgba(255, 0, 0, 0.2);
    color: #ffffff;
}

.pricing-card.premium button {
    background: #ff0000;
}

.pricing-card.premium button:hover {
    background: #cc0000;
}

/* Estilo para o badge de tipo de plano */
.pricing-card .rounded-full {
    font-weight: 500;
    font-size: 0.875rem;
}

/* Estilo para o preço */
.pricing-card .text-5xl {
    font-weight: 800;
    line-height: 1;
}

/* Estilo para os checkmarks */
.pricing-card svg {
    width: 20px;
    height: 20px;
}

/* Hover nos botões */
.pricing-card button {
    position: relative;
    overflow: hidden;
}

.pricing-card button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card button:hover {
    transform: translateY(-1px);
}

.pricing-card button:hover::before {
    opacity: 1;
}

/* Animação do grid */
@keyframes gridMove {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(30px);
    }
}

/* Glow adicional nos cantos dos cards */
.pricing-card::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card-wrapper:nth-child(1) .pricing-card::after {
    top: -50px;
    right: -50px;
}

.pricing-card-wrapper:nth-child(2) .pricing-card::after {
    bottom: -50px;
    left: -50px;
}

.pricing-card-wrapper:nth-child(3) .pricing-card::after {
    top: -50px;
    left: -50px;
}

/* Feedbacks Section */
.feedbacks-section {
    position: relative;
    overflow: hidden;
}

.feedbacks-background {
    overflow: hidden;
}

.feedbacks-background .glow-sphere {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estilos para o menu do usuário autenticado */
.user-menu {
    position: relative;
}

.user-menu .avatar {
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.user-menu .avatar:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

.user-menu .dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu .dropdown a {
    position: relative;
    overflow: hidden;
}

.user-menu .dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: rgb(239, 68, 68);
    transition: width 0.3s ease;
}

.user-menu .dropdown a:hover::before {
    width: 100%;
}

/* Estilos do Menu Mobile */
@media screen and (max-width: 1024px) {
    #mobile-menu-button {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100vh - 72px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        padding: 2rem;
        overflow-y: auto;
        z-index: 49;
    }

    .nav-links.nav-active {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }

    .nav-links > * {
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.nav-active > * {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.3s ease-in-out;
    }

    .nav-links .flex {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    /* Ajustes para o menu do usuário no mobile */
    .user-menu {
        width: 100%;
    }

    .user-menu .dropdown-menu {
        display: none !important;
    }
}

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

.feedbacks-section {
    position: relative;
    overflow: hidden;
}

.feedbacks-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-pattern {
    position: absolute;
    inset: -100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center top;
    animation: gridMove 20s linear infinite;
}

.glow-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(50px);
    animation: spherePulse 8s ease-in-out infinite;
}

.feedback-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feedback-content {
    transform: translateZ(20px);
}

@keyframes gridMove {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(50px);
    }
}

@keyframes spherePulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
    }
}

.header-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #ef4444 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.header-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ef4444 0%, #ff7676 100%);
    border-radius: 2px;
}

.header-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 1.5rem auto;
}

/* Termos Section */
.terms-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(255, 26, 26, 0.03) 40%,
        rgba(255, 26, 26, 0.03) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.terms-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.terms-background .grid-pattern {
    position: absolute;
    inset: -100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center top;
    animation: gridMove 20s linear infinite;
    opacity: 0.1;
}

.terms-background .glow-sphere {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.5;
    animation: spherePulse 8s ease-in-out infinite;
}

.terms-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.terms-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 26, 26, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.terms-card:hover::before {
    opacity: 1;
}

.terms-card i {
    position: relative;
    z-index: 1;
}

.terms-card i::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: -1;
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.terms-grid {
    position: relative;
}

.terms-grid::before {
    content: '';
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

@media (max-width: 768px) {
    .terms-card {
        transform: none !important;
    }
    
    .terms-grid {
        padding: 0 1rem;
    }
}

/* Turnstile Overlay */
#turnstile-overlay {
    transition: opacity 0.5s ease;
}

#turnstile-overlay > div {
    animation: fadeInScale 0.5s ease;
}

.cf-turnstile {
    margin: 0 auto;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

      #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
  }

  /* Conteúdo dentro do overlay */
  #overlayContent {
    background: #1e1e1e;
    color: #fff;
    padding: 40px 60px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
  }

  #overlay.show {
    opacity: 1;
    visibility: visible;
  }

  #overlay.show #overlayContent {
    transform: scale(1);
  }

  #overlayContent button {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    background-color: #ff4c4c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  #overlayContent button:hover {
    background-color: #ff1a1a;
    transform: scale(1.05);
    }
