/* ================================ */
/* HebBlog - Product Page Styles    */
/* ================================ */

/* Hero CTA Button */
.hebblog-btn-lg {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast);
    border: none;
}

.hebblog-btn-lg svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hebblog-btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    filter: brightness(1.1);
}

/* Tech Stack Grid */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.tech-stack-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-smooth);
}

.tech-stack-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tech-stack-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-tertiary);
}

.tech-stack-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-stack-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tech-stack-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-stack-role {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Screenshot Carousel (same as folderLock) */
.screenshot-carousel {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    user-select: none;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
    background: var(--card-bg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
    background: var(--primary-light);
    transform: scale(1.1);
}

.carousel-counter {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    .carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 768px) {
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tech-stack-card {
        padding: 24px 20px;
    }
    .screenshot-carousel {
        margin: 0 -10px;
    }
    .carousel-slide img {
        max-height: 360px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    .hebblog-btn-lg {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        max-height: 260px;
    }
    .carousel-dots {
        gap: 6px;
    }
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}
