/* ===== VIBEGENIUS LAB STYLE - PREMIUM HUB ===== */
/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d9488;
    --primary-light: #2dd4bf;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --accent-pink: #ec4899;
    --bg-dark: #0a0f1a;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;
    --white: #FFFFFF;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gradient-primary: linear-gradient(135deg, #0d9488, #10b981, #2dd4bf);
    --gradient-accent: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-glow: linear-gradient(135deg, rgba(13, 148, 136, 0.3), rgba(16, 185, 129, 0.3));
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

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

.nav-cta {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700 !important;
    text-decoration: none;
}

.nav-cta::after {
    display: none !important;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(13, 148, 136, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid rgba(45, 212, 191, 0.4);
    padding: 12px 24px;
    border-radius: 100px;
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--primary-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4); }
    50% { box-shadow: 0 0 20px 8px rgba(45, 212, 191, 0.15); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s backwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.4);
    position: relative;
    overflow: hidden;
}

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

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

.hero-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(13, 148, 136, 0.5);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 60px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray-400);
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);
    z-index: 3;
}

/* ===== PLUGIN SECTION ===== */
.plugin-section {
    padding: 100px 0 120px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 48px;
    text-align: center;
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    padding: 0;
}

/* ===== PLUGIN CARD - VIBEGENIUS STYLE ===== */
.plugin-card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(45, 212, 191, 0.15);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.plugin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.plugin-card:hover {
    transform: translateY(-8px);
    z-index: 10;
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(13, 148, 136, 0.15);
}

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

.plugin-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(17, 24, 39, 1) 100%);
}

.plugin-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    z-index: 1;
}

.plugin-card:hover .plugin-thumbnail img {
    transform: scale(1.05);
}

/* Hover Video Preview */
.hover-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.plugin-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 15, 26, 0.95) 0%, rgba(10, 15, 26, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.play-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(13, 148, 136, 0.5));
}

.play-btn svg circle {
    fill: rgba(13, 148, 136, 0.95);
}

.play-btn:hover {
    transform: scale(1.15);
}

.plugin-stats {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 15px;
}

.stat-views {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 15, 26, 0.9);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 212, 191, 0.2);
    color: var(--primary-light);
}

.plugin-info {
    padding: 24px;
}

.plugin-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
    transition: color 0.3s;
}

.plugin-card:hover .plugin-title {
    color: var(--primary-light);
}

.plugin-category {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
    display: inline-block;
    background: rgba(45, 212, 191, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 40px 20px;
    overflow-y: auto;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(45, 212, 191, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 24px;
    max-width: 90vw;
    width: auto;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

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

.video-container {
    position: relative;
    width: 100%;
    max-height: 80vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
    object-fit: contain;
}

.modal-details {
    padding: 40px;
}

.details-header {
    margin-bottom: 30px;
}

.details-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.details-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.category-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.version,
.views-badge {
    color: var(--gray-400);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.views-badge svg {
    color: var(--primary-light);
}

.details-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.description-section h3,
.features-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.description-section p {
    color: var(--gray-300);
    line-height: 1.8;
    font-size: 15px;
}

.features-section ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.features-section li {
    color: var(--gray-300);
    padding-left: 32px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.features-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.download-btn,
.demo-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.download-btn:hover::before,
.demo-btn:hover::before {
    left: 100%;
}

.download-btn:hover,
.demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(17, 24, 39, 0.9);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(45, 212, 191, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--gray-400);
    font-size: 15px;
}

.footer-contact {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.footer-contact h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.contact-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(13, 148, 136, 0.1);
    padding: 16px 28px;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.contact-box svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

.email-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-light);
}

.contact-description {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
    background: rgba(17, 24, 39, 0.5);
    border: 1px dashed rgba(45, 212, 191, 0.3);
    border-radius: 24px;
}

.empty-state p {
    font-size: 18px;
    color: var(--gray-400);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .plugin-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }

    .hero-stats {
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .plugin-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .modal {
        padding: 20px 10px;
    }

    .modal-details {
        padding: 30px 20px;
    }

    .details-header h2 {
        font-size: 1.5rem;
    }

    .video-container {
        max-height: 60vh;
    }

    .video-container video {
        max-height: 60vh;
    }

    .action-buttons {
        flex-direction: column;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-contact {
        padding: 30px 20px;
    }

    .contact-box {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    .footer-brand .logo {
        font-size: 1.75rem;
    }

    .hover-preview {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
}
