@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;700;800;900&display=swap');

:root {
    --primary: #8a2be2;
    --primary-dark: #6a1bb2;
    --primary-light: #a855f5;
    --accent: #1100ff;
    --accent-light: #3b3bff;
    --cyan: #00d4ff;
    --pink: #ff00ff;
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --gradient-primary: linear-gradient(135deg, #8a2be2 0%, #1100ff 50%, #00d4ff 100%);
    --gradient-text: linear-gradient(135deg, #8a2be2 0%, #1100ff 50%, #00d4ff 100%);
    --gradient-glow: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(17, 0, 255, 0.3) 50%, rgba(0, 212, 255, 0.3) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(17, 0, 255, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 24px;
}

.logo-text {
    color: var(--text-white);
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.logo-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
}
    to {
        filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.8));
    }
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transform-style: preserve-3d;
}

.nav-cta:hover {
    transform: translateY(-2px) rotateX(3deg);
    box-shadow: 0 6px 25px rgba(138, 43, 226, 0.5),
                0 0 40px rgba(138, 43, 226, 0.2);
}

.nav-cta-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-cta-whatsapp:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5),
                0 0 40px rgba(37, 211, 102, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 1500px;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

/* Fade out elements */
.fade-out-element {
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-out-element.fade-out {
    opacity: 0 !important;
    transform: translateY(-20px) !important;
    pointer-events: none;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 8vw, 120px);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    position: relative;
}

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

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    color: var(--text-gray);
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero-subtitle strong {
    color: var(--text-white);
    font-weight: 700;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: clamp(16px, 2vw, 20px);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 1.2s backwards;
    transform-style: preserve-3d;
}

.cta-button.large {
    padding: 25px 60px;
    font-size: clamp(18px, 2.5vw, 24px);
}

.cta-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover .cta-glow {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05) rotateX(5deg);
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.6),
                0 0 80px rgba(138, 43, 226, 0.3);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

.cta-button-whatsapp:hover {
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6),
                0 0 80px rgba(37, 211, 102, 0.3);
}

.cta-buttons-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: fadeInUp 1s ease-out 1.4s backwards;
}

/* Features Section */
.features {
    position: relative;
    padding: 120px 40px;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-accent {
    color: var(--text-muted);
    display: block;
}

.title-main {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    animation: featureCardFloat 6s ease-in-out infinite;
}

@keyframes featureCardFloat {
    0%, 100% {
        transform: translateY(0) translateZ(0);
    }
    50% {
        transform: translateY(-10px) translateZ(10px);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(-5deg) scale(1.05) translateZ(30px);
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 30px 80px rgba(138, 43, 226, 0.5),
                0 0 100px rgba(138, 43, 226, 0.3),
                inset 0 0 40px rgba(138, 43, 226, 0.2);
    animation: none;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) translateZ(30px);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.8),
                0 0 80px rgba(138, 43, 226, 0.4);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Fade out video elements */
.fade-out-video {
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-out-video.fade-out {
    opacity: 0 !important;
    transform: translateY(-20px) !important;
    pointer-events: none;
}

/* Videos Section */
.videos {
    position: relative;
    padding: 120px 40px;
    background: rgba(5, 5, 5, 0.5);
    z-index: 1;
}

/* Video Featured - Each video gets full width and prominence */
.video-featured {
    margin-bottom: 80px;
    position: relative;
    perspective: 1000px;
}

.video-featured:last-child {
    margin-bottom: 0;
}

.video-featured-content {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 25px;
    padding: 0 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-number-badge {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: white;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.4);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.video-number-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.video-featured:hover .video-number-badge {
    transform: rotateY(10deg) scale(1.05);
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.6);
}

.video-featured-info {
    flex: 1;
}

.video-featured-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-featured-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 700px;
}

.video-featured-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(138, 43, 226, 0.3);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.video-featured-wrapper:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(-2deg);
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 30px 80px rgba(138, 43, 226, 0.4),
                0 0 100px rgba(138, 43, 226, 0.2);
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.video-featured-wrapper:hover .video-glow {
    opacity: 1;
    animation: glow-pulse 2s ease-in-out infinite;
}

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

.demo-video.featured {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 24px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 24px;
    cursor: pointer;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.demo-video.featured.playing ~ .video-overlay,
.demo-video.featured[playing] ~ .video-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
}

.play-button-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.6),
                0 0 0 18px rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
}

.play-button-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple-play 2s ease-out infinite;
}

@keyframes ripple-play {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.video-overlay:hover .play-button-large {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.8),
                0 0 0 25px rgba(138, 43, 226, 0.1);
}

.play-button-large i {
    margin-left: 8px;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 120px 40px;
    z-index: 1;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px) rotateX(1deg);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 30px 60px rgba(138, 43, 226, 0.3),
                0 0 100px rgba(138, 43, 226, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.cta-description strong {
    color: var(--text-white);
    font-weight: 700;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 14px;
}

.cta-feature i {
    color: var(--primary-light);
}

/* Footer */
.footer {
    position: relative;
    padding: 60px 40px;
    background: rgba(5, 5, 5, 0.8);
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    width: 40px;
    height: 40px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: rgba(138, 43, 226, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.footer-link-whatsapp {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.footer-link-whatsapp:hover {
    background: rgba(37, 211, 102, 0.4);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-cta span {
        display: none;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-buttons .cta-button {
        width: 100%;
        max-width: 400px;
    }

    .cta-buttons-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons-group .cta-button {
        width: 100%;
        max-width: 400px;
    }

    .hero-stats {
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .video-featured {
        margin-bottom: 80px;
    }

    .video-featured-content {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .video-number-badge {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .play-button-large {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .cta-box {
        padding: 60px 40px;
    }

    .cta-features {
        flex-direction: column;
        gap: 20px;
    }

    .video-featured {
        margin-bottom: 60px;
    }
    
    .video-featured-title {
        font-size: 24px;
    }

    .video-featured-description {
        font-size: 16px;
    }

    .play-button-large {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .features,
    .videos,
    .cta-section {
        padding: 80px 20px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-box {
        padding: 40px 30px;
    }

    .nav-actions {
        gap: 8px;
    }

    .hero-cta-buttons .cta-button,
    .cta-buttons-group .cta-button {
        padding: 18px 30px;
        font-size: 14px;
    }
}

/* ==================== 3D ANIMATIONS & EFFECTS ==================== */

/* Three.js Canvas Background */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* Animated Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.6) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    mix-blend-mode: screen;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.8),
                0 0 40px rgba(138, 43, 226, 0.4);
}

.cursor-trail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    animation: cursorPulse 2s ease-out infinite;
}

@keyframes cursorPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.8),
                0 4px 10px rgba(138, 43, 226, 0.4);
}

.scroll-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(138, 43, 226, 0.6);
    transform: translateY(-50%);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100px) scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.5);
    transform-style: preserve-3d;
}

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

.back-to-top:hover {
    transform: translateY(-10px) scale(1.15) rotateZ(360deg);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.8),
                0 0 80px rgba(138, 43, 226, 0.4);
    border-color: rgba(138, 43, 226, 1);
}

.back-to-top:active {
    transform: translateY(-5px) scale(1.1) rotateZ(360deg);
}

.back-to-top i {
    animation: rocketFloat 2s ease-in-out infinite;
}

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

.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 50%;
    animation: rocketRing 2s ease-out infinite;
}

@keyframes rocketRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Enhanced Section Titles with 3D Effect */
.section-title-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: title3DFloat 4s ease-in-out infinite;
}

@keyframes title3DFloat {
    0%, 100% {
        transform: translateZ(0px) rotateX(0deg);
    }
    50% {
        transform: translateZ(20px) rotateX(5deg);
    }
}

.section-subtitle-3d {
    animation: subtitle3DFade 2s ease-in-out;
}

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

/* ==================== NEW VIDEO SHOWCASE LAYOUT ==================== */

/* Video Showcase Container */
.video-showcase {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 100px 0;
    opacity: 0;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1500px;
}

.video-showcase::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Left Aligned Videos */
.video-left {
    flex-direction: row;
}

.video-left .video-content {
    padding-right: 40px;
}

.video-left .video-wrapper {
    transform: translateX(100px);
}

/* Right Aligned Videos */
.video-right {
    flex-direction: row-reverse;
}

.video-right .video-content {
    padding-left: 40px;
    text-align: right;
}

.video-right .video-wrapper {
    transform: translateX(-100px);
}

/* Animation States */
.video-showcase.animate-in {
    animation: videoShowcaseIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes videoShowcaseIn {
    to {
        opacity: 1;
    }
}

.video-showcase.animate-in .video-wrapper {
    animation: videoWrapperIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes videoWrapperIn {
    to {
        transform: translateX(0) translateY(0);
    }
}

.video-showcase.animate-in .video-content {
    animation: videoContentIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
    opacity: 0;
}

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

/* Video Content */
.video-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.video-badge {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.6);
    position: relative;
    overflow: hidden;
}

.video-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

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

.video-badge-short {
    background: linear-gradient(135deg, #ff0080 0%, #ff8c00 100%);
    box-shadow: 0 10px 40px rgba(255, 0, 128, 0.6);
}

.video-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.video-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.video-right .video-description {
    margin-left: auto;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-right .video-features {
    align-items: flex-end;
}

.video-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-white);
    font-weight: 600;
}

.video-feature-item i {
    color: var(--primary-light);
    font-size: 20px;
    animation: checkPulse 2s ease-in-out infinite;
}

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

/* Video Wrapper */
.video-wrapper {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(138, 43, 226, 0.3);
    border: 2px solid rgba(138, 43, 226, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.video-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6),
                0 0 80px rgba(138, 43, 226, 0.5);
    border-color: rgba(138, 43, 226, 0.8);
}

.video-wrapper-short {
    max-width: 350px;
    margin: 0 auto;
}

.video-left .video-wrapper-short,
.video-right .video-wrapper-short {
    margin: 0 auto;
}

.video-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 3s ease-in-out infinite;
}

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

.video-wrapper:hover .video-glow-effect {
    opacity: 1;
}

.showcase-video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 22px;
}

.showcase-video-short {
    object-fit: contain;
    max-height: 600px;
}

/* Video Container for iframes (YouTube/Streamable) */
.video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 22px;
    min-height: 300px;
}

.video-wrapper .video-container {
    min-height: 400px;
}

.video-container-short {
    padding-bottom: 177.78%; /* 9:16 aspect ratio for shorts */
    max-width: 350px;
    margin: 0 auto;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 22px;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 3;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.showcase-video:not([paused]) ~ .video-play-overlay,
.showcase-video[playing] ~ .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.8),
                0 0 0 20px rgba(138, 43, 226, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: playIconFloat 3s ease-in-out infinite;
}

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

.play-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: playIconRing 2s ease-out infinite;
}

@keyframes playIconRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.video-play-overlay:hover .play-icon {
    transform: scale(1.15) translateY(-10px);
    box-shadow: 0 25px 70px rgba(138, 43, 226, 1),
                0 0 0 30px rgba(138, 43, 226, 0.1);
}

.play-icon i {
    margin-left: 5px;
    position: relative;
    z-index: 1;
}

/* Video Loading Indicator */
.video-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(138, 43, 226, 0.5);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.3);
}

.video-loading-indicator span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(138, 43, 226, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.video-wrapper:hover .video-loading-indicator {
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.5);
}

/* Responsive Video Showcase */
@media (max-width: 968px) {
    .video-showcase {
        flex-direction: column !important;
        gap: 40px;
        margin: 60px 0;
    }

    .video-left .video-wrapper,
    .video-right .video-wrapper {
        transform: translateY(50px);
    }

    .video-left .video-content,
    .video-right .video-content {
        padding: 0 !important;
        text-align: center !important;
    }

    .video-right .video-description {
        margin: 0 auto 30px;
    }

    .video-right .video-features {
        align-items: center;
    }

    .video-wrapper-short {
        max-width: 280px;
    }
    
    .play-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .video-showcase {
        margin: 40px 0;
    }

    .video-badge {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .video-title {
        font-size: 28px;
    }

    .video-description {
        font-size: 16px;
    }

    .video-wrapper {
        border-radius: 16px;
    }

    .showcase-video {
        border-radius: 14px;
    }
    
    .play-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

/* Cupom Modal */
.cupom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cupom-modal.show {
    display: flex;
}

.cupom-modal.visible {
    opacity: 1;
}

.cupom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.cupom-modal-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8),
                0 0 80px rgba(138, 43, 226, 0.5);
    border: 2px solid rgba(138, 43, 226, 0.5);
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cupom-modal.visible .cupom-modal-content {
    transform: scale(1) translateY(0);
}

.cupom-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.cupom-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.cupom-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.6);
    animation: cupomIconBounce 2s ease-in-out infinite;
}

@keyframes cupomIconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.cupom-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cupom-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cupom-code-container {
    margin: 30px 0;
}

.cupom-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(138, 43, 226, 0.2);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cupom-code:hover {
    background: rgba(138, 43, 226, 0.3);
    border-color: var(--primary-light);
    transform: scale(1.02);
}

.cupom-code-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}

.cupom-copy-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
}

.cupom-copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.6);
}

.cupom-copy-btn.copied {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.cupom-discount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-light);
    margin: 0;
}

.cupom-actions {
    margin: 30px 0;
}

.cupom-discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cupom-discord-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(88, 101, 242, 0.6);
}

.cupom-discord-btn i {
    font-size: 24px;
}

.cupom-note {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 20px;
    opacity: 0.7;
    font-style: italic;
}

/* Responsive Cupom Modal */
@media (max-width: 640px) {
    .cupom-modal-content {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .cupom-title {
        font-size: 28px;
    }
    
    .cupom-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .cupom-code-text {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .cupom-copy-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .cupom-discord-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}