/* Retail Smart Management System Page Specific Styles */

/* Hero Section */
.retail-hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #dbeafe 100%);
    margin-top: 80px;
    position: relative;
}

.hero-top {
    text-align: center;
    margin-bottom: 40px;
}

.hero-3d-illustration {
    width: 350px;
    height: 220px;
    margin: 0 auto;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.4);
    overflow: hidden;
}

.hero-3d-illustration::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    transform: rotate(45deg) perspective(100px) rotateX(20deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-3d-illustration::after {
    content: '';
    position: absolute;
    top: 45%;
    right: 15%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transform: rotate(-45deg) perspective(100px) rotateX(20deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-3d-illustration {
    background: 
        linear-gradient(135deg, #3b82f6 0%, #1e40af 100%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.hero-3d-illustration .cube-1 {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transform: rotate(45deg) perspective(100px) rotateX(25deg);
}

.hero-3d-illustration .cube-2 {
    position: absolute;
    top: 55%;
    right: 25%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    transform: rotate(-45deg) perspective(100px) rotateX(25deg);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.retail-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features span {
    font-size: 16px;
    color: var(--text-gray);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.play-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.btn-secondary .play-icon {
    background: var(--primary-green);
}

.btn-secondary:hover .play-icon {
    background: white;
    color: var(--primary-green);
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.section-icon {
    font-size: 32px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Overseas Industries Section */
.overseas-industries-retail {
    padding: 80px 0;
    background: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    border: 2px solid #f3f4f6;
    transition: all 0.3s;
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 15px;
}

.industry-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

/* Core Features Section */
.core-features-retail {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Features Carousel Styles */
.features-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.features-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.features-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.feature-card.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.feature-card.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicators .indicator:hover {
    background: rgba(16, 185, 129, 0.5);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Pyramid Models Section */
.pyramid-models {
    padding: 80px 0;
    background: white;
}

.pyramid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.pyramid-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.pyramid-button {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.pyramid-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.pyramid-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.pyramid-illustration {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.illustration-warehouse {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.illustration-warehouse::before {
    content: '📦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.illustration-store {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.illustration-store::before {
    content: '🏪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

/* Product Modes Section */
.product-modes {
    padding: 80px 0;
    background: var(--bg-light);
}

.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mode-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.mode-button {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.mode-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.mode-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.mode-illustration {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.illustration-products {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.illustration-products::before {
    content: '🏬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.2;
}

/* Rich Features Section */
.rich-features {
    padding: 80px 0;
    background: white;
}

.rich-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rich-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.rich-left p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

.rich-illustration {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.rich-illustration::before {
    content: '🏪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    opacity: 0.2;
}

.rich-illustration::after {
    content: '📱';
    position: absolute;
    top: 20%;
    right: 15%;
    font-size: 80px;
    opacity: 0.15;
}

/* Customization Services Section */
.customization-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 20px;
    font-weight: bold;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Online Mall Section */
.online-mall {
    padding: 80px 0;
    background: white;
}

.mall-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.mall-button {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.mall-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.mall-header p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

.mall-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.mall-feature-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.mall-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

.mall-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 15px;
}

.mall-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Success Cases Section */
.success-cases-retail {
    padding: 80px 0;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.case-image-1 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.case-image-1::before {
    content: '👔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-image-2 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.case-image-2::before {
    content: '💻';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-image-3 {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.case-image-3::before {
    content: '🥬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.case-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .retail-hero h1 {
        font-size: 36px;
    }

    .hero-features {
        gap: 15px;
    }

    .hero-features span {
        font-size: 14px;
    }

    .pyramid-grid,
    .modes-grid,
    .rich-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .industries-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-carousel-container {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mall-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .retail-hero {
        padding: 60px 0 80px;
        margin-top: 70px;
    }

    .retail-hero h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .industries-grid,
    .features-grid,
    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .features-carousel-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .mall-features-grid {
        grid-template-columns: 1fr;
    }

    .overseas-industries-retail,
    .core-features-retail,
    .pyramid-models,
    .product-modes,
    .rich-features,
    .customization-services,
    .online-mall,
    .success-cases-retail {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-3d-illustration {
        width: 250px;
        height: 150px;
    }

    .rich-illustration {
        height: 300px;
    }

    .features-carousel-container {
        padding: 0 30px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
