/* ===== E-COMMERCE PAGE STYLES ===== */
.ecommerce-hero {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    background: var(--gradient-dark);
    color: var(--lighter);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    background: none;
    box-shadow: none;
    padding: 0;
}
.hero-scroll-indicator .mouse-shape {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-scroll-indicator svg {
    display: block;
    margin: 0 auto;
    animation: mouse-bounce 2s infinite;
}
@keyframes mouse-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
.hero-scroll-indicator .mouse-wheel {
    animation: wheel-move 1.2s infinite;
}
@keyframes wheel-move {
    0% { cy: 14; opacity: 1; }
    60% { cy: 30; opacity: 1; }
    100% { cy: 30; opacity: 0; }
}

.ecommerce-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3;
}

.ecommerce-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ecommerce-hero-title .gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.hero-image {
    position: relative;
    width: 50%;
}

.floating-cards {
    position: relative;
    height: 500px;
}

.floating-cards .card {
    position: absolute;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 6px 32px 0 rgba(30, 80, 180, 0.20), 0 1.5px 8px 0 rgba(0,0,0,0.10);
    background: #fff;
    transition: transform 0.4s cubic-bezier(.25,1,.5,1), box-shadow 0.4s cubic-bezier(.25,1,.5,1);
    will-change: transform;
}
.floating-cards .card:hover {
    transform: translateY(-12px) scale(1.04) rotateZ(-2deg);
    box-shadow: 0 12px 48px 0 rgba(30, 80, 220, 0.30), 0 2px 12px 0 rgba(0,0,0,0.13);
    z-index: 10;
}
.card-1 {
    width: 300px;
    height: 400px;
    top: 0;
    left: 0;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.card-2 {
    width: 250px;
    height: 350px;
    top: 50px;
    left: 250px;
    z-index: 2;
    animation: float 8s ease-in-out 1s infinite;
}
.card-3 {
    width: 280px;
    height: 380px;
    top: 100px;
    left: 100px;
    z-index: 1;
    animation: float 7s ease-in-out 0.5s infinite;
}
.floating-cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-24px); }
    100% { transform: translateY(0px); }
}


/* Stats Section */
.ecommerce-stats {
    padding: 80px 0;
    background: var(--section-bg);
}

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

.stat-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

.stat-icon {
    margin-top: 20px;
    font-size: 2rem;
    color: var(--secondary);
}

/* Features Section */
.ecommerce-features {
    padding: 100px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

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

.feature-icon {
    margin-bottom: 20px;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Platforms Section */
.ecommerce-platforms {
    padding: 100px 0;
    background: var(--section-bg);
}

.platforms-slider {
    padding: 20px 0 50px;
}

.platform-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
}

.platform-logo {
    height: 60px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.platform-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.platform-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.platform-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.platform-features {
    list-style: none;
    margin-top: auto;
}

.platform-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.platform-features i {
    color: var(--secondary);
    margin-right: 10px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--text-light);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

/* Process Section */
.ecommerce-process {
    padding: 100px 0;
    background: var(--bg-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.process-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--card-bg);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.process-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.process-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials Section */
.ecommerce-testimonials {
    padding: 100px 0;
    background: var(--section-bg);
}

.testimonials-slider {
    padding: 20px 0 50px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: auto;
    border: 1px solid var(--glass-border);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.ecommerce-cta {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--lighter);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-content {
    max-width: 600px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .ecommerce-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .ecommerce-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 60px;
    }

    .hero-image {
        width: 100%;
    }

    .floating-cards {
        height: 400px;
        display: flex;
        justify-content: center;
    }

    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        top: auto;
        left: auto;
        margin: 0 -50px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .ecommerce-hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .process-timeline::before {
        left: 40px;
    }

    .process-item {
        padding-left: 80px;
    }

    .process-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .ecommerce-hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-item {
        padding-left: 60px;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .process-content {
        padding: 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* Space-themed Button Styles */
.btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn strong {
    position: relative;
    z-index: 2;
}

#container-stars {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    top: 0;
    left: 0;
}

#stars {
    position: relative;
    background: transparent;
    width: 200rem;
    height: 200rem;
    animation: animStarRotate 90s linear infinite;
}

#stars::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
}

#glow {
    position: absolute;
    display: flex;
    width: 12rem;
}

.circle {
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: pulse 4s ease infinite;
    margin: 0 4px;
}

.circle:nth-of-type(1) {
    background: rgba(134, 255, 103, 0.636);
}

.circle:nth-of-type(2) {
    background: rgba(64, 156, 255, 0.704);
}

@keyframes animStarRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}