/* Homepage Specific Styles */

/* Hero Section */
.hero {
    padding: 160px 40px 100px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-title {
    font-family: 'Segoe UI Black', 'Arial Black', sans-serif;
    font-size: 80px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0;
    /* Lethality-style: White center with pronounced gradient fade on edges */
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.2) 10%,
        rgba(255, 255, 255, 0.5) 18%,
        #FFFFFF 35%,
        #FFFFFF 65%,
        rgba(255, 255, 255, 0.5) 82%,
        rgba(255, 255, 255, 0.2) 90%,
        rgba(255, 255, 255, 0.05) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.05));
}

.hero-subtitle {
    font-size: 18px;
    color: var(--primary-light);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

/* Hero Image Showcase - Lethality Style */
.hero-image-showcase {
    width: 78%;
    max-width: 756px;
    margin: 40px auto 40px;
    padding: 0 20px;
    position: relative;
}

/* Suspended Particles Container */
.hero-particles {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Individual Particle */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Background orbs behind the image */
.hero-image-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(74, 158, 255, 0.55) 0%, transparent 65%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

.hero-image-showcase::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 30%;
    width: 720px;
    height: 360px;
    background: radial-gradient(ellipse, rgba(74, 158, 255, 0.45) 0%, transparent 65%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

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

.hero-image-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1;
    border: 5px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(74, 158, 255, 0.08);
    animation: hero-float 5s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -4px;
    margin-bottom: -4px;
}

/* Placeholder shown when image doesn't load */
.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: transparent;
}

.hero-image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: rgba(74, 158, 255, 0.4);
}

.hero-image-placeholder span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hide placeholder when image loads */
.hero-image-container .hero-image:not([src=""]):not([src*="undefined"]) + .hero-image-placeholder {
    display: none;
}

/* Show placeholder when image fails to load */
.hero-image[src=""], .hero-image:not([src]) {
    display: none;
}

.btn {
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(123, 97, 255, 0.2);
}

.icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Feedback Section */
.feedback {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-align: center;
}

/* Testimonials Carousel */
.testimonials-container {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    animation: scrollLeft 30s linear infinite;
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-340px * 5 - 20px * 5));
    }
}

.testimonial-slide {
    min-width: 340px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 30px;
    position: relative;
    transition: border-color 0.3s ease;
}

.testimonial-slide:hover {
    border-color: rgba(255, 255, 255, 0.13);
}

.testimonial-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.testimonials-nav {
    display: none;
}

/* Products Section */
.products {
    padding: 60px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Product grid and cards are handled by products.css */

/* Footer styles moved to common.css */

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 110px 20px 60px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-image-showcase {
        margin-top: 30px;
        padding: 0 0;
    }

    .hero-image-container {
        border-radius: 10px;
    }

    .hero-image-placeholder svg {
        width: 60px;
        height: 60px;
    }

    .hero-image-placeholder span {
        font-size: 12px;
    }

    .feedback {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .testimonial-slide {
        min-width: 280px;
        padding: 20px;
    }

    .products {
        padding: 40px 20px 60px;
    }

}
