/* Homepage Styles - aligned with root.css (no neon, except color variation dots) */

/* AI Greeting Section Styles */


.hero-section {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
}

.ai-greeting-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-200);
    transition: all 0.3s ease;
}

.ai-greeting-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ai-avatar {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    transition: all 0.3s ease;
}

.ai-avatar:hover {
    transform: scale(1.05);
}

.typing-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-500);
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-message-text {
    font-size: 24px;
    line-height: 1.4;
    color: #374151 !important;
    animation: fadeInUp 0.5s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 10px 0;
    padding: 15px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-greeting-actions {
    animation: fadeInUp 0.5s ease 0.3s both;
}

.ai-greeting-actions .btn {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ai-greeting-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ai-greeting-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.ai-greeting-actions .btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-600), var(--secondary-700));
}

.ai-greeting-actions .btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
}




.product-showcase {
    position: relative;
    width: 400px;
    height: 500px;
    margin-bottom: 2rem;
}

.showcase-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.2);
}

.showcase-image.active {
    opacity: 1;
}

.color-selector {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.color-option:hover,
.color-option.active {
    transform: scale(1.1);
    border-color: #39ff14;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
}

/* Featured Products Section */
.featured-products-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #39ff14;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.products-tabs {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tabs-navigation {
    margin-bottom: 3rem;
}

.tab-list {
    display: flex;
    justify-content: center;
    list-style: none;
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
}

.tab-item {
    margin: 0 1rem;
}

.tab-link {
    display: block;
    padding: 1rem 2rem;
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-item.active .tab-link,
.tab-link:hover {
    color: #39ff14;
    border-bottom-color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }

.product-item { background: #fff; border: 1px solid var(--color-neutral-200); border-radius: var(--radius-2xl); overflow: hidden; transition: var(--transition-slow); }

.product-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-2xl); border-color: var(--color-neutral-300); }

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image { width: 100%; height: 280px; object-fit: cover; transition: transform 0.4s ease; }

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

.product-overlay { position:absolute; inset:0; background: rgba(0,0,0,0.6); display:flex; align-items:center; justify-content:center; opacity:0; transition: opacity .3s ease; }

.product-item:hover .product-overlay {
    opacity: 1;
}

.overlay-actions {
    display: flex;
    gap: 1rem;
}

.action-btn { width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--gradient-primary); color:#fff; cursor:pointer; transition: all .3s ease; display:flex; align-items:center; justify-content:center; font-size:1.1rem; box-shadow: var(--shadow-md); }

.action-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); }

.color-selection-mini {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.product-title {
    margin-bottom: 0.8rem;
}

.product-title a { color: var(--color-neutral-900); text-decoration: none; font-size: 1.05rem; font-weight: 700; transition: color .2s ease; }

.product-title a:hover { color: var(--color-primary-600); }

.product-price {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.price-current,
.price-sale { font-size:1.2rem; font-weight:800; color: var(--color-neutral-900); }

.price-regular { font-size: .95rem; color: var(--color-neutral-500); text-decoration: line-through; }

/* Add to Cart Button Styling */
.quick-add-form.compact {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.quick-add-btn.compact {
    min-width: 100px;
    height: 36px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-add-btn.compact:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quick-add-btn.compact:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.quick-add-btn.compact:disabled {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quick-add-btn.compact i {
    font-size: 14px;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(57, 255, 20, 0.03);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.15);
    border-color: rgba(57, 255, 20, 0.4);
}

.feature-icon {
    font-size: 3rem;
    color: #39ff14;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.feature-description {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #39ff14;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.newsletter-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(57, 255, 20, 0.3);
    background: rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    font-size: 1rem;
    border-right: none;
    border-radius: 50px 0 0 50px;
}

.newsletter-input:focus {
    outline: none;
    border-color: #39ff14;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.newsletter-input::placeholder {
    color: #888;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #39ff14, #00ffff);
    color: #000000;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 50px 50px 0;
}

.newsletter-btn:hover {
    background: linear-gradient(45deg, #00ffff, #39ff14);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: #39ff14;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.about-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #39ff14, #00ffff);
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.about-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
    background: linear-gradient(45deg, #00ffff, #39ff14);
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.2);
}

.ai-greeting {
    text-align: center;
    margin: 20px auto;
    cursor: pointer;
    transition: transform 0.2s ease;
    max-width: 600px;
    font-size: 2rem;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    pointer-events: none;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {

    
    .product-showcase {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 768px) {

    
    .product-showcase {
        width: 250px;
        height: 320px;
    }
    
    .color-option {
        width: 45px;
        height: 45px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        padding-right: 0;
        text-align: center;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .form-group {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .newsletter-input,
    .newsletter-btn {
        border-radius: 10px;
    }
    
    .newsletter-input {
        border-right: 2px solid rgba(57, 255, 20, 0.3);
        margin-bottom: 1rem;
    }
    
    .tab-list {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-item {
        margin: 0.5rem 0;
    }
}

.product-description {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-price {
    color: #00ffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    font-size: 3rem;
    color: #39ff14;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.6);
}

.feature-item h3 {
    color: #39ff14;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.feature-item p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Homepage-specific styles only - common utilities are in root.css */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    } 
    
    .features-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem 0.5rem;
    }
}
