:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --accent: #f43f5e;
    --dark: #020617;
    --dark-surface: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Animated Background */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    filter: blur(120px);
    animation: drift 25s infinite alternate;
}

.glow-2 {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    filter: blur(120px);
    animation: drift 30s infinite alternate-reverse;
}

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(150px, 100px) scale(1.1); }
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(2, 6, 23, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--light);
}

.logo span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.btn-login {
    background: var(--primary);
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: 0.3s !important;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    z-index: 1001;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    padding-top: 6rem;
}

.hero-badge {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInDown 1s ease-out;
}

.hero-badge-fit {
    width: fit-content;
    margin-bottom: 1rem;
}


.hero-badge span { color: var(--primary); font-weight: 700; }

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    margin-bottom: 5rem;
}

.btn-hero {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-starter-hero {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
}


/* Product Preview */
.product-preview {
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
    perspective: 2000px;
    cursor: pointer;
    animation: fadeInUp 1.2s ease-out 0.6s backwards;
}

.preview-frame {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 8px;
    position: relative;
    transform: rotateX(10deg);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.6);
    overflow: hidden;
}

.product-preview:hover .preview-frame {
    transform: rotateX(0deg) translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 60px 120px rgba(99, 102, 241, 0.2);
}

.preview-dots {
    display: flex;
    gap: 6px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
}

.preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.preview-frame img {
    width: 100%;
    display: block;
    border-radius: 0 0 12px 12px;
    transition: 0.6s;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: 0.4s;
    z-index: 10;
}

.product-preview:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    font-size: 2.5rem;
    color: white;
    background: var(--primary);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.preview-overlay span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 10%;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-detailed {
    padding: 8rem 10%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: 0.4s;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card * { position: relative; z-index: 1; }

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
}

.feature-list-margin {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--light);
    opacity: 0.8;
}

.feature-list-lg li {
    font-size: 1.1rem;
}


.feature-list li i {
    color: var(--primary);
    font-size: 1rem;
}

/* Showcase Sections */
.showcase {
    padding: 6rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.showcase.reverse { direction: rtl; }
.showcase.reverse .showcase-content { direction: ltr; }

.showcase-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, white, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.showcase-visual {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-visual:hover {
    transform: scale(1.02) translateY(-5px);
    border-color: var(--primary);
}

.showcase-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
}

.showcase-visual:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: 0.4s;
}

.showcase-visual:hover .showcase-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: 0.4s 0.1s;
}

.showcase-visual:hover .overlay-content {
    transform: translateY(0);
}

.overlay-expand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}


/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

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

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.3);
    border: 1px solid var(--glass-border);
    transform: scale(0.9);
    transition: 0.3s;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: var(--glass);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

/* Stats Section */
.stats {
    padding: 6rem 10%;
    background: var(--dark-surface);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item h4 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Security Section */
.security-grid {
    padding: 8rem 10%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05), transparent);
    text-align: center;
}

.security-badges {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.security-badge .icon-box {
    width: 80px;
    height: 80px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 2rem;
}

.security-badge p {
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* Pricing Section */
.pricing {
    padding: 8rem 10%;
    overflow: hidden; /* Prevent horizontal scroll from cards */
}

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

.pricing-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    padding: 4rem 3rem;
    border-radius: 40px;
    transition: 0.4s;
    position: relative;
}
.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--dark-surface) 100%);
    transform: scale(1.05);
    z-index: 10;
}


.best-value-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
}


.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card p {
    color: var(--text-muted);
}


.price {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-value-pt {
    padding-top: 1rem;
}


.original-price {
    font-size: 1.1rem;
    color: #f43f5e;
    text-decoration: line-through;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: inline-block;
    background: rgba(244, 63, 94, 0.1);
    padding: 0.2rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
}

.pricing-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features li i {
    color: #10b981;
    font-size: 1.2rem;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1.2rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-starter { background: var(--glass); color: white; border: 1px solid var(--glass-border); }
.btn-starter:hover { background: var(--glass-border); }

.btn-popular { background: var(--primary); color: white; }
.btn-popular:hover { transform: translateY(-3px); box-shadow: 0 10px 25px var(--primary-glow); }

/* Contact Section */
.contact-container {
    padding: 8rem 10%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: center;
}

.contact-form-box {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.02);
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-info-grid {
    display: flex;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.contact-value {
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    border: none;
    padding: 1.2rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 700;
}



/* Footer */
footer {
    padding: 6rem 10% 3rem;
    border-top: 1px solid var(--glass-border);
    background: var(--dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h4 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--text-muted); max-width: 300px; }

.footer-links h5 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul li a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--primary); }

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.feature-card, .pricing-card, .stat-item, .showcase-visual {
    will-change: transform, opacity;
}

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

.reveal-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .showcase { grid-template-columns: 1fr !important; text-align: center; padding: 4rem 5%; }
    .showcase.reverse { flex-direction: column; }
    .showcase-content { margin: 0 auto 3rem auto; align-items: center; text-align: center; }
    .feature-list { align-items: center; }
    .contact-container { grid-template-columns: 1fr; gap: 4rem; padding: 4rem 5%; }
}

@media (max-width: 768px) {
    nav { padding: 1rem 5%; }
    .menu-toggle { display: block; }
    .pricing { padding: 4rem 5%; }
    .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
        box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.4rem;
        width: 100%;
        text-align: center;
    }

    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1rem; }
    .cta-group { flex-direction: column; width: 100%; }
    .cta-group .btn-login, .cta-group .btn-starter { width: 100%; text-align: center; }

    .stats { grid-template-columns: 1fr; gap: 2rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    
    .section-header h2 { font-size: 2.5rem; }
}

/* Custom Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.toast.active {
    transform: translateX(0);
}

.toast-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    min-width: 320px;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.toast-icon.error {
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
}

.toast-text h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.toast-text p {
    margin: 0.2rem 0 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Tutorial Section */
.tutorials {
    padding: 8rem 10%;
    background: radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.05), transparent);
}

.tutorial-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
}

.video-main {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

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

.video-info {
    margin-top: 1.5rem;
    flex-grow: 1;
}

.video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, white, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
    /* padding-right: 0.8rem; */
}

.video-list-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Custom scrollbar for video list */
.video-list::-webkit-scrollbar {
    width: 6px;
}

.video-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.video-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.video-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.video-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
}

.video-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.video-item.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.15);
}

.video-thumbnail {
    width: 120px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: var(--dark);
    flex-shrink: 0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: 0.4s;
}

.video-item:hover .video-thumbnail img {
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: 0.3s;
}

.video-item:hover .thumbnail-overlay,
.video-item.active .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.video-meta {
    overflow: hidden;
}

.video-meta h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.video-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

@media (max-width: 1100px) {
    .tutorial-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .video-list {
        max-height: 500px;
    }

    .video-main {
        height: auto;
    }
}

@media (max-width: 768px) {
    .tutorials {
        padding: 4rem 5% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .tutorial-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    .video-main, .video-list-container {
        width: 94% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    .video-main {
        padding: 0.75rem !important;
        border-radius: 16px !important;
        background: var(--dark-surface);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    }
    
    .video-wrapper {
        border-radius: 12px !important;
        width: 100%;
        aspect-ratio: 16 / 9 !important;
        padding-bottom: 0 !important;
        height: auto !important;
    }
    
    .video-wrapper iframe {
        position: relative !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .video-info {
        padding: 0.5rem 0 0 0 !important;
    }

    .video-info h3 {
        font-size: 1.1rem !important;
        margin-top: 0.5rem !important;
    }
    
    .video-info p {
        font-size: 0.85rem !important;
    }

    .video-item {
        grid-template-columns: 100px 1fr !important;
        padding: 0.8rem !important;
        gap: 1rem !important;
        border-radius: 16px !important;
    }
    
    .video-thumbnail {
        width: 100px !important;
        height: 56px !important;
    }
    
    .video-meta h4 {
        font-size: 0.9rem !important;
    }
}



