/* ============================================
   INDUSTRY SYSTEMS — shared between home + products
   ============================================ */
.hp-systems-section {
    background:
        radial-gradient(ellipse at top, rgba(124,58,237,0.08), transparent 60%),
        #06070d;
}
.hp-systems-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
@media (max-width: 1100px) { .hp-systems-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 700px)  { .hp-systems-grid { grid-template-columns: 1fr; } }
.hp-system-card {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #0f0a20, #0a0815);
    border: 1px solid rgba(124,58,237,0.18);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}
.hp-system-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34,211,238,0.45);
    box-shadow: 0 30px 60px rgba(124,58,237,0.18);
}

/* Mockup container — compact */
.hp-system-mockup {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #15102a, #0a0815);
    border-bottom: 1px solid rgba(124,58,237,0.2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    position: relative;
    font-family: ui-sans-serif, system-ui, sans-serif;
}
.hp-mock-header {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(124,58,237,0.15);
    font-size: 10px;
    color: #a8a4d0;
}
.hp-mock-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hp-mock-dot-r { background: #ef4444; }
.hp-mock-dot-y { background: #f59e0b; }
.hp-mock-dot-g { background: #22c55e; }
.hp-mock-title { margin-left: 6px; color: #d4cef0; font-weight: 500; font-size: 10px; letter-spacing: 0.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-mock-body { display: flex; flex-direction: column; gap: 6px; flex: 1; overflow: hidden; }

/* Medical full block colors — compact */
.hp-mock-appt {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 9.5px;
    color: #fff;
    background: linear-gradient(135deg, #4c1d95, #5b21b6);
}
.hp-mock-time { font-family: ui-monospace, monospace; color: rgba(255,255,255,0.9); font-weight: 700; font-size: 9px; }
.hp-mock-name { color: #fff; font-size: 9.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-mock-status { font-size: 8px; color: #fff; padding: 1px 6px; border-radius: 8px; background: rgba(0,0,0,0.3); font-weight: 600; }
.hp-mock-status-done { background: rgba(255,255,255,0.25); }
.hp-mock-status-now  { background: rgba(255,255,255,0.3); animation: hp-pulse-glow 2s ease-in-out infinite; }
.hp-mock-status-ai   { background: rgba(255,255,255,0.25); }
.hp-mock-appt-done { background: linear-gradient(135deg, #14532d, #15803d); opacity: 0.9; }
.hp-mock-appt-now  { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.hp-mock-appt-ai   { background: linear-gradient(135deg, #6d28d9, #a78bfa); }

/* Courier */
.hp-mock-map { flex: 1; border-radius: 8px; overflow: hidden; background: #0a0815; border: 1px solid rgba(124,58,237,0.2); position: relative; }
.hp-mock-map svg { display: block; }
.hp-mock-driver { transform-origin: 140px 80px; animation: hp-pulse-glow 2.5s ease-in-out infinite; }
.hp-mock-foot { display: flex; justify-content: space-between; font-size: 10px; color: #a8a4d0; padding-top: 4px; }
.hp-mock-driver-stat { display: flex; align-items: center; gap: 4px; }

/* Hotel calendar */
.hp-mock-cal { flex: 1; display: flex; flex-direction: column; gap: 5px; padding-top: 4px; }
.hp-mock-cal-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 6px; }
.hp-mock-cal-room { font-size: 10px; color: #a8a4d0; font-weight: 600; }
.hp-mock-cal-track { position: relative; height: 20px; background: rgba(124,58,237,0.06); border-radius: 4px; overflow: hidden; }
.hp-mock-cal-block { position: absolute; top: 1px; bottom: 1px; border-radius: 3px; font-size: 9px; color: #fff; padding: 0 6px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.hp-mock-block-booking { background: linear-gradient(135deg, #003580, #00569f); }
.hp-mock-block-airbnb  { background: linear-gradient(135deg, #ff5a5f, #c8424b); }
.hp-mock-block-expedia { background: linear-gradient(135deg, #fcb900, #f49f00); color: #1a1530; }
.hp-mock-block-direct  { background: linear-gradient(135deg, #7c3aed, #06b6d4); }

/* Restaurant */
.hp-mock-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.hp-mock-table { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(124,58,237,0.06); border: 1px dashed rgba(124,58,237,0.25); border-radius: 8px; padding: 8px; font-size: 10px; gap: 2px; }
.hp-mock-table-num { color: #a78bfa; font-weight: 700; font-size: 12px; }
.hp-mock-table-bill { color: #7f7d99; font-size: 9.5px; }
.hp-mock-table-active { background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,211,238,0.1)); border: 1px solid rgba(34,197,94,0.4); border-style: solid; }
.hp-mock-table-active .hp-mock-table-bill { color: #22c55e; font-weight: 700; }
.hp-mock-table-paying { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05)); border: 1px solid rgba(245,158,11,0.4); border-style: solid; animation: hp-pulse-glow 2s ease-in-out infinite; }
.hp-mock-table-paying .hp-mock-table-bill { color: #f59e0b; }
.hp-mock-table-ordering { background: linear-gradient(135deg, rgba(167,139,250,0.18), rgba(34,211,238,0.08)); border: 1px solid rgba(167,139,250,0.45); border-style: solid; }
.hp-mock-table-ordering .hp-mock-table-bill { color: #a78bfa; }
.hp-mock-orderline { font-size: 10px; color: #d4cef0; background: rgba(0,0,0,0.4); border-radius: 6px; padding: 6px 10px; display: flex; align-items: center; gap: 6px; font-family: ui-monospace, monospace; }

/* Warehouse */
.hp-mock-pallets { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 4px 0; }
.hp-mock-pallet-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.hp-mock-pallet { height: 14px; border-radius: 2px; background: rgba(124,58,237,0.15); }
.hp-mock-pallet-full    { background: linear-gradient(180deg, #22c55e, #15803d); }
.hp-mock-pallet-partial { background: linear-gradient(180deg, #f59e0b, #b45309); }
.hp-mock-pallet-empty   { background: rgba(124,58,237,0.1); border: 1px dashed rgba(124,58,237,0.3); height: 12px; }
.hp-mock-pallet-locked  { background: linear-gradient(180deg, #ef4444, #991b1b); }

/* Salon */
.hp-mock-stylists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.hp-mock-stylist { background: rgba(124,58,237,0.08); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.hp-mock-stylist-name { font-size: 10px; font-weight: 700; color: #a78bfa; text-align: center; padding-bottom: 4px; border-bottom: 1px solid rgba(124,58,237,0.2); margin-bottom: 2px; }
.hp-mock-slot { font-size: 9px; padding: 4px 6px; border-radius: 3px; color: #fff; background: linear-gradient(135deg, #4c1d95, #5b21b6); font-weight: 500; }
.hp-mock-slot-busy { background: linear-gradient(135deg, #14532d, #16a34a); color: #fff; }
.hp-mock-slot-open { background: linear-gradient(135deg, #92400e, #f59e0b); color: #fff; border: 1px dashed rgba(255,255,255,0.4); }

/* Real estate */
.hp-mock-pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.hp-mock-pipe-col { display: flex; flex-direction: column; gap: 4px; background: rgba(124,58,237,0.06); border-radius: 6px; padding: 6px; }
.hp-mock-pipe-head { font-size: 9.5px; font-weight: 700; color: #a78bfa; padding-bottom: 4px; border-bottom: 1px solid rgba(124,58,237,0.15); }
.hp-mock-pipe-card { background: linear-gradient(180deg, #1a1530, #15102a); border: 1px solid rgba(124,58,237,0.2); border-radius: 4px; padding: 4px 6px; font-size: 9px; color: #d4cef0; }
.hp-mock-pipe-hot { border-color: rgba(239,68,68,0.5); background: linear-gradient(180deg, rgba(239,68,68,0.12), #15102a); }
.hp-mock-pipe-won { border-color: rgba(34,197,94,0.5); background: linear-gradient(180deg, rgba(34,197,94,0.15), #15102a); color: #22c55e; font-weight: 600; }

/* Field service — compact */
.hp-mock-tickets { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hp-mock-ticket { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 6px; padding: 5px 8px; background: linear-gradient(135deg, #4c1d95, #5b21b6); border-radius: 5px; font-size: 9px; color: #fff; }
.hp-mock-ticket-id { font-family: ui-monospace, monospace; color: rgba(255,255,255,0.7); font-size: 8px; }
.hp-mock-ticket-title { color: #fff; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-mock-ticket-tag { font-size: 7.5px; padding: 1px 6px; border-radius: 8px; background: rgba(255,255,255,0.25); color: #fff; text-transform: uppercase; letter-spacing: 0.3px; font-weight: 600; }
.hp-mock-ticket-urgent { background: linear-gradient(135deg, #b91c1c, #ef4444); }
.hp-mock-ticket-urgent .hp-mock-ticket-tag { background: rgba(255,255,255,0.3); animation: hp-pulse-glow 1.5s ease-in-out infinite; }
.hp-mock-ticket-done { background: linear-gradient(135deg, #14532d, #15803d); opacity: 0.85; }
.hp-mock-tag-progress { background: rgba(245,158,11,0.85); color: #fff; }
.hp-mock-tag-done { background: rgba(34,197,94,0.85); color: #fff; }

/* System body — compact */
.hp-system-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.hp-system-body h3 { font-size: 1rem; font-weight: 700; color: #fafafa; margin-bottom: 8px; letter-spacing: -0.01em; line-height: 1.3; }
.hp-system-body p { color: #a1a1aa; line-height: 1.55; font-size: 0.85rem; margin-bottom: 12px; flex: 1; }
.hp-system-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hp-system-tag { font-size: 0.65rem; color: #a78bfa; background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25); padding: 3px 8px; border-radius: 50px; font-weight: 500; }

/* Bottom CTA */
.hp-systems-cta { margin-top: 56px; text-align: center; padding: 36px 28px; background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(34,211,238,0.05)); border: 1px solid rgba(124,58,237,0.25); border-radius: 18px; }
.hp-systems-cta p { color: #a8a4d0; font-size: 1rem; margin-bottom: 8px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hp-systems-cta-strong { color: #fff !important; font-size: 1.05rem !important; margin-bottom: 22px !important; }
.hp-systems-cta-strong strong { background: linear-gradient(135deg, #7c3aed, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Animations */
@keyframes hp-pulse-glow { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.05); } }
@keyframes hp-driver-move {
    0% { transform: translate(0, 0); }
    33% { transform: translate(40px, -10px); }
    66% { transform: translate(80px, 0px); }
    100% { transform: translate(100px, 25px); }
}
.hp-system-mockup-courier .hp-mock-driver { animation: hp-driver-move 6s ease-in-out infinite alternate; }

@media (max-width: 900px) {
    .hp-systems-grid { grid-template-columns: 1fr; }
}
