/* ═══════════════════════════════════════════════════════════
   E-Commerce Development — Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Value Point Cards ───────────────────────────────────── */
.ecom-value-point {
    transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.ecom-value-point:hover {
    border-color: #c41e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(196, 30, 30, 0.08);
}

/* ── Differentiator Box ──────────────────────────────────── */
.ecom-differentiator {
    background: rgba(196, 30, 30, 0.06);
    border: 1px solid rgba(196, 30, 30, 0.25);
    border-left: 4px solid #c41e1e;
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
}

/* ── Page Cards (Included Pages Grid) ────────────────────── */
.ecom-page-card {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 4px;
    padding: 1.25rem;
    transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.ecom-page-card:hover {
    border-color: #c41e1e;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(196, 30, 30, 0.1);
}

/* ── Integration Pills ───────────────────────────────────── */
.ecom-tech-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    border: 2px solid #1f1f1f;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    min-width: 200px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ecom-tech-pill:hover {
    border-color: #c41e1e;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(196, 30, 30, 0.12);
}

.ecom-tech-icon {
    width: 48px;
    height: 48px;
    background: rgba(196, 30, 30, 0.08);
    border: 1px solid rgba(196, 30, 30, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Tier Card ───────────────────────────────────────────── */
.ecom-tier-card {
    transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.ecom-tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(196, 30, 30, 0.2);
}

/* ── Delivery Badge ──────────────────────────────────────── */
.ecom-delivery-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #1f1f1f;
    border-radius: 4px;
    width: fit-content;
}

/* ── Add-on Cards ────────────────────────────────────────── */
.ecom-addon-card {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 4px;
    padding: 1.25rem;
    transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.ecom-addon-card:hover {
    border-color: #c41e1e;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(196, 30, 30, 0.1);
}

/* ── Development Process Step Cards ──────────────────────── */
.ecom-step-card {
    transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.ecom-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(196, 30, 30, 0.08);
}

/* ── Price Numbers – subtle shimmer ──────────────────────── */
.ecom-tier-card .text-4xl.font-black {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ecom-price-shimmer 6s ease-in-out infinite;
}

@keyframes ecom-price-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ── CTA Buttons in pricing ──────────────────────────────── */
.ecom-tier-card a.block {
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ecom-tier-card a.block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ── CTA section buttons ─────────────────────────────────── */
#contact a {
    transition: all 0.25s ease;
}

#contact a:hover {
    transform: translateY(-2px);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Stack integration pills */
    .ecom-tech-pill {
        min-width: 0;
        flex: 1 1 100%;
    }

    /* Pricing card reduce gap */
    #pricing .grid {
        gap: 1.25rem;
    }

    /* Step cards single column */
    .max-w-4xl .grid {
        gap: 1rem;
    }

    /* Reduce section padding on mobile */
    section.py-16 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    section.py-16.md\:py-20,
    section.py-16.md\:py-24 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    /* Price text smaller on very small screens */
    .ecom-tier-card .text-4xl.font-black {
        font-size: 2rem;
    }

    /* Tighter card padding */
    .ecom-tier-card .px-7 {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Tech pills compact */
    .ecom-tech-pill {
        padding: 1rem;
        gap: 0.75rem;
    }

    .ecom-tech-icon {
        width: 40px;
        height: 40px;
    }

    /* Add-on cards compact */
    .ecom-addon-card {
        padding: 1rem;
    }
}
