/* --- HERO SECTION --- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #111827 45%, #0a1225 100%);
    min-height: 540px; 
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.08), transparent 35%), rgba(0,0,0,0.25);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
    padding: 96px 0;
}

.hero-content {
    max-width: 580px;
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: 0.8px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    opacity: 0.9;
}

.hero-visual {
    position: relative;
}

.hero-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px;
    justify-items: center;
}

.hero-product-card {
    --card-offset: 0px;
    position: relative;
    width: 100%;
    max-width: 230px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    animation: float 7s ease-in-out infinite;
    transform: translateY(var(--card-offset));
}

.hero-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-product-1 { --card-offset: -10px; animation-delay: 0s; }
.hero-product-2 { --card-offset: 18px; animation-delay: 2s; }
.hero-product-3 { grid-column: span 2; max-width: 100%; height: 260px; animation-delay: 4s; --card-offset: 6px; }

@keyframes float {
    0%, 100% {
        transform: translateY(var(--card-offset));
    }
    50% {
        transform: translateY(calc(var(--card-offset) - 12px));
    }
}

/* --- FEATURES SECTION --- */
.features {
    padding: 60px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s;
    border: 1px solid #eee;
    border-radius: 8px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-top: -20px;
    margin-bottom: 40px;
}

/* --- ABOUT STATS --- */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.stat-item h3 {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-size: 14px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    font-style: italic;
    text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 1023px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 72px 0 64px;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-products {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 14px;
    }
    .hero-product-card {
        max-width: 100%;
        height: 190px;
    }
    .hero-product-3 {
        grid-column: span 2;
        height: 200px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .hero-products {
        grid-template-columns: 1fr;
    }
    .hero-product-card,
    .hero-product-3 {
        height: 200px;
    }
    .hero-title {
        font-size: 2rem;
    }
}
