/* ============================================
   HOME.CSS - Estilos da Página Inicial
   Portal de Reviews - Light Mode Clean
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-10) var(--container-padding);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Background Grid Animation */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 217, 165, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 165, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glow Effects */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 165, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 217, 165, 0.1);
    border: 1px solid rgba(0, 217, 165, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    color: var(--accent-primary);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero-title {
    font-size: var(--fs-6xl);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-5);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--fs-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.hero-stat svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

.hero-stat strong {
    color: var(--text-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--accent-primary);
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   FEATURED REVIEWS SECTION
   ============================================ */
.featured-section {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 165, 0.2), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-label {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: var(--bg-tertiary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
}

.product-card-content {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    margin-bottom: var(--space-2);
}

.product-card-title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.product-card:hover .product-card-title {
    color: var(--accent-primary);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.product-card-rating .score {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.product-card-description {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--accent-primary);
    transition: gap var(--transition-fast);
}

.product-card-link:hover {
    gap: var(--space-3);
}

.product-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.product-card:hover .product-card-link svg {
    transform: translateX(4px);
}

.product-card-date {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-primary);
    padding: var(--space-10) 0 var(--space-6);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
}

.footer-logo .highlight {
    color: var(--accent-primary);
}

.footer-disclaimer {
    max-width: 700px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--fs-5xl);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-16) var(--container-padding) var(--space-10);
    }
    
    .hero-title {
        font-size: var(--fs-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--fs-base);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-3);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--fs-3xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* ============================================
   LOADING STATE
   ============================================ */
.products-grid.loading .product-card {
    background: var(--bg-card);
}

.products-grid.loading .product-card-image,
.products-grid.loading .product-card-title,
.products-grid.loading .product-card-description {
    background: linear-gradient(90deg, #F0F2F5 25%, #E2E8F0 50%, #F0F2F5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

.products-grid.loading .product-card-title {
    height: 24px;
    width: 70%;
}

.products-grid.loading .product-card-description {
    height: 40px;
    width: 100%;
}

