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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-color);
    color: var(--text-color);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    z-index: 1001; /* Higher than hero content */
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

/* Ensure header stays fixed on mobile */
@media (max-width: 768px) {
    header {
        position: fixed !important;
        top: 0 !important;
        transform: none !important;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-buttons .btn-secondary {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.header-buttons .cta-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: brightness(1);
    }

    to {
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #01afef;
}

.nav-links a.active {
    color: #01afef;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #01afef, #f79521);
    border-radius: 1px;
    animation: activeGlow 2s ease-in-out infinite alternate;
}

.nav-links a.active {
    color: #01afef;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

@keyframes activeGlow {
    from {
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
    }
    to {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    }
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #01afef;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: #01afef;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px; /* Account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--section-bg);
    background-image: url('../../../images/hero.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Light mode overlay for better text readability */
[data-theme="light"] .hero {
    background-image: url('../../../images/hero.svg');
    position: relative;
}

[data-theme="light"] .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #01afef, #f79521);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #01afef;
    font-weight: 600;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    /* color: var(--text-secondary); */
    color: #ffffff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero a {
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid #01afef;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #01afef;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover::before {
    width: 100%;
}

/* Floating particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #01afef;
    border-radius: 50%;
    animation: float 6s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Version Badge */
.version-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #f79521, #01afef);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--section-bg);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #01afef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-tertiary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .feature-card {
    backdrop-filter: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #01afef, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-hover);
    border-color: rgba(0, 212, 255, 0.3);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    text-align: center;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Tech Stack Section */
.tech-stack {
    padding: 6rem 0;
    background: var(--bg-color);
}

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

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="light"] .tech-item {
    backdrop-filter: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .tech-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .tech-item {
        padding: 1.25rem 0.75rem;
    }
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #01afef;
}

@media (max-width: 768px) {
    .tech-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .tech-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}

/* Demo Section */
.demo {
    padding: 6rem 0;
    background: var(--section-bg);
    text-align: center;
}

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

@media (min-width: 768px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .demo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.demo-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .demo-card {
    backdrop-filter: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.demo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.demo-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

/* Fallback for images that fail to load */
.demo-image img:not([src]), 
.demo-image img[src=""],
.demo-image img[src*="undefined"],
.demo-image img[src*="null"] {
    display: none;
}

.demo-image::after {
    content: '🖼️';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.demo-image img:not([src]) + .demo-image::after,
.demo-image img[src=""] + .demo-image::after,
.demo-image img[src*="undefined"] + .demo-image::after,
.demo-image img[src*="null"] + .demo-image::after {
    display: block;
}

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

.demo-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: all 0.3s ease;
}

.demo-card:hover .demo-overlay {
    opacity: 1;
}

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

.demo-overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #01afef;
}

.demo-overlay-content span {
    font-size: 1.1rem;
    font-weight: bold;
}

.demo-info {
    padding: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.demo-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.demo-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.demo-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.demo-btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.demo-btn i {
    font-size: 1rem;
}

.demo-btn span {
    display: inline-block;
}

.demo-btn-admin {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.4);
}

.demo-btn-admin:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.demo-btn-frontend {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2) 0%, rgba(255, 0, 128, 0.1) 100%);
    color: #ff0080;
    border-color: rgba(255, 0, 128, 0.4);
}

.demo-btn-frontend:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3) 0%, rgba(255, 0, 128, 0.2) 100%);
    border-color: rgba(255, 0, 128, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 128, 0.3);
    color: #ff0080;
}

.demo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.demo-feature {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 128, 0.2));
    color: #01afef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.demo-cta {
    margin-top: 3rem;
    text-align: center;
}

.demo-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.demo-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.demo-link {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 128, 0.2));
    color: #01afef;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.demo-link:hover {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.3), rgba(255, 0, 128, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    color: #01afef;
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background: var(--section-bg);
    text-align: center;
    overflow: visible;
    /* Allow slider arrows to be visible */
}

.video-slider-container {
    position: relative;
    margin: 3rem auto;
    overflow: visible;
    /* Allow arrows to be visible outside */
    padding: 0 20px;
    /* Add some padding for safety */
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
    padding: 0 20px;
    /* Add padding for arrow positioning */
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(255, 0, 128, 0.2) 100%);
    border: 2px solid rgba(0, 212, 255, 0.5);
    color: #01afef;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15;
    /* Ensure buttons are above other elements */
}

.slider-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(255, 0, 128, 0.3) 100%);
    border-color: #01afef;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    /* Make all rows equal height */
    gap: 20px;
    margin: 0 auto;
    /* Center the grid */
    max-width: 100%;
    /* Ensure it doesn't overflow */
}

.video-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Full height to match grid row */
    align-items: stretch;
    /* Stretch content */
}

[data-theme="light"] .video-item {
    backdrop-filter: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    /* YouTube thumbnail aspect ratio */
    width: 100%;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 8px;
    display: block;
}

/* Fallback for video thumbnails that fail to load */
.video-thumbnail img:not([src]), 
.video-thumbnail img[src=""],
.video-thumbnail img[src*="undefined"],
.video-thumbnail img[src*="null"] {
    display: none;
}

.video-thumbnail::after {
    content: '🎥';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.video-thumbnail img:not([src]) + .video-thumbnail::after,
.video-thumbnail img[src=""] + .video-thumbnail::after,
.video-thumbnail img[src*="undefined"] + .video-thumbnail::after,
.video-thumbnail img[src*="null"] + .video-thumbnail::after {
    display: block;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

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

.video-item:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    color: #01afef;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-item h4 {
    color: var(--text-color);
    margin: 10px 0 8px 0;
    font-size: 1rem;
    text-align: center;
    line-height: 1.3;
    /* Better line height for readability */
    flex-shrink: 0;
    /* Don't shrink title */
}

.video-item p {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    /* Better line height for description */
    min-height: 2.8em;
    /* Fixed height for description area */
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #01afef;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.dot:hover {
    background: rgba(0, 212, 255, 0.5);
}

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

.video-feature {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="light"] .video-feature {
    backdrop-filter: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.video-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: rgba(0, 212, 255, 0.3);
}

.video-feature .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-feature h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.video-feature p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

@keyframes borderGlow {

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

    50% {
        background-position: 100% 50%;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-mockup {
    width: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}



.demo-screens {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--bg-color);
}

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

.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border-color: #01afef;
    /* transform: scale(1.05); */
}

.pricing-card.popular::before {
    content: 'জনপ্রিয়';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #01afef;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.price-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.price-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.price-features li {
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 2rem;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #01afef;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] footer {
    background: linear-gradient(135deg, #0a0e27 0%, #000000 100%);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 1rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: #01afef;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #01afef;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1002; /* Higher than header */
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

/* Ensure mobile menu toggle is completely hidden on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.mobile-menu-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #01afef;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}



.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999; /* Higher than header and hero content */
    transition: left 0.3s ease;
}

[data-theme="dark"] .mobile-menu {
    background: rgba(10, 14, 39, 0.98);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

/* Ensure mobile menu is hidden on desktop by default */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
        left: -100% !important;
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10000; /* Same as close button */
}

.mobile-logo {
    font-size: 2rem;
    font-weight: bold;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 10000; /* Higher than mobile menu */
}

.mobile-menu-close span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #01afef;
    top: 50%;
    left: 50%;
    transition: 0.3s;
    border-radius: 1px;
}

.mobile-menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-close:hover span {
    background: #f79521;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    flex: 1;
}

.mobile-nav-links li {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
}

.mobile-nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0px 20px;
    border-radius: 8px;
    display: block;
    min-width: 200px;
    text-align: center;
    margin: 0 auto;
}

.mobile-nav-links a:hover {
    color: #01afef;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-nav-links a.active {
    color: #01afef;
    background: rgba(0, 212, 255, 0.15);
    border-left: 3px solid #01afef;
    padding-left: 1.5rem;
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #01afef;
    transition: width 0.3s ease;
}

.mobile-nav-links a:hover::after {
    width: 100%;
}

.mobile-header-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    padding: 2rem;
}

.mobile-header-buttons .btn-secondary,
.mobile-header-buttons .cta-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    min-width: 200px;
    text-align: center;
}

/* Mobile menu overlay animation */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 128, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active::before {
    opacity: 1;
}

/* Mobile menu item animations */
.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 300px;
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-nav-links li:nth-child(8) { transition-delay: 0.45s; }

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

/* Mobile menu scrollbar styling */
.mobile-menu::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 3px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.7);
}

/* Ensure mobile menu doesn't interfere with page content when closed */
.mobile-menu:not(.active) {
    pointer-events: none;
}

/* Force reset mobile menu state on desktop */
@media (min-width: 769px) {
    .mobile-menu,
    .mobile-menu.active {
        left: -100% !important;
        pointer-events: none !important;
        transform: none !important;
    }
    
    .mobile-menu-toggle.active {
        transform: none !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(1),
    .mobile-menu-toggle.active span:nth-child(2),
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Ensure body overflow is reset on desktop */
    body {
        overflow: visible !important;
    }
}

/* Modern App-like Footer Navigation */
.app-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: none; /* Hidden by default, shown on mobile */
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px var(--shadow-color);
}

[data-theme="dark"] .app-footer-nav {
    background: rgba(10, 14, 39, 0.98);
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
    position: relative;
}

.footer-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-nav-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-nav-item.active {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.footer-nav-item.active i,
.footer-nav-item.active span {
    color: #01afef;
}

/* V2/Upcoming item special styling */
.footer-nav-item[data-type="upcoming"] {
    position: relative;
}

.footer-nav-item[data-type="upcoming"]::after {
    content: '🚀';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.8rem;
    animation: rocketPulse 2s infinite;
}

@keyframes rocketPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(15deg);
    }
}

.footer-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.footer-nav-item:hover i,
.footer-nav-item:hover span {
    color: var(--text-secondary);
}

/* Desktop Footer (Hidden on mobile) */
.desktop-footer {
    display: block;
}

/* Hide app footer on desktop */
.app-footer-nav {
    display: none;
}

/* Mobile header buttons animation */
.mobile-header-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    transition-delay: 0.9s;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    width: 100%;
}

[data-theme="dark"] .mobile-header-buttons {
    background: rgba(10, 14, 39, 0.3);
}

.mobile-menu.active .mobile-header-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .header-buttons {
        display: none;
    }
}

/* Desktop styles - ensure mobile elements are hidden */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .mobile-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        left: -100% !important;
        pointer-events: none !important;
    }
    
    .nav-links {
        display: flex;
    }
    
    .header-buttons {
        display: flex;
    }
}

/* Continue with mobile styles */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    nav {
        padding: 0.5rem 0;
    }

    /* Mobile hero adjustments */
    .hero {
        padding-top: 100px; /* Reduced padding for mobile */
        min-height: calc(100vh - 100px);
    }

    .hero h1 {
        font-size: 3rem;
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 2.5rem;
        padding: 0 20px;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    /* Hide desktop footer on mobile */
    .desktop-footer {
        display: none;
    }

    /* Show app footer on mobile */
    .app-footer-nav {
        display: flex;
    }

    /* Add bottom padding to account for fixed footer */
    .hero,
    .features,
    .tech,
    .demo,
    .video,
    .packages,
    .version2,
    .pricing {
        padding-bottom: 100px;
    }
}

/* Mobile footer adjustments */
.footer-content {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #01afef;
}

.footer-section ul {
    text-align: center;
    list-style: none;
    padding: 0;
}

.footer-section li {
    text-align: center;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #01afef;
}

    /* Mobile section titles */
.section-title {
    font-size: 2.5rem !important;
}

.section-subtitle {
    font-size: 1.5rem !important;
}

/* General mobile section title adjustments */
@media (max-width: 768px) {
    h1, h2, h3 {
        text-align: center;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .mobile-menu {
        padding: 0;
    }

    .mobile-menu-header {
        padding: 1rem 1.5rem;
    }

    .mobile-logo {
        font-size: 1.8rem;
    }

    .mobile-nav-links a {
        font-size: 1.3rem;
    }

    .mobile-header-buttons .btn-secondary,
    .mobile-header-buttons .cta-btn {
        min-width: 180px;
        padding: 10px 25px;
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        padding: 6px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }

    /* Small mobile section titles */
    .section-title {
        font-size: 2rem !important;
    }

    .section-subtitle {
        font-size: 1.3rem !important;
    }

    /* Small mobile footer */
    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.5rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .mobile-menu-header {
        padding: 1rem;
    }

    .mobile-logo {
        font-size: 1.6rem;
    }

    .mobile-nav-links a {
        font-size: 1.2rem;
    }

    .mobile-header-buttons .btn-secondary,
    .mobile-header-buttons .cta-btn {
        min-width: 160px;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Additional Mobile Styles */
@media (max-width: 768px) {
    .header-buttons .btn-secondary,
    .header-buttons .cta-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

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

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .demo-screens {
        flex-direction: column;
        align-items: center;
    }

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

    .video-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: 1fr;
        /* Make all rows equal height on mobile */
        /* gap: 15px; */
        padding: 5px;
    }

    .video-item {
        padding: 10px;
        height: 100%;
        /* Full height to match grid row */
    }

    .video-thumbnail {
        aspect-ratio: 16 / 9;
        /* Maintain YouTube thumbnail aspect ratio on mobile */
    }

    .video-thumbnail img {
        /* height: 100%; */
        /* Full height within aspect ratio container */
    }

    .video-item h4 {
        font-size: 0.9rem;
    }

    .video-item p {
        font-size: 0.7rem;
    }


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

    .demo-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .demo-links {
        justify-content: center;
    }
}


/* Video Section */
.video-item small {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    /* Start from top */
    flex-grow: 1;
    /* Take remaining space */
}

.video-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    /* Remove default margin */
    padding: 0;
    /* Remove default padding */
    padding-left: 1.2rem;
    /* Space for bullets */
    margin-top: 0;
    /* Start from top */
    flex-grow: 1;
    /* Take remaining space */
    align-items: flex-start;
    /* Align items to start */
}

.video-feature-list li {
    list-style: disc;
    margin-left: 0;
    /* Remove left margin as padding is on ul */
    text-align: left;
    line-height: 1.5;
    /* Better line spacing */
}












/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e27;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid #01afef;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        border-radius: 50%;
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
        border-radius: 50%;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        border-radius: 50%;
    }
}

/* Mobile responsive for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Package Options Section */
.packages {
    padding: 6rem 0;
    background: var(--section-bg);
}

.package-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.package-option {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

[data-theme="light"] .package-option {
    backdrop-filter: none;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.package-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #01afef, #f79521, #01afef);
    background-size: 200% 100%;
    animation: borderGlow 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-option:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

.package-option:hover::before {
    opacity: 1;
}

.package-option.popular {
    border-color: #01afef;
    /* transform: scale(1.05); */
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.package-option.popular::before {
    opacity: 1;
}

.package-badge {
    position: absolute;
    top: 30px;
    right: -45px;
    background: linear-gradient(45deg, #f79521, #01afef);
    color: white;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.package-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.package-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.package-subtitle {
    color: var(--text-tertiary);
    font-size: 1rem;
}

.package-features {
    margin-bottom: 2.5rem;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    color: #01afef;
    margin-right: 1rem;
    font-size: 1.1rem;
    min-width: 20px;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.package-price {
    text-align: center;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.package-price .price {
    font-size: 2rem;
    font-weight: bold;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.price-note {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.package-cta {
    display: block;
    width: 100%;
    background: #01afef;
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

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

.package-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.package-cta:hover::before {
    left: 100%;
}

/* Version 2 Section */
.version2 {
    padding: 6rem 0;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.version2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 212, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.version2-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.version2-header .version-badge {
    display: inline-block;
    background: linear-gradient(45deg, #f79521, #01afef);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.version2-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.version2-feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .version2-feature-card {
    backdrop-filter: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.version2-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #01afef, #f79521);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.version2-feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

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

.version2-feature-card .feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: #01afef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.version2-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.version2-feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 128, 0.2));
    color: #01afef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.3), rgba(255, 0, 128, 0.3));
    transform: translateY(-2px);
}

.version2-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.version2-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #01afef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.version2-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .package-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .package-options {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .package-option {
        padding: 2rem 1.5rem;
        min-height: 500px;
    }
    
    .package-option.popular {
        transform: none;
    }
    
    .package-header h3 {
        font-size: 1.5rem;
    }
    
    .package-icon {
        font-size: 3rem;
    }
    
    .package-price .price {
        font-size: 2rem;
    }
    
    .version2-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .version2-feature-card {
        padding: 2rem 1.5rem;
    }
    
    .version2-cta {
        padding: 2rem 1.5rem;
    }
    
    .version2-cta h3 {
        font-size: 1.5rem;
    }
    
    .feature-tags {
        justify-content: center;
    }
}

/* Mobile responsive for demo cards */
@media (max-width: 768px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .demo-card {
        margin: 0;
    }
    
    .demo-info {
        padding: 1.5rem;
    }
    
    .demo-info h3 {
        font-size: 1.3rem;
    }
    
    .demo-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .demo-btn {
        width: 100%;
        min-width: auto;
    }
}

/* General Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all images have proper fallbacks */
img[src=""],
img[src*="undefined"],
img[src*="null"],
img:not([src]) {
    display: none;
}

/* Add loading states for images */
.image-container {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container::before {
    content: '🔄';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    display: none;
}

.image-container.loading::before {
    display: block;
}

/* Image error handling */
.image-error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

.image-error::before {
    content: '⚠️';
    font-size: 2rem;
    margin-right: 0.5rem;
}

/* Ensure proper image sizing in containers */
.feature-card img,
.tech-item img,
.pricing-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Add hover effects for interactive images */
.interactive-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* Responsive image handling */
@media (max-width: 768px) {
    .video-thumbnail img {
        /* height: 140px; */
    }
    
    .feature-card img,
    .tech-item img,
    .pricing-card img {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .video-thumbnail img {
        /* height: 100px; */
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.faq-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    color: #01afef;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #01afef;
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

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

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .faq-item {
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.faq-item.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    color: #01afef;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: #01afef;
}

.faq-item.active .faq-toggle i {
    color: white;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    border-top-color: rgba(0, 212, 255, 0.2);
}

.faq-answer p {
    margin: 0;
    padding: 1rem 0;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .faq-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-answer p {
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .faq-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
}



/* Slider basic styles */
.demo-slider .slides-wrap { position: relative; overflow: hidden; border-radius: 12px; margin-top: 1rem; background: var(--card-bg, #fff); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.demo-slider .slides { display: flex; transition: transform 480ms cubic-bezier(.22,.9,.26,1); will-change: transform; }
.demo-slider .slide { min-width: 100%; box-sizing: border-box; position: relative; cursor: pointer; user-select: none; }
.demo-slider .slide img { width: 100%; height: 320px; object-fit: cover; display: block; border-bottom: 1px solid rgba(0,0,0,0.04); }
.demo-slider .slide-caption { position: absolute; left: 18px; bottom: 18px; background: rgba(0,0,0,0.55); color: #fff; padding: 10px 14px; border-radius: 8px; max-width: calc(100% - 40px); }
.demo-slider .slide-caption h3 { margin: 0 0 4px; font-size: 16px; }
.demo-slider .slide-caption p { margin: 0; font-size: 13px; opacity: 0.95; }

/* Controls */
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,0.15); transition: background .2s, transform .12s; }
.slider-btn:hover { transform: translateY(-50%) scale(1.04); background: rgba(0,0,0,0.75); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

/* Dots */
.slider-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display: flex; gap: 8px; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.6); border: none; cursor: pointer; transition: transform .18s, background .18s; }
.slider-dots .dot[aria-selected="true"] { background: var(--accent, #2563eb); transform: scale(1.25); box-shadow: 0 6px 18px rgba(37,99,235,0.14); }

/* Responsive */
@media (min-width: 900px) {
    .demo-slider .slide img { height: 420px; }
    .demo-slider .slide-caption h3 { font-size: 18px; }
}

/* Header spacing */
.demo-slider .slider-header { padding: 8px 12px 0; }