/* Reset and Base Styles */
* {
    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: #0A1628;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 25%, #FF1493 50%, #FF8C00 75%, #FFD700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #8A2BE2; /* Fallback color */
    animation: gradientShift 3s ease-in-out infinite alternate;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo .logo {
    height: 40px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.3));
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #00BFFF;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00BFFF, #8A2BE2);
    transition: width 0.3s ease;
}

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

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 6s ease-in-out infinite;
}

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

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FF1493, #8A2BE2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 3D Brain Container - Optimized */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.brain-3d-container {
    position: relative;
    width: 100%;
    height: 500px;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#brain-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Video Section - Optimized */
.video-showcase {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-container-main {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container-main iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* What is LandingWOW Section */
.what-is {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #00BFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-card p {
    color: #b0b0b0;
}

/* Process Section - Optimized */
.process {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.process-steps {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00BFFF, #8A2BE2);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    color: #00BFFF;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: #b0b0b0;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

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

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid #00BFFF;
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.premium-card {
    border: 2px solid #FF1493;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #00BFFF, #8A2BE2);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom-left-radius: 15px;
}

.pricing-header {
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.period {
    font-size: 1rem;
    color: #b0b0b0;
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.delivery-time {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 0.5rem;
}

.pricing-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features-summary {
    margin: 1rem 0 2rem;
    color: #b0b0b0;
    flex-grow: 1;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.feature svg {
    color: #25D366;
    flex-shrink: 0;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #0A1628;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

.legal-popup-content {
    max-width: 800px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.1);
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-align: center;
}

.delivery-time-popup {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.popup-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.popup-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.popup-features li::before {
    content: "✓";
    color: #25D366;
    font-weight: bold;
}

.popup-ideal-for {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
    color: #b0b0b0;
}

.popup-faq {
    margin: 2rem 0;
}

.popup-faq h4 {
    color: #ffffff;
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.popup-faq p {
    color: #b0b0b0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.btn-popup {
    width: 100%;
    margin-top: 1rem;
}

/* Footer - Optimized */
.footer {
    background: #0A1628;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
    padding: 0 15px;
}

.footer-column.info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo {
    height: 40px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.3));
}

.footer-column p {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #FF1493;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffffff;
}

.social-icon:hover {
    background: linear-gradient(135deg, #00BFFF, #8A2BE2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #808080;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-bottom a:hover {
    color: #FF1493;
    text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Responsive Adjustments - Enhanced for Mobile Impact */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .brain-3d-container {
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        order: 2; /* Content below 3D element on smaller screens */
    }

    .hero-visual {
        order: 1;
    }

    .brain-3d-container {
        height: 400px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .video-wrapper {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-menu {
        display: none; /* Hide menu on small screens, could add a hamburger icon */
    }

    .btn-whatsapp {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .brain-3d-container {
        height: 350px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .video-wrapper {
        width: 100%;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .step-icon {
        margin-bottom: 1rem;
    }
    
    .footer-column {
        flex: 100%;
        text-align: center;
    }
    
    .footer-logo .logo {
        margin: 0 auto 1rem auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .popup-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
}

/* Enhanced Mobile Experience */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        text-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    }
    
    .gradient-text {
        background-size: 200% auto;
        animation: gradientShift 4s ease-in-out infinite alternate;
    }
    
    /* Improved 3D Brain visibility on mobile */
    .brain-3d-container {
        height: 320px;
        transform: scale(1.1);
        margin: 0 -10px;
    }
    
    /* Enhanced orbs for mobile */
    .orb-1, .orb-2, .orb-3 {
        opacity: 0.8;
        filter: blur(80px);
    }
    
    /* More impactful buttons on mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 1.2rem;
        font-size: 1.1rem;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #FF1493, #8A2BE2);
        box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
    }
    
    .btn-secondary {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    /* Enhanced section titles */
    .section-title {
        font-size: 2rem;
        text-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
    }
    
    .section-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    /* Enhanced feature cards */
    .feature-card, .pricing-card {
        padding: 2rem 1.5rem;
        transform: scale(1.02);
        margin-bottom: 1.5rem;
    }
    
    .feature-card:hover, .pricing-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .feature-icon svg {
        width: 50px;
        height: 50px;
        filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.5));
    }
    
    /* Enhanced pricing section */
    .pricing-header h3 {
        font-size: 2.2rem;
    }
    
    .price {
        font-size: 3.2rem;
    }
    
    /* Enhanced WhatsApp button */
    .whatsapp-float {
        width: 65px;
        height: 65px;
        bottom: 30px;
        right: 30px;
    }
}
