/* Home Page Specific Styles */

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding-top: 40px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hover-effect {
    display: inline-block;
    transition: var(--transition-smooth);
}
.hover-effect:hover {
    transform: translateY(-10px) scale(1.05);
    text-shadow: var(--glow-primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    object-fit: cover;
    animation: floating 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    border: var(--glass-border);
}

.floating-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--neon-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 1;
    animation: orbPulse 4s alternate infinite;
}

@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes orbPulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.2); opacity: 0.6; }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    margin-bottom: 15px;
}

.ai-badge {
    background: rgba(191, 0, 255, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--glow-secondary);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 10px rgba(191, 0, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(191, 0, 255, 0.6); }
    100% { box-shadow: 0 0 10px rgba(191, 0, 255, 0.3); }
}

/* Categories Section */
.categories {
    padding: 80px 20px;
}

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

.category-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neon-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.category-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-card:hover i {
    color: var(--text-primary);
    text-shadow: 0 0 20px white;
    transform: scale(1.2);
}

/* Products Section (Used across index and products page) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    padding: 50px;
}

/* Modern 3D Product Card */
.product-card {
    background: var(--surface-color);
    border: var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
    box-shadow: -10px 20px 30px rgba(0,0,0,0.6), 0 0 15px rgba(0, 240, 255, 0.4);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.1) translateZ(30px);
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(to top, var(--surface-color) 80%, transparent);
    z-index: 2;
}

.product-category {
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    font-size: 0.9rem;
    color: #ffb400;
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 15px;
}

.btn-card {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-card:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: var(--glow-primary);
}

.btn-icon {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-icon:hover {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--glow-secondary);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}
