
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0015 0%, #1a0033 25%, #2d1b4e 50%, #3d0a33 75%, #1a0033 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    opacity: 0;
    animation: pageLoad 0.6s ease-out forwards;
}

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

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

/* Grid Background */
.grid-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(236, 64, 122, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 64, 122, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ec407a, #7b1fa2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff6b9d, #4a148c);
}

/* Navbar Styles */
.navbar-premium {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-premium.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(236, 64, 122, 0.5);
}

.nav-link-premium {
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(90deg, #ec407a, #7b1fa2);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-premium:hover::after {
    width: 100%;
}

/* Gradient Text */
.hero-title-gradient {
    background: linear-gradient(135deg, #ff6b9d, #ec407a, #7b1fa2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Professional Layout Adjustments */
.text-left-align {
    text-align: left !important;
}

.content-left {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Button Styles */
.btn-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #7b1fa2, #ec407a, #ff6b9d);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 10px 40px rgba(123, 31, 162, 0.4), 0 10px 40px rgba(236, 64, 122, 0.3);
    will-change: transform;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 60px rgba(123, 31, 162, 0.7), 0 15px 60px rgba(236, 64, 122, 0.6);
    background: linear-gradient(135deg, #8e24aa, #f06292, #ff80ab);
}

/* Hero Image */
.bot-hero-image {
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: float 3s ease-in-out infinite;
    will-change: transform;
    width: auto;
    height: auto;
    max-width: 100%;
}

.bot-hero-image:hover {
    transform: scale(1.1);
}

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

/* Feature Cards */
.feature-card-advanced {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.feature-card-advanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 64, 122, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-advanced:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(236, 64, 122, 0.4), 0 20px 30px rgba(123, 31, 162, 0.3);
    border-color: rgba(236, 64, 122, 0.8);
}

.feature-card-advanced:hover::before {
    opacity: 1;
}

/* Command Cards */
.command-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.command-card:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(236, 64, 122, 0.8);
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 45px rgba(236, 64, 122, 0.3), 0 12px 20px rgba(0, 0, 0, 0.4);
}

/* Modal Styles */
.modal-advanced {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale In Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.is-visible {
    opacity: 1;
}

/* Section Slide In Animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Section Animations */
section {
    position: relative;
    z-index: 1;
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    z-index: 60;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
    visibility: hidden;
}

#mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

#mobile-menu a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#mobile-menu a:hover {
    background: rgba(236, 64, 122, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(-8px);
}

/* Mobile Menu Backdrop Blur */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    animation: fadeIn 0.3s ease-out;
}

body.menu-open {
    overflow: hidden;
}

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

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Link Transitions */
a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:active {
    transform: scale(0.97);
}

/* Icon Animations */
.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.icon-float:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.15);
}

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

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Video Hero Section */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    /* Ensure transparency is preserved */
    background: transparent;
    mix-blend-mode: normal;
}

.hero-video:hover {
    transform: scale(1.02);
}

.video-content {
    position: relative;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bot-hero-image {
        width: auto;
        height: auto;
        max-width: 100%;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .hero-video {
        border-radius: 0;
    }

    .video-content h2 {
        font-size: 1.75rem !important;
    }

    .video-content p {
        font-size: 1rem !important;
    }
}

/* Smooth Transitions for All Interactive Elements */
button,
input,
textarea,
select {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button:active {
    transform: scale(0.96);
}

/* Image Smooth Animations */
img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.pulse {
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
