@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-neon: #0066cc;
    --secondary-neon: #cc0066;
    --accent-neon: #cc6600;
    --bg-dark: #f5f5f5;
    --bg-blur: rgba(245, 245, 245, 0.9);
    --text-light: #333333;
    --text-dim: #666666;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-neon: 0 0 20px var(--primary-neon);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-theme {
    --primary-neon: #00ffff;
    --secondary-neon: #ff00ff;
    --accent-neon: #ffff00;
    --bg-dark: #0a0a0a;
    --bg-blur: rgba(10, 10, 10, 0.8);
    --text-light: #ffffff;
    --text-dim: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-neon: 0 0 20px var(--primary-neon);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background - Optimized */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, 
        var(--primary-neon), 
        var(--secondary-neon), 
        var(--accent-neon), 
        var(--primary-neon));
    background-size: 400% 400%;
    /* Removed animation for better performance */
    filter: blur(80px);
    opacity: 0.3;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px 30px;
    z-index: 1000;
    transition: top 0.3s ease;
    margin: 0;
}

.navbar.hidden {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
    pointer-events: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-neon);
    text-shadow: 0 0 5px var(--primary-neon);
    /* Removed animation for better performance */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 10px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 15px;
} 

.auth-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.login-btn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-neon);
}

.login-btn:hover {
    background: var(--primary-neon);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon);
}

.register-btn {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    color: var(--bg-dark);
    font-weight: 600;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-neon);
    margin: 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid var(--glass-border);
}

.mobile-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary-neon);
}

.mobile-auth {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-neon);
}

.toggle-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-neon);
    fill: none;
    stroke-width: 2;
    transition: var(--transition);
}

.sun-icon {
    fill: none;
    display: block;
}

.moon-icon {
    fill: #00ffff;
    stroke: none;
    display: none;
}

body.dark-theme .moon-icon {
    display: block;
}

body.dark-theme .sun-icon {
    display: none;
}

body.dark-theme {
    background: var(--bg-dark);
    color: var(--text-light);
}



/* Main Content */
.main-content {
    padding-top: 50px;
    min-height: 100vh;
}

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 0 20px;
}

.hero-container {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

@media (min-width: 1500px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

.hero-title-2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.neon-text {
    color: var(--primary-neon);
    text-shadow: 0 0 1px var(--primary-neon);
    /* Removed animation for better performance */
}

.neon-text-2 {
    color: var(--secondary-neon);
    text-shadow: 0 0 1px var(--secondary-neon);
    /* No animation for better performance */
}

.neon-text-alt {
    color: var(--secondary-neon);
    text-shadow: 0 0 1px var(--secondary-neon);
    /* Removed animation for better performance */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 20px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    width: 300px;
}

.cta-btn.primary {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    color: var(--bg-dark);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-neon);
}

.cta-btn.secondary:hover {
    background: var(--secondary-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--secondary-neon);
}

.search-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    margin-bottom: 30px;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-btn.primary {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    color: var(--bg-dark);
}

.search-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.4);
}

.search-btn.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-neon);
}

.search-btn.secondary:hover {
    background: var(--secondary-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--secondary-neon);
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-auth {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .navbar {
        width: 90%;
        padding: 5px 20px;
    }

    .neon-text {
        display: block;
    }
    
    .neon-text-alt {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cta-btn {
        width: 300px;
    }

    .search-btn {
        width: 260px;
        padding: 15px;
    }
    
    .theme-toggle {
        bottom: 20px;
        right: 20px;
         width: 50px;
        height: 50px;
    }
    
    .toggle-icon svg {
        width: 20px;
        height: 20px;
    }
        /* Main Content */
    .main-content {
        padding-top: 80px;
        min-height: 100vh;
    }
} 

@media (max-width: 480px) {

    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar {
        top: 10px;
        padding: 3px 15px;
    }

    .main-content {
    padding-top: 0px;
    min-height: 100vh;
    }
}

/* Mobile menu animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Design Demo Cards */ 
.designs {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 0 40px 0;
}




/* Theme Toggle Styles */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
}

.toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.sun-icon, .moon-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    stroke: #00ffff;
    stroke-width: 2;
    transition: opacity 0.3s ease;
}

.sun-icon {
    fill: none;
}

.moon-icon {
    fill: #00ffff;
    stroke: none;
}

body.dark-theme .moon-icon {
    display: none;
}

body.dark-theme .sun-icon {
    display: block;
}

body.dark-theme {
    background: var(--bg-dark);
    color: var(--text-light);
}

body.dark-theme .neon-text {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

body.dark-theme .neon-text-alt {
    color: var(--secondary-neon);
    text-shadow: 0 0 10px var(--secondary-neon);
}


body.dark-theme .navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

body.dark-theme .nav-link {
    color: var(--text-light);
}

body.dark-theme .logo-text {
    color: var(--primary-neon);
}

body.dark-theme .hero-subtitle {
    color: var(--text-dim);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-neon);
    margin: 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-blur);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary-neon);
}

.mobile-auth {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-auth {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* Category Buttons */
.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.category-btn:hover {
    border-color: var(--primary-neon);
    color: var(--primary-neon);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-neon);
    border-color: var(--primary-neon);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Dark theme category buttons */
body.dark-theme .category-btn {
    border: 2px solid rgba(0, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .category-btn:hover {
    border-color: #00ffff;
    color: #00ffff;
}

body.dark-theme .category-btn.active {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-color: #00ffff;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .category-buttons {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Dark theme mobile menu glass effect */
body.dark-theme .mobile-menu {
    background: rgba(0, 0, 0, 0.95);
    border: none;
}

body.dark-theme .mobile-link {
    color: #00ffff;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

body.dark-theme .mobile-link:hover {
    color: #fff;
}

/* Footer Styles */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand {
    text-align: center;
}

.footer-logo .logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-neon);
    text-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
}

.footer-tagline {
    color: var(--text-dim);
    margin-top: 10px;
    font-style: italic;
}

.footer-links {
    text-align: center;
}

.footer-section h3 {
    color: var(--primary-neon);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-neon);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-social {
    text-align: center;
}

.footer-social h4 {
    margin-bottom: 20px;
    color: var(--primary-neon);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Default state now shows full colors */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Platform Specific Colors (Real Colors as DEFAULT) --- */

.social-icon svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* YouTube */
.social-icon.youtube {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
}
.social-icon.youtube svg {
    fill: #ff0000;
}
.social-icon.youtube:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}
.social-icon.youtube:hover svg {
    fill: #00ffff;
}

/* Instagram */
.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: 1px solid #e6683c;
}
.social-icon.instagram svg {
    fill: #fff;
}
.social-icon.instagram:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}
.social-icon.instagram:hover svg {
    fill: #00ffff;
}

/* Facebook */
.social-icon.facebook {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid #1877f2;
}
.social-icon.facebook svg {
    fill: #1877f2;
}
.social-icon.facebook:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}
.social-icon.facebook:hover svg {
    fill: #00ffff;
}

/* WhatsApp */
.social-icon.whatsapp {
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid #25d366;
}
.social-icon.whatsapp svg {
    fill: #25d366;
}
.social-icon.whatsapp:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}
.social-icon.whatsapp:hover svg {
    fill: #00ffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-copyright p,
.footer-credits p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Light Theme Footer */
body.dark-theme .footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

body.dark-theme .footer-logo .logo-text {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

body.dark-theme .footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .footer-section h4 {
    color: #00ffff;
}

body.dark-theme .footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .footer-section a:hover {
    color: #00ffff;
}

body.dark-theme .social-icon {
    color: var(--text-dim);
}

body.dark-theme .social-icon svg {
    fill: var(--text-dim);
}

body.dark-theme .social-icon:hover {
    color: var(--primary-neon);
}

body.dark-theme .footer-copyright p,
body.dark-theme .footer-credits p {
    color: var(--text-dim);
}

body.dark-theme .footer-bottom {
    border-top: 1px solid var(--glass-border);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 0px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-links {
        gap: 25px;
    }
    
    .social-icons {
        gap: 15px;
    }
}
/* Page Animations */
/* Removed animations for better performance */

/* Animation Classes - Simplified for performance */
.animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 1;
    transform: scale(1);
}

/* Initial state for elements - no animations */
.hero-title,
.hero-subtitle,
.hero-buttons,
.category-buttons,
.footer-content,
.search-btn,
.navbar,
.theme-toggle {
    opacity: 1;
    transform: none;
}

/* Navbar positioning without animation */
.navbar {
    left: 50% !important;
    transform: translateX(-50%) !important;
}


/* Removed will-change for better performance */
.category-btn,
.social-icon,
.demo-btn {
    backface-visibility: hidden;
}



/* Navigation Active State and Hide/Show */
.nav-link.active {
    color: var(--primary-neon);
    font-weight: 600;
}

.nav-link.active::before {
    width: 100%;
}

.mobile-link.active {
    color: var(--primary-neon);
    font-weight: 600;
    text-shadow: 0 0 10px var(--primary-neon);
}

.navbar.hidden {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
}

.navbar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Light theme active states */
body.dark-theme .nav-link.active {
    color: var(--secondary-neon);
    text-shadow: 0 0 10px rgba(44, 62, 80, 0.3);
}

body.dark-theme .mobile-link.active {
    color: var(--secondary-neon);
    text-shadow: 0 0 10px rgba(44, 62, 80, 0.3);
}



body.dark-theme .footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

body.dark-theme .footer-logo .logo-text {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

body.dark-theme .footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .footer-section h4 {
    color: #00ffff;
}

body.dark-theme .footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .footer-section a:hover {
    color: #00ffff;
}

.flex-all {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}


.design-demo {
  width: auto; /* fixed card width for flex items */
  display: block; /* remove inner flex */
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 20px;
  margin: 10px;
  text-align: center;
}

.design-demo:hover {
  border: 1px solid var(--secondary-neon);
}
.design-details {
  flex: 1 1 0;
  min-width: 0;
}
.design-title-link{
    text-decoration: none;
}
.design-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-neon);
}

.design-btn {
  display: flex;
  margin-bottom: 10px;
  margin-top: 10px;
}
.video-btn {
  padding: 5px 15px;
  border-radius: 15px;
  border: none;
  background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.video-btn:hover {
  background: linear-gradient(45deg, var(--secondary-neon), var(--primary-neon));
  opacity: 0.9;
}

.design-video video {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/2;
  border-radius: 15px;
  background: transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: block;
}


/* Dark theme category buttons */
body.dark-theme .design-demo {
    border: 2px solid rgba(0, 255, 255, 0.3);
}

@media (max-width: 768px) {

    .hero-title {
        margin-top: -30px;
    }
  .design-demo {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
  }
  .design-details {
    margin-left: 0px;
    flex: 1 1 0;
    min-width: 0; 
  }
  .design-details, .design-video {
    width: 100%;
    min-width: 0;
  }
  .design-video video {
    max-width: 100%;
    margin: 0 auto;
  }
  .design-btn {
    justify-content: center;
  }
}



.arrow {
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--secondary-neon);
  cursor: pointer;
  z-index: 999;
  text-align: center;
  transition: opacity 0.5s ease;
}

.arrow-bounce {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounceArrow 2s ease-in-out infinite;
  will-change: transform;
}

.arrow-text {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: -5px;
  color: var(--secondary-neon);
  text-shadow: 0 0 1px var(--secondary-neon);
}

.arrow-icon {
  width: 40px;
  height: 40px;
  fill: var(--secondary-neon);
}

/* Bouncing animation */
@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 300px) {
  .arrow-bounce {
    animation: none;
  }
}

  body.dark-theme .arrow-text {
    color: var(--primary-neon);
    text-shadow: 
    0 0 1px var(--primary-neon),
    0 0 1.5px var(--primary-neon),
    0 0 2px var(--primary-neon);
  }

  body.dark-theme .arrow-icon {
    color: var(--primary-neon);
    text-shadow: 
    0 0 1px var(--primary-neon),
    0 0 1.5px var(--primary-neon),
    0 0 2px var(--primary-neon);
  }











  .video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-frame-container {
    position: relative;
    width: 90vw;
    max-width: calc(16 * 90vh / 16 * 9 / 16);
    max-height: 90vh;
    aspect-ratio: 9 / 16;
    display: flex;
    justify-content: center;
    align-items: center;
}

#videoFrame {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: solid 1px var(--primary-neon);
}

.loader {
    font-size: 48px;
    color: var(--secondary-neon);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}


.btn-v-x {
    cursor: pointer;
    padding: 5px 10px;
    border: 2px solid var(--glass-border);
	border-radius: 25px;
	font-weight: 900;
	color: var(--secondary-neon);
	background: var(--glass-bg);
}

.btn-v-x:hover {
    color: var(--primary-neon);
    border-color: var(--primary-neon);
}

body.dark-theme .btn-v-x {
    color: var(--primary-neon);
    border-color: var(--primary-neon);
}

body.dark-theme .btn-v-x:hover {
    color: var(--secondary-neon);
    border-color: var(--secondary-neon);
}

@keyframes bounceUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  60% {
    transform: translateY(-20%);
    opacity: 1;
  }
  80% {
    transform: translateY(10%);
  }
  100% {
    transform: translateY(0);
  }
}

.bounce-up {
  animation: bounceUp 0.8s ease-out forwards;
  will-change: transform, opacity;
}




#typing-container {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blinkCursor 0.8s steps(1) infinite;

  line-height: 1.2;
  padding-bottom: 4px; /* fixes cropped g, j, y etc. */
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--secondary-neon); }
}

.design-video a video {
    margin-left: auto;
    margin-right: auto;
}



.font1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}


.font2 {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}