/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #0f0f23;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Prevent horizontal overflow on all elements */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure all containers respect viewport width */
html {
    overflow-x: hidden;
    max-width: 100vw;
}

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

/* Menu Button Styles */
.menu-button {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(15, 15, 35, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-button:hover {
    background: rgba(15, 15, 35, 0.9) !important;
    transform: scale(1.05);
}

.menu-button .bar {
    width: 15px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.menu-button.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-button.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-button.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.menu-button.active {
    background: rgba(15, 15, 35, 0.9) !important;
}

.menu-button.active:hover {
    background: rgba(15, 15, 35, 0.9) !important;
}

.header-container.scrolled-bottom {
    background: rgba(15, 15, 35, 0.3) !important;
}

.menu-button.scrolled-bottom {
    background: rgba(15, 15, 35, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-button.scrolled-bottom:hover {
    background: rgba(15, 15, 35, 0.9) !important;
}

.menu-button.active.scrolled-bottom {
    background: rgba(15, 15, 35, 0.3) !important;
}

.menu-button.active.scrolled-bottom:hover {
    background: rgba(15, 15, 35, 0.9) !important;
}

/* Header Container */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 70px;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9), rgba(20, 20, 45, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 30px;
}

.desktop-nav .nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.desktop-nav .nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.6),
                 0 0 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.desktop-nav .nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

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

.desktop-nav .nav-link.active::after {
    width: 80%;
}

.desktop-nav .btn-login {
    padding: 10px 20px;
    border: 2px solid rgba(139, 92, 246, 0.8);
    border-radius: 25px;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    background: rgba(139, 92, 246, 0.1);
    text-shadow: none;
    position: relative;
    overflow: hidden;
}

.desktop-nav .btn-login::after {
    display: none !important;
}

.desktop-nav .btn-login:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    text-decoration: none !important;
    color: #ffffff !important;
}

.desktop-nav .btn-register {
    padding: 10px 20px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white !important;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.desktop-nav .btn-register::after {
    display: none !important;
}

.desktop-nav .btn-register:hover {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    text-decoration: none !important;
    color: white !important;
}

.desktop-nav .nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 10px;
    border-radius: 15%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.4);
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.desktop-nav .nav-icon-btn::after {
    display: none !important;
}

.desktop-nav .nav-icon-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(168, 85, 247, 0.2));
    border-color: rgba(139, 92, 246, 0.6);
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
    text-decoration: none !important;
}

.desktop-nav .nav-icon-btn.btn-signup-highlight {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-color: rgba(139, 92, 246, 0.8);
    color: white !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.desktop-nav .nav-icon-btn.btn-signup-highlight:hover {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    border-color: #7c3aed;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px) scale(1.08);
}

.desktop-nav .btn-editor {
    padding: 10px 20px;
    color: white !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.desktop-nav .btn-editor::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.desktop-nav .btn-editor:hover::before {
    left: 100%;
}

.desktop-nav .btn-editor:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1, #ed64e6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-decoration: none !important;
    color: white !important;
}

.desktop-nav .btn-editor.active {
    text-decoration: none !important;
    border-bottom: none !important;
    color: white !important;
}

.desktop-nav .btn-generator {
    padding: 10px 20px;
    color: white !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
  
}

.desktop-nav .btn-generator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.desktop-nav .btn-generator:hover::before {
    left: 100%;
}

.desktop-nav .btn-generator:hover {
    background: linear-gradient(135deg, #059669, #0891b2, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-decoration: none !important;
    color: white !important;
}

.desktop-nav .btn-generator.active {
    text-decoration: none !important;
    border-bottom: none !important;
    color: white !important;
}

/* Mobile Menu Button - Hidden on Desktop */
.menu-button {
    display: none;
}

/* Responsive Design */
@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
    }

    .menu-button {
        display: none !important;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
    }

    .header-content {
        display: flex;
        align-items: center;
        gap: 40px;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .site-logo {
        position: static;
        flex-shrink: 0;
    }

    .desktop-nav {
        position: static;
        transform: none;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex !important;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }


    .site-logo {
        position: static;
    }
}

/* Site Logo */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-logo .logo-favicon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.site-logo .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.site-logo.scrolled-bottom .logo-text {
    opacity: 0.5;
}

.site-logo.scrolled-bottom .logo-favicon {
    opacity: 0.7;
}

.site-logo .logo-link:hover .logo-favicon {
    transform: scale(1.05);
}

.site-logo .logo-link:hover .logo-text {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}/* Menu Drawer Styles */
.menu-drawer {
    position: fixed;
    top: 70px;
    right: 0;
    width: 300px;
    height: calc(100vh - 70px);
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999998;
    padding: 20px;
    box-sizing: border-box;
}

.menu-drawer.open {
    transform: translateX(0);
}

.menu-drawer .menu-item {
    display: block;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-drawer .menu-item:hover {
    background: rgba(139, 92, 246, 0.2);
    padding-left: 25px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.menu-drawer .menu-item.active {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
    font-weight: 700;
}

.menu-drawer .menu-item:last-child {
    border-bottom: none;
}

/* Mobile menu glossy buttons */
.menu-drawer .btn-glossy-purple,
.menu-drawer .btn-glossy-cyan,
.menu-drawer .btn-signup-highlight {
    margin: 8px 0;
    text-align: center;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-drawer .btn-glossy-purple:hover,
.menu-drawer .btn-glossy-cyan:hover,
.menu-drawer .btn-signup-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent; /* Remove background to show video */
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Ensure hero section takes full viewport */
    height: 100vh;
}

/* Hero Design 2 Styles */
.hero-design-2 {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background: transparent; /* Remove background to show video */
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-container-design-2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    gap: 60px;
}

.hero-content-design-2 {
    animation: fadeInUp 1s ease;
    text-align: center;
    max-width: 800px;
}

.hero-title-design-2 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-description-design-2 {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word; /* Ensure long text wraps properly */
    overflow-wrap: break-word; /* Additional word wrapping support */
}

.hero-image-design-2 {
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 1.2s ease;
}

.hero-image-design-2 iframe {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: block;
    opacity: 1;
    visibility: visible;
    border: none;
}

/* Hero Design 3 Styles - Video Left, Content Right Layout */
.hero-design-3 {
    min-height: 120vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-container-design-3 {
    max-width: 90%; /* Use percentage for better responsiveness */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    z-index: 4;
    gap: 60px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Responsive override for hero container on smaller screens */
@media (max-width: 1400px) {
    .hero-container-design-3 {
        max-width: 95% !important; /* Slightly more width on large screens */
    }
    
    .hero-content-design-3 {
        margin-left: 12%; /* Slightly reduce margin on large screens */
    }
}

/* Further reduce margin on smaller screens */
@media (max-width: 1200px) {
    .hero-container-design-3 {
        max-width: 98% !important; /* More width on medium screens */
    }
    
    .hero-content-design-3 {
        margin-left: 10%; /* Further reduce margin */
    }
}

@media (max-width: 1024px) {
    .hero-container-design-3 {
        max-width: 100% !important; /* Full width on laptop screens */
    }
    
    .hero-content-design-3 {
        margin-left: 8%; /* Reduce margin on laptop screens */
    }
}

@media (max-width: 900px) {
    .hero-container-design-3 {
        max-width: 100% !important; /* Full width on tablet screens */
        padding: 0 15px; /* Reduce padding */
    }
    
    .hero-content-design-3 {
        margin-left: 5%; /* Further reduce margin on tablet screens */
    }
}

@media (max-width: 768px) {
    .hero-container-design-3 {
        max-width: 100% !important; /* Full width on mobile */
        padding: 0 10px; /* Further reduce padding */
    }
    
    .hero-content-design-3 {
        margin-left: 0 !important; /* Remove margin on mobile */
        padding: 20px; /* Reduce padding */
    }
    
    /* Ensure buttons are clickable on mobile */
    .btn-primary {
        position: relative;
        z-index: 10;
        pointer-events: auto;
        touch-action: manipulation;
        min-height: 44px; /* iOS minimum touch target */
        min-width: 44px;
        -webkit-touch-callout: none; /* Disable callout on iOS */
        -webkit-user-select: none; /* Disable text selection */
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    }
    
    .hero-buttons {
        position: relative;
        z-index: 10;
    }
}

/* Extra small screens - ensure no margin issues */
@media (max-width: 480px) {
    .hero-container-design-3 {
        max-width: 100% !important; /* Full width on extra small screens */
        padding: 0 5px !important; /* Minimal padding */
    }
    
    .hero-content-design-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px !important;
        max-width: 100% !important;
    }
}

.hero-content-design-3 {
    animation: fadeInUp 1s ease;
    text-align: left;
    max-width: 600px;
    flex: 1;
    margin-left: 60%; /* Larger margin for bigger screens */
    padding: 40px;
    /* background: rgba(0, 0, 0, 0.3); */
    border-radius: 20px 0 0 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Large screens between 1600px and 2500px - moderate spacing */
@media (min-width: 1600px) and (max-width: 2500px) {
    .hero-content-design-3 {
        margin-left: 45%; /* Moderate margin for large screens */
    }
}

/* Very large screens above 2500px - maintain proper spacing */
@media (min-width: 2501px) {
    .hero-content-design-3 {
        margin-left: 80%; /* Much larger margin for very large screens */
    }
}

/* Extra large screens - maximum spacing */
@media (min-width: 1920px) {
    .hero-content-design-3 {
        margin-left: 85%; /* Maximum margin for extra large screens */
    }
}

/* ========================================
   HERO DESIGN 4: FULL VIDEO HERO
   ======================================== */

.hero-design-4 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #764ba2 100%);
}

.hero-container-design-4 {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-video-area-design-4 {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-video-area-design-4 .hero-video-background {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video-area-design-4 .hero-video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.hero-video-area-design-4 .hero-video-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content-design-4 {
    animation: fadeInUp 1s ease;
    text-align: left;
    max-width: 600px;
    flex: 1;
    margin-left: 60%; /* Larger margin for bigger screens */
    padding: 40px;
    /* background: rgba(0, 0, 0, 0.3); */
    border-radius: 20px 0 0 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title-design-4 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #1a1a1a;
}

.hero-description-design-4 {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #4a4a4a;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.hero-badge i {
    margin-right: 8px;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design for Hero Design 4 */
@media (max-width: 1200px) {
    .hero-content-design-4 {
        padding: 50px 35px;
    }
    
    .hero-title-design-4 {
        font-size: 3.5rem;
    }
    
    .hero-description-design-4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content-design-4 {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .hero-title-design-4 {
        font-size: 2.8rem;
    }
    
    .hero-description-design-4 {
        font-size: 1.1rem;
    }
    
    /* Ensure buttons are clickable on mobile for design 4 */
    .hero-content-design-4 .btn-primary {
        position: relative;
        z-index: 10;
        pointer-events: auto;
        touch-action: manipulation;
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 480px) {
    .hero-content-design-4 {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .hero-title-design-4 {
        font-size: 2.2rem;
    }
    
    .hero-description-design-4 {
        font-size: 1rem;
    }
    
    /* Ensure buttons are clickable on extra small screens */
    .btn-primary {
        position: relative;
        z-index: 10;
        pointer-events: auto;
        touch-action: manipulation;
        min-height: 48px; /* Larger touch target for small screens */
        min-width: 48px;
        font-size: 16px; /* Prevent zoom on iOS */
        -webkit-touch-callout: none; /* Disable callout on iOS */
        -webkit-user-select: none; /* Disable text selection */
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    }
}

.hero-title-design-3 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description-design-3 {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    word-wrap: break-word; /* Ensure long text wraps properly */
    overflow-wrap: break-word; /* Additional word wrapping support */
}





/* Hero Background - For Design 1 (Image Only) */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    /* Fallback gradient background */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hero Video Background - Media.io Style */
.hero-video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* Fallback gradient background */
    background: linear-gradient(135deg, #000000 0%, #764ba2 100%);
}

/* Hero Background Image - For Design 1 */
.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    /* Ensure image is visible immediately */
    opacity: 1;
    visibility: visible;
}

/* Hero Background Image - For Video Designs */
.hero-video-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    /* Ensure image is visible immediately */
    opacity: 1;
    visibility: visible;
    /* Improve image quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    /* Ensure image covers entire hero section */
    min-width: 100%;
    min-height: 100%;
    /* Prevent image from being stretched */
    max-width: none;
    max-height: none;
}

/* Specific styling for hero design 3 video background */
.hero-design-3 .hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    border-radius: 0;
    overflow: hidden;
}

/* Ensure background images fit all hero designs */
.hero-design-2 .hero-video-background img,
.hero-design-3 .hero-video-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    opacity: 1;
    visibility: visible;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
}

/* Medium screens - tablet layout */
@media (max-width: 1024px) {
    .hero-design-3 .hero-video-background {
        width: 100%;
    }
    
    .hero-content-design-3 {
        margin-left: 0 !important; /* Force override */
        padding: 30px;
        position: relative;
        z-index: 10;
    }
    
    .hero-title-design-3 {
        font-size: 3.5rem;
    }
    
    /* Hero Design 1 - Tablet adjustments */
    .hero-container {
        grid-template-columns: 1fr 0.8fr;
        gap: 30px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 450px;
    }
    
    .image-gallery {
        width: 350px;
        height: 300px;
        transform: scale(0.9);
    }
    
    .image-card {
        width: 120px;
        height: 80px;
    }
    
    .center-badge {
        width: 80px;
        height: 80px;
    }
    
    .badge-content i {
        font-size: 16px;
    }
    
    .badge-content span {
        font-size: 8px;
    }
    
    /* Hero Design 2 - Tablet adjustments */
    .hero-title-design-2 {
        font-size: 4rem;
    }
    
    .hero-description-design-2 {
        font-size: 1.2rem;
    }
    
    .hero-image-design-2 iframe {
        height: 400px;
    }
}

/* Laptop screens - 1024px to 1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
    /* Hero Design 1 - Laptop adjustments */
    .hero-container {
        grid-template-columns: 1fr 0.9fr;
        gap: 40px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 480px;
    }
    
    .image-gallery {
        width: 400px;
        height: 320px;
        transform: scale(0.95);
    }
    
    .image-card {
        width: 130px;
        height: 85px;
    }
    
    .center-badge {
        width: 85px;
        height: 85px;
    }
    
    .badge-content i {
        font-size: 18px;
    }
    
    .badge-content span {
        font-size: 9px;
    }
    
    /* Hero Design 2 - Laptop adjustments */
    .hero-title-design-2 {
        font-size: 4.5rem;
    }
    
    .hero-description-design-2 {
        font-size: 1.25rem;
    }
    
    .hero-image-design-2 iframe {
        height: 450px;
    }
    
    /* Hero Design 3 - Laptop adjustments */
    .hero-container-design-3 {
        max-width: 100% !important; /* Override the 1400px max-width */
        gap: 50px;
        padding: 0 40px;
    }
    
    .hero-content-design-3 {
        margin-left: 8% !important; /* Reduced margin for laptop screens */
        max-width: 550px;
    }
    
    .hero-title-design-3 {
        font-size: 4rem;
    }
    
    .hero-description-design-3 {
        font-size: 1.2rem;
    }
}

/* Tablet screens - 768px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero Design 1 - Tablet adjustments */
    .hero-container {
        grid-template-columns: 1fr 0.7fr;
        gap: 25px;
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 420px;
        line-height: 1.6;
    }
    
    .image-gallery {
        width: 320px;
        height: 280px;
        transform: scale(0.85);
    }
    
    .image-card {
        width: 110px;
        height: 75px;
    }
    
    .center-badge {
        width: 75px;
        height: 75px;
    }
    
    .badge-content i {
        font-size: 15px;
    }
    
    .badge-content span {
        font-size: 7px;
    }
    
    /* Hero Design 2 - Tablet adjustments */
    .hero-title-design-2 {
        font-size: 3.8rem;
    }
    
    .hero-description-design-2 {
        font-size: 1.15rem;
    }
    
    .hero-image-design-2 iframe {
        height: 380px;
    }
    
    /* Hero Design 3 - Tablet adjustments */
    .hero-container-design-3 {
        max-width: 100% !important; /* Override the 1400px max-width */
        gap: 40px;
        padding: 0 25px;
    }
    
    .hero-content-design-3 {
        margin-left: 0 !important; /* Force override for tablet */
        max-width: 500px;
    }
    
    .hero-title-design-3 {
        font-size: 3.2rem;
    }
    
    .hero-description-design-3 {
        font-size: 1.15rem;
    }
}

/* General responsive override for hero containers on small screens */
@media (max-width: 1200px) {
    .hero-container-design-3 {
        max-width: 100% !important; /* Force responsive width on all screens below 1200px */
        width: 100% !important; /* Ensure full width */
        box-sizing: border-box; /* Include padding in width calculation */
    }
}

/* Extra small screens - ensure no overflow */
@media (max-width: 480px) {
    .hero-container-design-3 {
        max-width: 100vw !important; /* Use viewport width */
        width: 100vw !important;
        padding: 0 10px !important; /* Reduce padding on very small screens */
        margin: 0 !important; /* Remove any margins */
    }
}

/* Responsive adjustments for hero background images */
@media (max-width: 768px) {
    .hero-video-background img,
    .hero-design-2 .hero-video-background img,
    .hero-design-3 .hero-video-background img {
        /* Ensure image covers mobile viewport appropriately */
        min-height: 50vh;
        height: 50vh;
        object-fit: cover;
        object-position: center center;
    }
    
    /* Fix iframe overflow on mobile */
    .hero-image-design-2 iframe {
        width: 100%;
        height: 250px !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-image-design-2 {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .hero-container-design-2 {
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero-design-2 {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
}

@media (max-width: 480px) {
    .hero-video-background img,
    .hero-design-2 .hero-video-background img,
    .hero-design-3 .hero-video-background img {
        /* Extra small screens - ensure appropriate coverage */
        min-height: 40vh;
        height: 40vh;
        object-fit: cover;
        object-position: center center;
    }
    
    /* Extra small screens - further reduce iframe size */
    .hero-image-design-2 iframe {
        width: 100%;
        height: 200px !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-image-design-2 {
        padding: 0 5px;
    }
    
    .hero-container-design-2 {
        padding: 0 10px;
    }
    
    .hero-design-2 {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
}

/* Media.io Style Video */
.hero-video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Fill container completely */
    z-index: 1;
}

/* Enhanced video quality for large screens */
@media (min-width: 1920px) {
    .hero-video-background video {
        /* Higher quality rendering for 4K+ screens */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: high-quality;
        /* Slightly enhanced filters for better clarity */
        filter: contrast(1.15) brightness(1.08) saturate(1.15) sharpness(1.1);
    }
}

@media (min-width: 2560px) {
    .hero-video-background video {
        /* Ultra-high quality for very large screens */
        filter: contrast(1.2) brightness(1.1) saturate(1.2) sharpness(1.2);
        /* Ensure crisp rendering */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: high-quality;
    }
}

/* Additional video quality improvements */
.hero-video-background video {
    left: 0;
    top: 0;
    /* Ensure video maintains aspect ratio and quality */
    min-width: 100%;
    min-height: 100%;
    /* Fill container completely */
    object-fit: cover;
    object-position: center center;
    /* Improve video scaling quality */
    -webkit-transform: scale(1);
    transform: scale(1);
    /* Ensure smooth video playback */
    will-change: transform;
}

/* Video Controls Styling - Make them visible like Media.io */
.hero-video-background video::-webkit-media-controls {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-video-background video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.7) !important;
    border-radius: 8px !important;
    padding: 8px !important;
    margin: 10px !important;
}

.hero-video-background video::-webkit-media-controls-play-button {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
}

.hero-video-background video::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    height: 6px !important;
}

.hero-video-background video::-webkit-media-controls-current-time-display,
.hero-video-background video::-webkit-media-controls-time-remaining-display {
    color: white !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.hero-video-background video::-webkit-media-controls-volume-slider {
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    height: 6px !important;
}

.hero-video-background video::-webkit-media-controls-mute-button {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    width: 32px !important;
    height: 32px !important;
}

.hero-video-background video::-webkit-media-controls-fullscreen-button {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    width: 32px !important;
}

/* Ensure video controls are always visible */
.hero-video-background video {
    -webkit-media-controls: true !important;
}

.hero-video-background video::-webkit-media-controls-enclosure {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very minimal overlay for maximum video clarity */
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.02) 0%, 
        rgba(0, 0, 0, 0.01) 50%, 
        rgba(0, 0, 0, 0.02) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(126, 84, 224, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    opacity: 0.3;
    z-index: 2;
    /* animation: particleFloat 20s ease-in-out infinite; */
}

/* Ensure video is above the overlay */
.hero-video-background {
    z-index: 1; /* Put video above background but below content */
}

.hero-video-overlay {
    z-index: 2; /* Put overlay above video but below content */
}

/* Media Modal Styles */
.media-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.media-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #1a1a2e;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.media-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

#modalMediaContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Creation items should be clickable */
.creation-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 0.6;
    }
    66% {
        transform: translateY(10px) rotate(240deg);
        opacity: 0.9;
    }
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Prevent content from overflowing */
    width: 100%;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(126, 84, 224, 0.2);
    border: 1px solid rgba(126, 84, 224, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #8b5cf6;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #8b5cf6, #06b6d4, #10b981);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    50% {
        background: linear-gradient(135deg, #06b6d4, #10b981, #8b5cf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.7;
    max-width: 500px;
    word-wrap: break-word; /* Ensure long text wraps properly */
    overflow-wrap: break-word; /* Additional word wrapping support */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.image-gallery {
    position: relative;
    width: 600px;
    height: 500px;
    margin: 0 auto;
    /* animation: galleryPulse 4s ease-in-out infinite; */
}

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

.image-card {
    position: absolute;
    width: 180px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    transform-origin: center;
    animation: floatingCards 6s ease-in-out infinite;
}

@keyframes floatingCards {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation));
    }
    33% {
        transform: translateY(-15px) rotate(calc(var(--rotation) + 5deg));
    }
    66% {
        transform: translateY(10px) rotate(calc(var(--rotation) - 3deg));
    }
}

@keyframes cardOrbit {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    /* animation: shimmer 3s linear infinite; */
}

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

.placeholder-image i {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.9;
    /* animation: iconPulse 2s ease-in-out infinite; */
    z-index: 2;
    position: relative;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.placeholder-image span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    z-index: 2;
    position: relative;
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation-delay: 0s;
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation-delay: 0.5s;
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation-delay: 1s;
}

.gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    animation-delay: 1.5s;
}

.gradient-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    animation-delay: 2s;
}

.image-card:hover {
    transform: scale(1.08) rotate(0deg) !important;
    z-index: 10;
    animation-play-state: paused;
}

.image-card:hover .placeholder-image {
    transform: scale(1.1);
}

.image-card:hover .placeholder-image::before {
    animation-duration: 0.8s;
}

.card-1 {
    top: 50px;
    left: 50px;
    --rotation: -15deg;
    animation-delay: 0s;
}

.card-2 {
    top: 20px;
    right: 80px;
    --rotation: 10deg;
    animation-delay: 1.2s;
}

.card-3 {
    top: 180px;
    right: 20px;
    --rotation: -8deg;
    animation-delay: 2.4s;
}

.card-4 {
    bottom: 80px;
    right: 100px;
    --rotation: 12deg;
    animation-delay: 3.6s;
}

.card-5 {
    bottom: 50px;
    left: 80px;
    --rotation: -10deg;
    animation-delay: 4.8s;
}

.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    z-index: 20;
}

.badge-content {
    text-align: center;
    color: white;
}

.badge-content i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.badge-content span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(126, 84, 224, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #6366f1;
}

.btn-outline {
    background: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
}

.btn-outline:hover {
    background: #8b5cf6;
    color: white;
    box-shadow: 0 10px 25px rgba(126, 84, 224, 0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

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

/* Features Section */
.features {
    background: #1a1a2e;
    color: white;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(126, 84, 224, 0.2);
    border-color: rgba(126, 84, 224, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Portfolio Showcase Section */
.portfolio-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.portfolio-showcase .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-showcase .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-showcase .section-header p {
    font-size: 1.1rem;
    color: #b3b3b3;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(126, 84, 224, 0.3);
    border-color: rgba(126, 84, 224, 0.5);
}

.portfolio-media {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-media img,
.portfolio-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-media img,
.portfolio-item:hover .portfolio-media video {
    transform: scale(1.05);
}

.portfolio-media .audio-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
}

.portfolio-media .audio-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.portfolio-media .audio-placeholder audio {
    width: 90%;
    margin-top: 10px;
}

.portfolio-media .placeholder-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(126, 84, 224, 0.3), rgba(6, 182, 212, 0.3));
    color: #b3b3b3;
}

.portfolio-media .placeholder-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.6;
}

.portfolio-media .placeholder-content span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-prompt {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
    overflow: hidden;
}

.portfolio-type {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-footer {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-footer .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.portfolio-footer .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(126, 84, 224, 0.4);
}

.portfolio-footer .btn-outline:hover {
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
}

/* Responsive Design for Portfolio */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-showcase {
        padding: 60px 0;
    }
    
    .portfolio-showcase .section-header h2 {
        font-size: 2rem;
    }
}

/* Gallery Page Styles */
.gallery-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-title {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-title p {
    font-size: 1.2rem;
    color: #b3b3b3;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-controls {
    max-width: 800px;
    margin: 0 auto 30px;
}

.search-form {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input-group {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 20px rgba(126, 84, 224, 0.3);
}

.search-input::placeholder {
    color: #b3b3b3;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #06b6d4;
}

.clear-filters {
    padding: 12px 20px;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clear-filters:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.results-info {
    text-align: center;
    margin-top: 20px;
}

.results-count {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.gallery-content {
    padding: 60px 0;
    background: #0f0f23;
    min-height: 60vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(126, 84, 224, 0.3);
    border-color: rgba(126, 84, 224, 0.5);
}

.gallery-media {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-media img,
.gallery-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-media img,
.gallery-item:hover .gallery-media video {
    transform: scale(1.05);
}

.gallery-media .audio-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
}

.gallery-media .audio-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.gallery-media .audio-placeholder audio {
    width: 90%;
    margin-top: 10px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-info {
    padding: 20px;
}

.gallery-prompt {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
    overflow: hidden;
}

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

.gallery-type {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-date {
    color: #b3b3b3;
    font-size: 0.8rem;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn,
.pagination-number {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-btn:hover,
.pagination-number:hover {
    background: rgba(126, 84, 224, 0.2);
    border-color: rgba(126, 84, 224, 0.5);
    transform: translateY(-2px);
}

.pagination-number.active {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    border-color: transparent;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #b3b3b3;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Media Modal */
.media-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.modal-close:hover {
    color: #8b5cf6;
}

.modal-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.modal-info p {
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design for Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-title h1 {
        font-size: 2.5rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-input-group {
        min-width: 100%;
    }
    
    .filter-group {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination-btn,
    .pagination-number {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-header {
        padding: 100px 0 40px;
    }
    
    .gallery-title h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 15px;
    }
}

/* How It Works Section */
.how-it-works {
    background: #0f0f23;
    color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(126, 84, 224, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    background: #1a1a2e;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(126, 84, 224, 0.2);
    border-color: rgba(126, 84, 224, 0.3);
}

.pricing-card.featured {
    border: 2px solid #8b5cf6;
    transform: scale(1.05);
    background: rgba(126, 84, 224, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(126, 84, 224, 0.3);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
}

.period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pricing-features i {
    margin-right: 10px;
    width: 20px;
}

.pricing-features .fa-check {
    color: #10b981;
}

.pricing-features .fa-times {
    color: #ef4444;
}

.pricing-features .fa-coins {
    color: #f59e0b;
}

.pricing-description {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #8b5cf6;
}

.loading-spinner p {
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    color: #ef4444;
    font-size: 1.1rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.no-packages {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: #0f0f23;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(126, 84, 224, 0.3);
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(126, 84, 224, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 450px;
}

/* Dashboard Styles */
.dashboard {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 100%);
    min-height: 100vh;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 60px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.dashboard-header p {
    font-size: 1.1rem;
    color: #b3b3b3;
}

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

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(126, 84, 224, 0.5);
    box-shadow: 0 10px 30px rgba(126, 84, 224, 0.2);
}

.dashboard-card .card-icon {
    font-size: 3rem;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.dashboard-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.dashboard-card p {
    color: #b3b3b3;
    margin-bottom: 25px;
}

.dashboard-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-card .card-action {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 20px;
}

.card-link-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.card-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
    color: white !important;
    text-decoration: none;
}

/* Usage & Packages Card Styles */
.usage-packages-card {
    text-align: left !important;
}

.usage-packages-card .package-info {
    margin: 20px 0;
}

.usage-packages-card .package-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.usage-packages-card .package-name {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 1.1rem;
}

.usage-packages-card .package-expiry {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.usage-packages-card .token-usage {
    margin: 20px 0;
}

.usage-packages-card .token-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.usage-packages-card .token-remaining {
    color: #ffffff;
    font-weight: 600;
}

.usage-packages-card .token-total {
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* Token center and label styles for usage page */
.token-circle {
    position: relative;
    display: inline-block;
}

.token-center {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.token-center .token-remaining {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

.token-center .token-label {
    color: #b3b3b3;
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
    line-height: 1;
}

/* Token details stat items */
.token-details .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
}

.token-details .stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(126, 84, 224, 0.3);
    transform: translateY(-1px);
}

.token-details .stat-item:last-child {
    margin-bottom: 0;
}

.token-details .stat-label {
    color: #b3b3b3;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.token-details .stat-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.usage-packages-card .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.usage-packages-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.usage-packages-card .usage-percentage {
    color: #b3b3b3;
    font-size: 0.9rem;
    text-align: center;
}

/* Media Grid Specific Styles */
.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.media-card {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.media-card .media-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.media-card .media-display img,
.media-card .media-display video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.media-card .media-display audio {
    width: 100%;
    height: 60px;
}

.media-card .media-prompt {
    margin-bottom: 15px;
    text-align: left;
}

.media-card .media-prompt label {
    display: block;
    color: #8b5cf6;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-card .media-prompt p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
    overflow: hidden;
}

.media-card .media-details {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.media-card .media-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.media-card .media-info span {
    background: rgba(126, 84, 224, 0.2);
    color: #b3b3b3;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(126, 84, 224, 0.3);
}

.media-card .media-actions {
    display: flex;
    gap: 8px;
}

.media-card .media-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.media-card .media-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(126, 84, 224, 0.5);
    color: #8b5cf6;
}

.media-card .media-actions .btn-outline:hover {
    background: rgba(126, 84, 224, 0.1);
    border-color: #8b5cf6;
}

.media-card .media-actions .btn-primary {
    background: #8b5cf6;
    border: 1px solid #8b5cf6;
    color: #ffffff;
}

.media-card .media-actions .btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.no-media-card {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    padding: 40px;
    text-align: center;
}

.no-media-card .card-icon {
    font-size: 4rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.no-media-card h3 {
    color: #9ca3af;
    margin-bottom: 10px;
}

.no-media-card p {
    color: #6b7280;
    margin-bottom: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    margin: 1% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(126, 84, 224, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: all 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dashboard .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(126, 84, 224, 0.8) 20%,
        rgba(99, 102, 241, 0.9) 50%,
        rgba(126, 84, 224, 0.8) 80%,
        transparent 100%);
}

.modal-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.close {
    color: #b3b3b3;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #8b5cf6;
}

.modal-body {
    padding: 30px;
    max-height: 75vh;
    overflow-y: auto;
}

#mediaContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    min-height: 300px;
    max-height: 50vh;
    overflow: hidden;
}

#mediaContainer img,
#mediaContainer video {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#mediaContainer audio {
    background: rgba(126, 84, 224, 0.1);
    border-radius: 8px;
    padding: 10px;
}

.modal-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.prompt-section {
    padding: 20px;
}

.prompt-section label {
    display: block;
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prompt-section p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding: 25px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}



.modal-footer .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}



.modal-footer .btn-secondary {
    background: transparent;
    color: #b3b3b3;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.modal-footer .btn-primary {
    background: #8b5cf6;
    color: #ffffff;
    border: 1px solid #8b5cf6;
}

.modal-footer .btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header,
    .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
        max-height: 50vh;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

.recent-activity {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.recent-activity h2 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-item i {
    font-size: 1.5rem;
    color: #8b5cf6;
    width: 30px;
}

.activity-details h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.activity-details p {
    color: #b3b3b3;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.activity-time {
    color: #888;
    font-size: 0.8rem;
}

.dashboard-actions {
    text-align: center;
}

/* Additional Features Section */
.additional-features {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

/* FAQ Styles */
.faq {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
}

.faq-item h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #b3b3b3;
    line-height: 1.6;
}

/* Contact Styles */
.contact {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #8b5cf6;
    width: 30px;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #b3b3b3;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(126, 84, 224, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-additional {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-method {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: rgba(126, 84, 224, 0.5);
}

.contact-method i {
    font-size: 2.5rem;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.contact-method h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-method p {
    color: #b3b3b3;
    margin-bottom: 25px;
}

/* About Styles */
.about {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 30px;
    font-size: 1.3rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #b3b3b3;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.about-text ul li {
    color: #b3b3b3;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: bold;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #8b5cf6;
    margin-bottom: 5px;
}

.stat-label {
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* Team Styles */
.team {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: rgba(126, 84, 224, 0.5);
}

.member-photo {
    margin-bottom: 20px;
}

.member-photo i {
    font-size: 4rem;
    color: #8b5cf6;
}

.team-member h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.member-role {
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    color: #b3b3b3;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    background: #2c2141;
}

.modal-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block !important;
    margin-top: 0;
    width: 100%;
    clear: both;
}

.modal-header p {
    color: #718096;
    font-size: 16px;
    margin-bottom: 0;
    display: block !important;
    margin-top: 0;
    width: 100%;
    clear: both;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #718096;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #8b5cf6;
}

.auth-modal {
    padding-bottom: 30px;
}

.auth-form {
    padding: 0 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    margin-top: 8px;
    color: #6a7c99;
    font-weight: 500;
    font-size: 15px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #a0aec0;
    font-size: 16px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    color: #2d3748;
}

.input-wrapper input::placeholder {
    color: #a0aec0;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(126, 84, 224, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    z-index: 1;
}

.password-toggle:hover {
    color: #8b5cf6;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #2d3748;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    margin-bottom: 20px;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #999;
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
    z-index: 0;
}

.divider span {
    background: white;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.btn-google {
    color: #333;
}

.btn-google:hover {
    border-color: #4285F4;
    background: #f8f9ff;
}

.btn-apple {
    color: #333;
}

.btn-apple:hover {
    border-color: #000;
    background: #f8f8f8;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.auth-footer {
    text-align: center;
    padding: 0 30px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.password-requirements {
    margin-top: 5px;
}

.password-requirements small {
    color: #999;
    font-size: 12px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 0 30px 20px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-header {
        padding: 25px 20px 15px;
    }
    
    .auth-form {
        padding: 0 20px;
    }
    
    .auth-footer {
        padding: 0 20px;
    }
    
    .alert {
        margin: 0 20px 20px;
    }
}

/* Usage & Packages Page Styles */
.usage-packages {
    padding: 2rem 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 100%);
}

/* Dashboard Usage Page Overrides */
.dashboard .stat-label,
.dashboard .stat-value,
.dashboard .breakdown-info span,
.dashboard .breakdown-stats span,
.dashboard .no-data,
.dashboard .package-description,
.dashboard .media-type,
.dashboard .generation-count,
.dashboard .total-tokens,
.dashboard .avg-tokens {
    color: #ffffff !important;
}

.dashboard .breakdown-info .generation-count,
.dashboard .breakdown-stats .avg-tokens {
    color: #b3b3b3 !important;
}

.usage-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.usage-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.usage-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.package-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.overview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.card-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.package-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-status.active {
    background: #e8f5e8;
    color: #2d5a2d;
}

.package-details h3 {
    color: #8b5cf6;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0.5rem 0;
}

.subscription-date, .expiry-date {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.token-usage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.token-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.token-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b5cf6;
    display: block;
}

.token-stat .label {
    font-size: 0.9rem;
    color: #b3b3b3;
    margin-top: 0.5rem;
}

.progress-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    position: relative;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle .progress-bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 8;
}

.progress-circle .progress-fill {
    fill: none;
    stroke: #667eea;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-text .percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.progress-text .label {
    font-size: 0.8rem;
    color: #b3b3b3;
}

.usage-history {
    margin-top: 3rem;
}

.history-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.chart-container, .breakdown-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-container h3, .breakdown-container h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.chart-placeholder {
    height: 300px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

.media-breakdown {
    list-style: none;
    padding: 0;
}

.media-breakdown li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.media-breakdown li:last-child {
    border-bottom: none;
}

.media-type {
    font-weight: 600;
    color: #333;
}

.media-stats {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}

.available-packages {
    margin-top: 3rem;
}

.available-packages h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.package-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.package-card h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.package-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.package-card .tokens {
    color: #666;
    margin-bottom: 1rem;
}

.package-card .description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.upgrade-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .package-overview {
        grid-template-columns: 1fr;
    }
    
    .history-grid {
        grid-template-columns: 1fr;
    }
    
    .token-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usage-header h1 {
        font-size: 2rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #0a0a1a;
    color: #ffffff;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #8b5cf6;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #b3b3b3;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8b5cf6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(126, 84, 224, 0.1);
    border: 1px solid rgba(126, 84, 224, 0.3);
    border-radius: 50%;
    color: #8b5cf6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #8b5cf6;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b3b3b3;
}

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

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

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

/* Force hero elements to stay behind navigation on mobile */
@media (max-width: 768px) {
    .hero-design-2,
    .hero-design-3,
    .hero-design-4,
    .hero {
        z-index: 1 !important;
    }
    
    .hero-image-design-2 iframe,
    .hero-main-image,
    iframe {
        z-index: 1 !important;
    }
    
    .hero-video-background,
    .hero-video-background video,
    .hero-video-background iframe {
        z-index: 1 !important;
    }
    
    .hero-container,
    .hero-container-design-2,
    .hero-container-design-3,
    .hero-container-design-4 {
        z-index: 2 !important;
    }
    
    @media (max-width: 768px) {
        .navbar .nav-menu {
        display: flex !important;
            position: fixed !important;
            left: -100% !important;
            top: 70px !important;
            flex-direction: column !important;
            background-color: rgba(15, 15, 35, 0.98) !important;
            width: 100% !important;
            max-width: 100vw !important;
            text-align: center !important;
            transition: left 0.3s ease !important;
            box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3) !important;
            padding: 20px 0 !important;
            backdrop-filter: blur(10px) !important;
        z-index: 999999 !important;
            overflow-x: hidden !important;
            box-sizing: border-box !important;
            min-height: 200px !important;
    }

        .navbar .nav-menu.active {
        left: 0 !important;
        z-index: 999999 !important;
        position: fixed !important;
        top: 70px !important;
        width: 100vw !important;
        height: calc(100vh - 70px) !important;
        background-color: rgba(15, 15, 35, 0.98) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 20px !important;
        gap: 20px !important;
            transition: left 0.3s ease !important;
    }
    
    .nav-menu.active .nav-link {
        display: block !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-size: 18px !important;
        padding: 15px 20px !important;
        width: 100% !important;
        text-align: center !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-menu.active .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #8b5cf6 !important;
    }

    .nav-toggle {
        display: flex !important;
        z-index: 999999 !important;
            position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
            flex-direction: column !important;
            cursor: pointer !important;
            padding: 5px !important;
    }

    .nav-toggle.active .bar:nth-child(2) {
            opacity: 0 !important;
    }

    .nav-toggle.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg) !important;
    }

    .nav-toggle.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg) !important;
        }
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-title-design-2 {
        font-size: 3rem;
    }

    .hero-description-design-2 {
        font-size: 1.1rem;
    }

    .hero-container-design-2 {
        gap: 40px;
    }
    
    .hero-design-3 {
        flex-direction: column;
        padding-top: 80px; /* Add spacing below top menu for mobile */
    }
    
    .hero-container-design-3 {
        max-width: 100% !important; /* Override the 1400px max-width */
        flex-direction: column;
        gap: 30px;
        height: auto;
        padding: 20px;
    }
    
    .hero-design-3 .hero-video-background {
        position: relative;
        width: 100%;
        height: 65vh;
        border-radius: 20px;
        margin-bottom: 20px;
    }
    
    .hero-content-design-3 {
        margin-left: 0;
        text-align: center;
        padding: 30px;
        border-radius: 20px;
        max-width: 100%;
    }
    
    .hero-title-design-3 {
        font-size: 3rem;
    }
    
    .hero-description-design-3 {
        font-size: 1.1rem;
    }
    
    .image-gallery {
        width: 400px;
        height: 350px;
        transform: scale(0.8);
    }

    .image-card {
        width: 140px;
        height: 90px;
    }

    .center-badge {
        width: 90px;
        height: 90px;
    }

    .badge-content i {
        font-size: 18px;
    }

    .badge-content span {
        font-size: 9px;
    }

    /* About section mobile styles */
    .about {
        padding: 80px 0 60px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Team section mobile styles */
    .team {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-member {
        padding: 25px 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-title-design-2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-description-design-2 {
        font-size: 1rem;
    }

    .hero-container-design-2 {
        gap: 30px;
    }
    
    .hero-container-design-3 {
        max-width: 100% !important; /* Override the 1400px max-width */
        gap: 20px;
        padding: 15px;
    }
    
    .hero-design-3 .hero-video-background {
        height: 55vh;
        border-radius: 15px;
    }
    
    .hero-content-design-3 {
        padding: 20px;
        margin: 0;
        border-radius: 15px;
    }
    
    .hero-title-design-3 {
        font-size: 2.5rem;
    }
    
    .hero-description-design-3 {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 60px 0;
    }

    .feature-card,
    .pricing-card {
        padding: 30px 20px;
    }
    
    .hero-graphic {
        width: 250px;
        height: 250px;
    }
    
    .neural-network {
        width: 150px;
        height: 150px;
    }

    /* About section mobile styles for small screens */
    .about {
        padding: 60px 0 40px;
    }

    .about-content {
        gap: 30px;
    }

    .about-text h3 {
        font-size: 1.2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Team section mobile styles for small screens */
    .team {
        padding: 50px 0;
    }

    .team-member {
        padding: 20px 15px;
    }

    .member-photo i {
        font-size: 3rem;
    }

    .team-member h4 {
        font-size: 1.1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Removed conflicting loading animation - now handled by JavaScript */

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Additional modern effects */
.glow-effect {
    box-shadow: 0 0 20px rgba(126, 84, 224, 0.3);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f23;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #0891b2);
}


/* Full-screen loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f0f23;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Style for the loading wheel */
.loading-wheel {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s ease;
    min-height: 25px; /* Prevent layout shift */
}

/* Mobile responsive loading screen */
@media (max-width: 768px) {
    .loading-wheel {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .loading-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .loading-wheel {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .loading-text {
        font-size: 14px;
    }
}

/* Keyframe for spinning animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}