/**
 * Hero & Categories CSS
 */

/* Hero Banner */
.xtech-hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.xtech-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.xtech-hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.4) 100%);
}

.xtech-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.xtech-hero .container {
    position: relative;
    z-index: 1;
}

.xtech-hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.xtech-hero__content {
    flex: 1 1 500px;
}

.xtech-hero__subtitle {
    display: inline-block;
    color: var(--xtech-primary);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.xtech-hero__title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.xtech-hero__title-accent {
    background: var(--xtech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.xtech-hero__description {
    font-size: 1.25rem;
    color: var(--xtech-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.xtech-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.xtech-hero__image {
    flex: 1 1 400px;
    position: relative;
    display: flex;
    justify-content: center;
}

.xtech-hero__image img {
    position: relative;
    z-index: 2;
    max-height: 600px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

.xtech-hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--xtech-primary);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Trust Bar */
.xtech-trust {
    background: var(--xtech-bg-elevated);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 0;
}

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

.xtech-trust__item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.xtech-trust__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.xtech-trust__text h4 {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.xtech-trust__text p {
    font-size: 0.875rem;
    color: var(--xtech-text-muted);
    margin: 0;
}

/* Categories Grid */
.xtech-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.xtech-category-card {
    position: relative;
    border-radius: var(--xtech-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.xtech-category-card__image {
    width: 100%;
    height: 100%;
}

.xtech-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.xtech-category-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 100%);
    z-index: 1;
}

.xtech-category-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    transition: transform 0.3s ease;
}

.xtech-category-card__name {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.xtech-category-card__count {
    color: var(--xtech-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.xtech-category-card:hover .xtech-category-card__image img {
    transform: scale(1.1);
}

.xtech-category-card:hover .xtech-category-card__content {
    transform: translateY(-5px);
}
