/* --- E-com Hero Section --- */
.ecom-hero-universe {
    height: 100vh;
    background: #050505;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center; justify-content: center;
}

/* 3. The 3D Cube Animation */
.cube-grid-container {
    position: absolute;
    width: 300px; height: 300px;
    perspective: 1000px;
    z-index: 1;
}

.cube-core {
    width: 100%; height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}

.face {
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(160, 32, 240, 0.05);
    border: 1px solid rgba(160, 32, 240, 0.4);
    box-shadow: inset 0 0 20px rgba(160, 32, 240, 0.2);
}

/* Face Orientations */
.front  { transform: translateZ(150px); }
.back   { transform: rotateY(180deg) translateZ(150px); }
.right  { transform: rotateY(90deg) translateZ(150px); }
.left   { transform: rotateY(-90deg) translateZ(150px); }
.top    { transform: rotateX(90deg) translateZ(150px); }
.bottom { transform: rotateX(-90deg) translateZ(150px); }

@keyframes rotateCube {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

/* --- Content Styling --- */
.ecom-content { text-align: center; z-index: 10; position: relative; }

.status-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    padding: 8px 20px;
    display: inline-block;
    border-radius: 50px;
}

.pulse-green { color: #00ff88; animation: blink 1s infinite; margin-right: 8px; }
@keyframes blink { 50% { opacity: 0.3; } }

.ecom-title {
    font-family: 'Audiowide', cursive;
    font-size: 5rem;
    color: white;
    line-height: 1;
}

.purple-glow {
    color: var(--accent-purple);
    text-shadow: 0 0 30px rgba(160, 32, 240, 0.6);
}

.ecom-lead {
    max-width: 600px;
    margin: 25px auto;
    font-family: 'Space Mono', monospace;
    color: #888;
    line-height: 1.8;
}

.ecom-platform-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.ecom-platform-tags span {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    border: 1px solid #333;
    padding: 5px 15px;
    color: #666;
    letter-spacing: 1px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .ecom-title { font-size: 2.8rem; }
    .cube-grid-container {
        width: 200px; height: 200px;
        opacity: 0.3; /* Fade back so text is clear */
    }
    .face { width: 200px; height: 200px; }
    .front { transform: translateZ(100px); }
    .back { transform: rotateY(180deg) translateZ(100px); }
    .right { transform: rotateY(90deg) translateZ(100px); }
    .left { transform: rotateY(-90deg) translateZ(100px); }
    .top { transform: rotateX(90deg) translateZ(100px); }
    .bottom { transform: rotateX(-90deg) translateZ(100px); }
    
    .ecom-hero-universe { height: auto; padding: 120px 0; }
}

/* --- E-com Backend (White Theme) --- */
.ecom-backend-section {
    padding: 120px 0;
    background-color: #ffffff; /* 70% White */
}

.backend-title {
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    color: #111; /* 25% Black */
    margin-bottom: 20px;
}

.backend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.backend-card {
    background: #f9f9f9;
    padding: 50px 35px;
    border-radius: 0 40px 0 40px; /* Matching the VA page for Brand Consistency */
    border: 1px solid #eee;
    position: relative;
    transition: 0.4s ease;
}

.backend-card:hover {
    background: #fff;
    border-color: var(--accent-purple);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    transform: translateY(-10px);
}

.card-number {
    position: absolute;
    top: 20px; right: 30px;
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    color: rgba(160, 32, 240, 0.05); /* Subtle ghost number */
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-purple); /* 5% Purple */
    margin-bottom: 25px;
}

.backend-card h3 {
    font-family: 'Audiowide', cursive;
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 15px;
}

.backend-card p {
    font-family: 'Space Mono', monospace;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.feature-list li {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .backend-grid { grid-template-columns: 1fr; gap: 40px; }
    .backend-title { font-size: 2.2rem; }
}

/* --- Sync Engine Section --- */
/* SECTION */
/* --- Rebuilt Sync Engine --- */
.ecom-sync-rebuilt {
    padding: 120px 0;
    background: #000000;
    color: #ffffff; /* Global text visibility */
    overflow: hidden;
}

.sync-engine-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    min-height: 400px;
    position: relative;
}

.engine-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* --- Source Side --- */
.sku-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-purple);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(160, 32, 240, 0.2);
}
.sku-card i { font-size: 2rem; color: #fff; margin-bottom: 10px; }
.sku-card p { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--accent-purple); margin: 0; }

/* --- Core Circle --- */
.sync-core-circle {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: 'Audiowide', cursive;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 0 40px var(--accent-purple);
    z-index: 5;
}

/* --- SVG Lines --- */
.sync-svg-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.line-in, .line-out {
    fill: none;
    stroke: var(--accent-purple);
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: dashStream 2s linear infinite;
    opacity: 0.5;
}

@keyframes dashStream {
    to { stroke-dashoffset: -20; }
}

/* --- Platform Items --- */
.platforms-side {
    align-items: flex-start;
    gap: 50px;
    padding-left: 50px;
}

.plat-item {
    font-family: 'Audiowide', cursive;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    transition: 0.3s;
}

.plat-item i { color: var(--accent-purple); font-size: 1.5rem; }
.plat-item:hover { transform: translateX(10px); color: var(--accent-purple); }

/* --- RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .sync-engine-wrapper {
        flex-direction: column;
        gap: 60px;
        height: auto;
    }
    
    .sync-svg-lines { display: none; } /* Remove lines on mobile for clarity */
    
    .platforms-side {
        padding-left: 0;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sync-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .plat-item { font-size: 0.8rem; }
}
.ecom-cta-section {
    padding: 100px 0 150px;
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
}

.cta-terminal {
    background: #f1e5e5;
    border: 1px solid rgba(160, 32, 240, 0.3);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.terminal-header {
    background: rgba(86, 88, 88, 0.1);
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(160, 32, 240, 0.2);
}

.terminal-header .dots {
    display: flex;
    gap: 8px;
}

.terminal-header .dots span {
    width: 10px; height: 10px; border-radius: 50%; background: rgba(243, 8, 8, 0.2);
}

.terminal-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-purple);
    letter-spacing: 2px;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Live Status Pulse */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(40, 167, 69, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.pulse {
    width: 8px; height: 8px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.status-text {
    color: #28a745;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: bold;
}

.cta-title {
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    color: rgb(8, 8, 8);
    margin-bottom: 20px;
}

.cta-desc {
    font-family: 'Space Mono', monospace;
    color: #0f0f0f;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Calendly Button */
.calendly-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    color: black;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Audiowide', cursive;
    font-size: 1.1rem;
    transition: 0.4s;
    border: 2px solid white;
}

.calendly-btn:hover {
    background: transparent;
    color: rgb(17, 17, 17);
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
    transform: translateY(-5px);
}

.btn-icon { margin-left: 15px; color: var(--accent-purple); }

.timezone-note {
    margin-top: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #555;
}

/* Decorative Background Glow */
.cta-glow-bg {
    position: absolute;
    bottom: -50%; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 300px;
    background: var(--accent-purple);
    filter: blur(120px);
    opacity: 0.2;
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cta-title { font-size: 2rem; }
    .cta-content { padding: 40px 20px; }
}