/* ========================================
   INDEX.HOME - SPECIFIC STYLES
======================================== */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #94A3B8;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #34D399;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 100%;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: #94A3B8;
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

/* Video Play Button */
.video-play-btn {
    position: absolute;
    top: 100px;
    right: 40px;
    z-index: 10 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto !important;
}

.video-play-btn:hover {
    transform: scale(1.05);
}

.play-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(3, 194, 61, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 4px 30px rgba(79, 70, 229, 0.4);
    transition: var(--transition);
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-play-btn:hover .play-icon-wrapper {
    background: var(--primary);
    box-shadow: 0 8px 40px rgba(79, 70, 229, 0.6);
    transform: scale(1.1);
}

.video-play-btn span {
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 14px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0.8;
    font-weight: 500;
    white-space: nowrap;
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.6s ease;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: #94A3B8;
}

/* Featured Section */
.featured {
    padding: 80px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.featured-card {
    display: flex;
    flex-direction: column;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.featured-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(79, 70, 229, 0.2);
    color: var(--primary);
    margin-bottom: 8px;
    align-self: flex-start;
}

.featured-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.featured-content p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 16px;
    flex: 1;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card a {
    color: #94A3B8;
    font-size: 0.85rem;
    transition: var(--transition);
}

.contact-card a:hover {
    color: #fff;
}

/* Index Responsive */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        margin: 0 auto 32px;
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-video-overlay {
        background: rgba(15, 23, 42, 0.8);
    }

    .video-play-btn {
        top: 80px;
        right: 20px;
    }

    .play-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .video-play-btn span {
        font-size: 0.6rem;
        padding: 3px 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-card {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .video-play-btn {
        top: 70px;
        right: 16px;
    }

    .play-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .video-play-btn span {
        display: none;
    }
}

/* Index Light Mode */
@media (prefers-color-scheme: light) {
    .hero-video-overlay {
        background: rgba(248, 250, 252, 0.75);
        background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(248, 250, 252, 0.6) 50%, rgba(248, 250, 252, 0.85) 100%);
    }

    .projects,
    .youtube,
    .contact,
    .services {
        background: rgba(0, 0, 0, 0.02);
    }

    .service-card,
    .featured-card,
    .contact-card {
        background: rgba(0, 0, 0, 0.03);
        border-color: #e2e8f0;
    }

    .service-card p,
    .featured-content p {
        color: #64748b;
    }

    .hero-desc,
    .stat-label,
    .contact-card a {
        color: #64748b;
    }

    .contact-card a:hover {
        color: #0f172a;
    }

    .hero-badge {
        color: #64748b;
        background: rgba(0, 0, 0, 0.03);
        border-color: #e2e8f0;
    }

    .project-tag {
        background: rgba(79, 70, 229, 0.1);
    }

    .section-tag {
        background: rgba(14, 165, 233, 0.1);
    }
}