/* ==========================================================================
   Retail & E-Commerce Page Styles
   Author: Minds4AI Team
   Last Modified: 2024
   Purpose: Styling for AI for Retail & E-Commerce industry page
   ========================================================================== */

/* Color Variables */
:root {
    --retail-primary: #e74c3c;        /* Vibrant red */
    --retail-secondary: #8f4ff0;      /* Purple theme */
    --retail-accent: #f39c12;         /* Orange */
    --retail-success: #27ae60;        /* Green */
    --retail-dark: #2c3e50;           /* Dark blue-gray */
    --retail-light: #ecf0f1;          /* Light gray */
    --retail-white: #ffffff;
    --retail-gradient: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    --retail-shadow: 0 10px 30px rgba(231, 76, 60, 0.1);
    --retail-shadow-hover: 0 15px 40px rgba(231, 76, 60, 0.2);
}

/* Hero Section */
.retail-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
    #000000 0%, 
    #100d28 70%, 
    #3d0e82 99%, 
    #3d0e82 100%);
    overflow: hidden;
    color: var(--retail-white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.retail-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.pattern-element {
    position: absolute;
    font-size: 3rem;
    color: var(--retail-white);
    animation: float 6s ease-in-out infinite;
}

.cart-icon {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.tag-icon {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.mobile-icon {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.store-icon {
    bottom: 20%;
    right: 25%;
    animation-delay: 3s;
}

.credit-card-icon {
    top: 60%;
    left: 50%;
    animation-delay: 4s;
}

.digital-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.ui-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: pulse 3s ease-in-out infinite;
}

.shopping-widget {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.chat-widget {
    bottom: 40%;
    right: 20%;
    animation-delay: 1.5s;
}

.analytics-widget {
    bottom: 25%;
    left: 15%;
    animation-delay: 2.5s;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Challenges Section */
.retail-challenges-section {
    padding: 100px 0;
    background: var(--retail-light);
}

.challenges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--retail-white);
    border-radius: 15px;
    box-shadow: var(--retail-shadow);
    transition: all 0.3s ease;
}

.challenge-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--retail-shadow-hover);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: var(--retail-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--retail-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.challenge-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--retail-dark);
}

.challenge-text p {
    color: #666;
    line-height: 1.5;
}

.challenges-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.shop-owner {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-avatar {
    width: 80px;
    height: 80px;
    background: var(--retail-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--retail-white);
    font-size: 2rem;
    z-index: 2;
}

.managing-items {
    position: absolute;
    width: 100%;
    height: 100%;
}

.managing-item {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--retail-white);
    border: 3px solid var(--retail-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--retail-secondary);
    font-size: 1rem;
    animation: orbit 8s linear infinite;
}

.managing-item.phone {
    animation-delay: 0s;
}

.managing-item.products {
    animation-delay: 2s;
}

.managing-item.social {
    animation-delay: 4s;
}

.managing-item.orders {
    animation-delay: 6s;
}

.stress-indicators {
    position: absolute;
    top: -20px;
    right: -20px;
}

.stress-line {
    width: 30px;
    height: 3px;
    background: var(--retail-primary);
    margin: 3px 0;
    border-radius: 2px;
    animation: stress 1s ease-in-out infinite alternate;
}

.stress-line:nth-child(2) {
    animation-delay: 0.2s;
}

.stress-line:nth-child(3) {
    animation-delay: 0.4s;
}

/* Retail Kit Section */
.retail-kit-section {
    padding: 100px 0;
    background: var(--retail-white);
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.kit-card {
    background: var(--retail-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--retail-shadow);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.kit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.5s ease;
}

.kit-card:hover::before {
    left: 100%;
}

.kit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--retail-shadow-hover);
}

.kit-icon {
    width: 80px;
    height: 80px;
    background: var(--retail-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--retail-white);
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.kit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--retail-dark);
}

.kit-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.kit-features {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--retail-success);
    font-size: 0.8rem;
}

.kit-cta {
    text-align: center;
    margin-top: 60px;
}

/* Omnichannel Section */
.omnichannel-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.omnichannel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.channel-card {
    background: var(--retail-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--retail-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--retail-shadow-hover);
}

.channel-icon {
    width: 70px;
    height: 70px;
    background: var(--retail-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--retail-white);
    font-size: 1.8rem;
}

.channel-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--retail-dark);
}

.channel-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.channel-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.channel-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.channel-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--retail-success);
    font-weight: bold;
}

/* Success Stories Section */
.success-stories-section {
    padding: 100px 0;
    background: var(--retail-white);
}

.stories-carousel {
    margin-top: 60px;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--retail-light);
    min-height: 300px;
}

.story-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.story-content {
    text-align: center;
    max-width: 600px;
}

.story-quote {
    margin-bottom: 30px;
    position: relative;
}

.story-quote i {
    font-size: 3rem;
    color: var(--retail-primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.story-quote p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--retail-dark);
    font-style: italic;
}

.story-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--retail-dark);
    margin-bottom: 5px;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

.story-stats .stat {
    background: var(--retail-gradient);
    color: var(--retail-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--retail-gradient);
    color: var(--retail-white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--retail-shadow);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--retail-primary);
    transform: scale(1.2);
}

.stories-cta {
    text-align: center;
    margin-top: 50px;
}

/* Integrations Section */
.integrations-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #100d28 0%, #3d0e82 100%);
    color: var(--retail-white);
}

.integrations-section .section-header h2,
.integrations-section .section-header p {
    color: var(--retail-white);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.integration-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.integration-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.integration-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--retail-white);
}

.integration-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Bottom CTA Section */
.bottom-cta-section {
    padding: 100px 0;
    background: var(--retail-gradient);
    color: var(--retail-white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes stress {
    0% {
        opacity: 0.5;
        transform: scaleX(1);
    }
    100% {
        opacity: 1;
        transform: scaleX(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .kit-grid {
        grid-template-columns: 1fr;
    }
    
    .omnichannel-grid {
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .story-slide {
        padding: 30px 20px;
    }
    
    .story-author {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ui-element {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    
    .pattern-element {
        font-size: 2rem;
    }
    
    .managing-item {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(60px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(60px) rotate(-360deg);
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .kit-card,
    .channel-card {
        padding: 30px 20px;
    }
    
    .story-slide {
        padding: 20px 15px;
    }
    
    .story-quote p {
        font-size: 1rem;
    }
}