/* ==========================================================================
   ERP STACK PAGE — mani-erp-stack-ltr.css
   Components: erp-platform-card, pricing, architecture, tech-tags,
               btn-validate, region-badge, card-icon, control-panel
   ========================================================================== */

/* --- ERP PLATFORM CARD -------------------------------------------------- */
.erp-platform-card {
    background: #fff;
    border: 1px solid var(--pg-border, #e2e8f0);
    border-radius: var(--pg-radius, 8px);
    padding: 36px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.erp-platform-card:hover {
    border-color: var(--pg-green, #059669);
    border-style: dashed;
}

/* --- ERP ICON ----------------------------------------------------------- */
.erp-icon {
    width: 64px;
    height: 64px;
    background: rgba(5, 150, 105, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    color: var(--pg-green, #059669);
    font-size: 1.8rem;
}

/* --- REGION BADGE ------------------------------------------------------- */
.region-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pg-navy, #0f172a);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

/* --- ARCHITECTURE CARD -------------------------------------------------- */
.architecture-card {
    background: #fff;
    border: 1px solid var(--pg-border, #e2e8f0);
    border-radius: var(--pg-radius, 8px);
    padding: 36px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.architecture-card:hover {
    border-color: var(--pg-green, #059669);
    border-style: dashed;
}

/* --- CARD ICON ---------------------------------------------------------- */
.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    color: var(--pg-green, #059669);
    font-size: 1.4rem;
}

/* --- ARCHITECTURE LABEL / TITLE / DESC ---------------------------------- */
.architecture-label {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--pg-green, #059669);
    margin-bottom: 0.6rem;
}

.architecture-title {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--pg-navy, #0f172a);
    letter-spacing: -0.02em;
}

.architecture-desc {
    color: var(--pg-muted, #475569);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- TECH STACK & TAGS -------------------------------------------------- */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.8rem;
}

.tech-tag {
    padding: 3px 10px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pg-navy, #0f172a);
}

/* --- PRICING CARD ------------------------------------------------------- */
.pricing-card {
    background: #fff;
    border: 1px solid var(--pg-border, #e2e8f0);
    border-radius: var(--pg-radius, 8px);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--pg-green, #059669);
    border-style: dashed;
}

.pricing-card .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--pg-navy, #0f172a);
    margin: 0.8rem 0;
}

.pricing-card .price span {
    font-size: 0.95rem;
    color: var(--pg-muted, #475569);
    font-weight: 500;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.pricing-feature i {
    color: var(--pg-green, #059669);
    margin-right: 8px;
    flex-shrink: 0;
}

/* --- CONTROL PANEL ------------------------------------------------------ */
.control-panel {
    background: #fff;
    border: 1px solid var(--pg-border, #e2e8f0);
    border-radius: var(--pg-radius, 8px);
    padding: 28px;
    margin-top: 20px;
}

.control-panel:hover {
    border-color: var(--pg-green, #059669);
    border-style: dashed;
}

/* --- INPUT FIELD -------------------------------------------------------- */
.input-field {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--pg-border, #e2e8f0);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin-top: 6px;
    transition: 0.25s;
    background: #f8fafc;
}

.input-field:focus {
    outline: none;
    border-color: var(--pg-green, #059669);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

/* --- VALIDATE BUTTON ---------------------------------------------------- */
.btn-validate {
    display: block;
    width: auto;
    margin: 16px auto 0;
    text-align: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.12em;
    transition: 0.3s;
    cursor: pointer;
}

.btn-validate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.2);
    color: #fff;
}

/* --- CARD FOOTER BUTTONS ------------------------------------------------ */
.card-footer-buttons {
    margin-top: auto;
    padding-top: 16px;
}

/* --- VELO TAG (reused from home) ---------------------------------------- */
.velo-tag {
    font-size: 0.62rem;
    font-weight: 900;
    color: var(--pg-green, #059669);
    background: rgba(5, 150, 105, 0.07);
    padding: 4px 8px;
    border-radius: var(--pg-radius, 8px);
    border: 1px solid rgba(5, 150, 105, 0.18);
    margin-left: 10px;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.velo-tag i {
    font-size: 0.75rem;
    animation: erp-pulse 2s infinite;
}

@keyframes erp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* --- DARK BAR (whitepaper cross-link) ----------------------------------- */
.erp-dark-bar {
    background: var(--pg-navy, #0f172a);
    color: #fff;
    padding: clamp(36px, 5vw, 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--pg-radius, 8px);
    margin-top: var(--pg-section-gap, 80px);
    gap: 30px;
}

.erp-dark-bar h3,
.erp-dark-bar h4 {
    color: #07be87;
}

.erp-dark-bar p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- RESPONSIVE --------------------------------------------------------- */
@media (max-width: 991px) {
    .erp-dark-bar {
        flex-direction: column;
        text-align: center;
    }
}
