/* ================================
   E-COMMERCE PAGE - MODERN DESIGN
   ================================ */

:root {
    --ecommerce-primary: #000000;
    --ecommerce-secondary: #00FFFF;
    --ecommerce-white: #FFFFFF;
    --ecommerce-dark: #0a0a0a;
    --ecommerce-gray: #1a1a1a;
    --ecommerce-accent: #00C3FF;
}

/* ================================
   ANIMATED BACKGROUND
   ================================ */
.ecommerce-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

#ecommerceParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb:nth-child(1) {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--ecommerce-secondary), transparent);
    top: -250px;
    left: -250px;
    animation-duration: 25s;
}

.orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00cccc, transparent);
    bottom: -200px;
    right: -200px;
    animation-duration: 30s;
    animation-delay: -10s;
}

.orb:nth-child(3) {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--ecommerce-accent), transparent);
    top: 50%;
    left: 50%;
    animation-duration: 35s;
    animation-delay: -15s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
    }

    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

/* ================================
   HERO SECTION
   ================================ */
.ecommerce-hero {
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 0 rgba(0, 255, 255, 0.2);
    }
}

.hero-badge i {
    color: var(--ecommerce-secondary);
    font-size: 1.2rem;
}

.hero-badge span {
    color: var(--ecommerce-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--ecommerce-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--ecommerce-secondary) 0%, var(--ecommerce-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    margin-bottom: 15px;
}

.stat-icon i {
    color: var(--ecommerce-secondary);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ecommerce-secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--ecommerce-secondary) 0%, var(--ecommerce-accent) 100%);
    color: #000000;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
}

.btn-primary.glow-effect {
    animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 5px 40px rgba(0, 255, 255, 0.6);
    }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: transparent;
    color: var(--ecommerce-white);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--ecommerce-secondary);
    transform: translateY(-2px);
}

/* ================================
   FEATURES SECTION
   ================================ */
.ecommerce-features-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 30px;
    color: var(--ecommerce-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ecommerce-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   E-COMMERCE GRID
   ================================ */
.ecommerce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.grid-item {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(0, 195, 255, 0.02) 100%);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.grid-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.grid-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.grid-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .grid-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 255, 255, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 4rem;
    color: var(--ecommerce-secondary);
}

.grid-content {
    padding: 40px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--ecommerce-secondary);
}

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

.grid-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--ecommerce-secondary);
    font-size: 0.9rem;
}

/* ================================
   CAPABILITIES BANNER
   ================================ */
.capabilities-banner {
    padding: 80px 0;
    position: relative;
}

.banner-content {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 195, 255, 0.05) 100%);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 25px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    animation: bannerPulse 8s ease-in-out infinite;
}

@keyframes bannerPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.banner-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.banner-icon i {
    font-size: 3rem;
    color: var(--ecommerce-secondary);
}

.banner-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.banner-text h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ecommerce-white);
    margin-bottom: 15px;
}

.banner-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.banner-cta {
    position: relative;
    z-index: 1;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    background: linear-gradient(135deg, var(--ecommerce-secondary) 0%, var(--ecommerce-accent) 100%);
    color: #000000;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
}

/* ================================
   PROCESS SECTION
   ================================ */
.process-section {
    padding: 100px 0;
    position: relative;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.process-step {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.25);
    border-radius: 20px;
    padding: 0;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Remove the weird vertical line from services.css */
.process-step::after {
    display: none !important;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.25);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ecommerce-secondary) 0%, var(--ecommerce-accent) 100%);
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #000000;
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
    z-index: 2;
}

.step-content {
    padding: 35px 30px 30px 30px;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: rgba(15, 25, 25, 0.9);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    margin-bottom: 20px;
    margin-top: 15px;
    flex-shrink: 0;
}

.step-icon i {
    font-size: 1.8rem;
    color: var(--ecommerce-secondary);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ecommerce-white);
    margin-bottom: 15px;
    line-height: 1.3;
    flex-shrink: 0;
}

.step-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 0 0 auto;
    min-height: 85px;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.step-features span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(15, 30, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-features span:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.35);
    transform: translateX(5px);
}

.step-features i {
    color: var(--ecommerce-secondary);
    font-size: 0.75rem;
}

/* ================================
   TECH STACK SECTION
   ================================ */
.tech-stack-section {
    padding: 100px 0;
    position: relative;
}

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

.tech-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 195, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
}

.tech-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card:hover .tech-glow {
    opacity: 1;
}

.tech-icon {
    font-size: 3rem;
    color: var(--ecommerce-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tech-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ecommerce-white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.tech-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ================================
   CTA SECTION
   ================================ */
.ecommerce-cta {
    padding: 100px 0;
    position: relative;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 195, 255, 0.05) 100%);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 30px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaPulse 10s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 25px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-icon i {
    font-size: 3rem;
    color: var(--ecommerce-secondary);
}

.cta-text {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ecommerce-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.cta-note i {
    color: var(--ecommerce-secondary);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1200px) {
    .ecommerce-grid {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .banner-text h3 {
        font-size: 1.8rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-content {
        padding: 30px 25px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        top: -12px;
        left: 20px;
    }

    .step-icon {
        width: 55px;
        height: 55px;
    }

    .step-icon i {
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .cta-content {
        padding: 50px 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .grid-image-wrapper {
        height: 250px;
    }

    .grid-content {
        padding: 30px;
    }

    .banner-content {
        padding: 30px 20px;
    }

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